1s autopkgtest [04:51:21]: starting date and time: 2025-02-22 04:51:21+0000 1s autopkgtest [04:51:21]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 1s autopkgtest [04:51:21]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.sbti55pn/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --apt-pocket=proposed=src:glib2.0 --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=glib2.0/2.83.4-1 -- lxd -r lxd-armhf-10.145.243.142 lxd-armhf-10.145.243.142:autopkgtest/ubuntu/plucky/armhf 52s autopkgtest [04:52:12]: testbed dpkg architecture: armhf 55s autopkgtest [04:52:15]: testbed apt version: 2.9.14ubuntu1 59s autopkgtest [04:52:19]: @@@@@@@@@@@@@@@@@@@@ test bed setup 61s autopkgtest [04:52:21]: testbed release detected to be: None 69s autopkgtest [04:52:29]: updating testbed package index (apt update) 72s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 72s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [249 kB] 72s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [110 kB] 72s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [110 kB] 72s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB] 72s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB] 72s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 72s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB] 72s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [125 kB] 72s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Components [26.6 kB] 72s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [760 B] 72s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Components [216 B] 72s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [424 kB] 72s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Components [213 kB] 72s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [1796 B] 72s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Components [1076 B] 72s Get:17 http://ftpmaster.internal/ubuntu plucky/restricted Sources [16.3 kB] 72s Get:18 http://ftpmaster.internal/ubuntu plucky/main Sources [1384 kB] 72s Get:19 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 73s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [298 kB] 73s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1370 kB] 73s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf Components [401 kB] 73s Get:23 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2900 B] 73s Get:24 http://ftpmaster.internal/ubuntu plucky/restricted armhf Components [196 B] 73s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.1 MB] 73s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf Components [3953 kB] 74s Get:27 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 74s Get:28 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Components [39.8 kB] 74s Get:29 http://ftpmaster.internal/ubuntu plucky-updates/main armhf Components [208 B] 74s Get:30 http://ftpmaster.internal/ubuntu plucky-updates/restricted armhf Components [212 B] 74s Get:31 http://ftpmaster.internal/ubuntu plucky-updates/universe armhf Components [212 B] 74s Get:32 http://ftpmaster.internal/ubuntu plucky-updates/multiverse armhf Components [212 B] 74s Get:33 http://ftpmaster.internal/ubuntu plucky-security/main armhf Components [204 B] 74s Get:34 http://ftpmaster.internal/ubuntu plucky-security/restricted armhf Components [208 B] 74s Get:35 http://ftpmaster.internal/ubuntu plucky-security/universe armhf Components [208 B] 74s Get:36 http://ftpmaster.internal/ubuntu plucky-security/multiverse armhf Components [208 B] 80s Fetched 45.7 MB in 7s (6923 kB/s) 82s Reading package lists... 88s autopkgtest [04:52:48]: upgrading testbed (apt dist-upgrade and autopurge) 90s Reading package lists... 90s Building dependency tree... 90s Reading state information... 91s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 91s Starting 2 pkgProblemResolver with broken count: 0 91s Done 92s Entering ResolveByKeep 92s 93s The following packages were automatically installed and are no longer required: 93s libapt-pkg6.0t64 libassuan0 libicu74 libnsl2 libpython3.12-minimal 93s libpython3.12-stdlib libunwind8 linux-headers-6.11.0-8 93s linux-headers-6.11.0-8-generic python3.12 python3.12-minimal 93s Use 'apt autoremove' to remove them. 93s The following NEW packages will be installed: 93s gcc-15-base libapt-pkg7.0 libicu76 libjemalloc2 libpython3.13-minimal 93s libpython3.13-stdlib linux-headers-6.12.0-15 linux-headers-6.12.0-15-generic 93s login.defs openssl-provider-legacy python3-bcrypt python3.13 93s python3.13-minimal 93s The following packages will be upgraded: 93s apparmor apport apport-core-dump-handler appstream apt apt-utils base-files 93s base-passwd bash bash-completion bind9-dnsutils bind9-host bind9-libs 93s binutils binutils-arm-linux-gnueabihf binutils-common bsdextrautils bsdutils 93s btrfs-progs busybox-initramfs busybox-static ca-certificates cloud-init 93s cloud-init-base console-setup console-setup-linux coreutils cron 93s cron-daemon-common cryptsetup-bin curl dash dbus dbus-bin dbus-daemon 93s dbus-session-bus-common dbus-system-bus-common dbus-user-session dhcpcd-base 93s diffutils dirmngr distro-info dmsetup dpkg dpkg-dev dracut-install e2fsprogs 93s e2fsprogs-l10n ed eject ethtool fdisk fwupd gcc-14-base gettext-base 93s gir1.2-girepository-2.0 gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg 93s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 93s groff-base gzip htop ibverbs-providers inetutils-telnet init 93s init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core 93s iproute2 iptables iputils-ping iputils-tracepath kbd keyboard-configuration 93s keyboxd kpartx krb5-locales libapparmor1 libappstream5 libapt-pkg6.0t64 93s libarchive13t64 libatomic1 libbinutils libblkid1 libblockdev-crypto3 93s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 93s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 libbpf1 93s libc-bin libc6 libcap-ng0 libcbor0.10 libcom-err2 libcrypt1 libcryptsetup12 93s libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 libdbus-1-3 93s libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libedit2 libext2fs2t64 93s libfdisk1 libffi8 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 93s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 93s libgnutls30t64 libgpg-error-l10n libgpg-error0 libgpgme11t64 93s libgssapi-krb5-2 libgstreamer1.0-0 libgudev-1.0-0 libhogweed6t64 libibverbs1 93s libicu74 libip4tc2 libip6tc2 libjson-glib-1.0-0 libjson-glib-1.0-common 93s libk5crypto3 libkrb5-3 libkrb5support0 libldap-common libldap2 liblsof0 93s liblz4-1 libmaxminddb0 libmount1 libncurses6 libncursesw6 libnetplan1 93s libnettle8t64 libnewt0.52 libnftables1 libnftnl11 libnpth0t64 libnspr4 93s libnss-systemd libnss3 libnvme1t64 libp11-kit0 libpackagekit-glib2-18 93s libpam-systemd libpcap0.8t64 libperl5.40 libplymouth5 libpng16-16t64 93s libpolkit-agent-1-0 libpolkit-gobject-1-0 libprotobuf-c1 libpython3-stdlib 93s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 93s libreadline8t64 libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 93s libsemanage-common libsemanage2 libsframe1 libsmartcols1 libss2 libssl3t64 93s libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtinfo6 libtraceevent1 93s libtraceevent1-plugin libudev1 libudisks2-0 libunistring5 liburcu8t64 93s libusb-1.0-0 libuuid1 libvolume-key1 libwrap0 libxdmcp6 libxkbcommon0 93s libxml2 libxtables12 libxxhash0 libyaml-0-2 libzstd1 linux-headers-generic 93s locales login logsave lshw lsof lto-disabled-list make mawk motd-news-config 93s mount multipath-tools nano ncurses-base ncurses-bin ncurses-term 93s netcat-openbsd netplan-generator netplan.io nftables openssl packagekit 93s packagekit-tools passwd pci.ids perl perl-base perl-modules-5.40 93s pinentry-curses plymouth plymouth-theme-ubuntu-text polkitd pollinate 93s powermgmt-base psmisc publicsuffix python-apt-common python-babel-localedata 93s python3 python3-apport python3-apt python3-attr python3-babel 93s python3-certifi python3-chardet python3-cryptography python3-distro-info 93s python3-gdbm python3-gi python3-idna python3-jinja2 python3-json-pointer 93s python3-jsonpatch python3-jsonschema python3-jwt python3-launchpadlib 93s python3-lazr.uri python3-minimal python3-more-itertools python3-netplan 93s python3-newt python3-oauthlib python3-openssl python3-pkg-resources 93s python3-problem-report python3-pygments python3-referencing python3-requests 93s python3-rich python3-setuptools python3-software-properties python3-urllib3 93s python3-wadllib python3.12 python3.12-gdbm python3.12-minimal 93s python3.13-gdbm readline-common rsync rsyslog software-properties-common 93s systemd systemd-cryptsetup systemd-resolved systemd-sysv systemd-timesyncd 93s sysvinit-utils tar telnet tmux tzdata ubuntu-minimal ubuntu-pro-client 93s ubuntu-pro-client-l10n ubuntu-standard ucf udev udisks2 ufw 93s unattended-upgrades usb.ids util-linux uuid-runtime vim-common vim-tiny 93s whiptail xauth xfsprogs xxd zstd 93s 323 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 93s Need to get 148 MB of archives. 93s After this operation, 204 MB of additional disk space will be used. 93s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf motd-news-config all 13.6ubuntu1 [5168 B] 93s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-15-base armhf 15-20250213-1ubuntu1 [53.2 kB] 93s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 15-20250213-1ubuntu1 [40.6 kB] 93s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 94s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt1 armhf 1:4.4.38-1 [91.7 kB] 94s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf base-files armhf 13.6ubuntu1 [75.3 kB] 94s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 94s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-14ubuntu1 [110 kB] 94s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf coreutils armhf 9.5-1ubuntu1 [1275 kB] 94s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf dash armhf 0.5.12-12ubuntu1 [87.4 kB] 94s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf diffutils armhf 1:3.10-2 [172 kB] 94s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libxxhash0 armhf 0.8.3-2 [30.8 kB] 94s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf liblz4-1 armhf 1.10.0-3 [57.2 kB] 94s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.1-1ubuntu1 [29.5 kB] 94s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.1-1ubuntu1 [1771 kB] 94s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libzstd1 armhf 1.5.6+dfsg-2 [266 kB] 94s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 15-20250213-1ubuntu1 [725 kB] 94s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257.2-3ubuntu1 [42.1 kB] 94s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-session-bus-common all 1.16.0-1ubuntu1 [53.1 kB] 94s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257.2-3ubuntu1 [11.9 kB] 94s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257.2-3ubuntu1 [238 kB] 94s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-user-session armhf 1.16.0-1ubuntu1 [9684 B] 94s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libapparmor1 armhf 4.1.0~beta5-0ubuntu5 [48.7 kB] 94s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 94s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 94s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-system-bus-common all 1.16.0-1ubuntu1 [54.3 kB] 94s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-bin armhf 1.16.0-1ubuntu1 [37.9 kB] 94s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf dbus armhf 1.16.0-1ubuntu1 [28.1 kB] 94s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-daemon armhf 1.16.0-1ubuntu1 [111 kB] 94s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libdbus-1-3 armhf 1.16.0-1ubuntu1 [162 kB] 94s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257.2-3ubuntu1 [315 kB] 94s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libncurses6 armhf 6.5+20250125-2 [88.8 kB] 94s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libncursesw6 armhf 6.5+20250125-2 [118 kB] 94s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libtinfo6 armhf 6.5+20250125-2 [91.9 kB] 94s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-14ubuntu1 [94.2 kB] 94s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-14ubuntu1 [63.4 kB] 94s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-14ubuntu1 [157 kB] 94s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-14ubuntu1 [169 kB] 94s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-14ubuntu1 [194 kB] 94s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-14ubuntu1 [137 kB] 94s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-14ubuntu1 [41.0 kB] 94s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-14ubuntu1 [1190 kB] 94s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-14ubuntu1 [63.7 kB] 94s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-14ubuntu1 [217 kB] 94s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-14ubuntu1 [158 kB] 94s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 94s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 94s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257.2-3ubuntu1 [126 kB] 94s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257.2-3ubuntu1 [2203 kB] 95s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257.2-3ubuntu1 [164 kB] 95s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257.2-3ubuntu1 [3028 kB] 95s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257.2-3ubuntu1 [1402 kB] 95s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257.2-3ubuntu1 [193 kB] 95s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libdevmapper1.02.1 armhf 2:1.02.201-1ubuntu1 [137 kB] 95s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf libcryptsetup12 armhf 2:2.7.5-1ubuntu2 [246 kB] 95s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257.2-3ubuntu1 [494 kB] 95s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.29 [1086 kB] 95s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 95s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg armhf 1.22.11ubuntu4 [1242 kB] 95s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf gzip armhf 1.13-1ubuntu2 [98.1 kB] 95s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-bin armhf 6.5+20250125-2 [179 kB] 95s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf perl-modules-5.40 all 5.40.1-2 [3217 kB] 95s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf libperl5.40 armhf 5.40.1-2 [4135 kB] 95s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf perl armhf 5.40.1-2 [262 kB] 95s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf perl-base armhf 5.40.1-2 [1667 kB] 95s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 95s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 95s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf init-system-helpers all 1.68 [39.0 kB] 95s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 95s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-base all 6.5+20250125-2 [25.8 kB] 95s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-term all 6.5+20250125-2 [276 kB] 95s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf kbd armhf 2.7.1-2ubuntu1 [214 kB] 95s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup-linux all 1.226ubuntu3 [1880 kB] 96s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup all 1.226ubuntu3 [110 kB] 96s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf keyboard-configuration all 1.226ubuntu3 [212 kB] 96s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf sysvinit-utils armhf 3.14-1ubuntu1 [35.1 kB] 96s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg7.0 armhf 2.9.30ubuntu1 [1067 kB] 96s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.30ubuntu1 [1392 kB] 96s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.30ubuntu1 [214 kB] 96s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 96s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 96s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 96s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu22 [87.5 kB] 96s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu22 [347 kB] 96s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu22 [242 kB] 96s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu22 [159 kB] 96s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu22 [237 kB] 96s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu22 [525 kB] 96s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu22 [116 kB] 96s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu22 [359 kB] 96s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu22 [111 kB] 96s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-2ubuntu2 [40.6 kB] 96s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf libnettle8t64 armhf 3.10.1-1 [188 kB] 96s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf libhogweed6t64 armhf 3.10.1-1 [188 kB] 96s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libffi8 armhf 3.4.7-1 [21.1 kB] 96s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libp11-kit0 armhf 0.25.5-2ubuntu3 [261 kB] 96s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtasn1-6 armhf 4.20.0-2 [38.2 kB] 96s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 96s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.9-2ubuntu2 [961 kB] 96s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8build1 [19.0 kB] 96s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8build1 [49.9 kB] 96s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libldap-common all 2.6.9+dfsg-1~exp2ubuntu1 [33.2 kB] 96s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libldap2 armhf 2.6.9+dfsg-1~exp2ubuntu1 [177 kB] 96s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu22 [225 kB] 96s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 96s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf logsave armhf 1.47.2-1ubuntu1 [25.7 kB] 96s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-minimal armhf 1.547 [11.4 kB] 96s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools all 0.145ubuntu2 [7948 B] 96s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-core all 0.145ubuntu2 [51.5 kB] 96s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libext2fs2t64 armhf 1.47.2-1ubuntu1 [207 kB] 97s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs armhf 1.47.2-1ubuntu1 [588 kB] 97s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf dhcpcd-base armhf 1:10.1.0-7 [188 kB] 97s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf init armhf 1.68 [6296 B] 97s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 97s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf iptables armhf 1.8.11-2ubuntu1 [342 kB] 97s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf libip4tc2 armhf 1.8.11-2ubuntu1 [21.7 kB] 97s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libip6tc2 armhf 1.8.11-2ubuntu1 [22.1 kB] 97s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf libnftnl11 armhf 1.2.8-1 [53.3 kB] 97s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libxtables12 armhf 1.8.11-2ubuntu1 [33.0 kB] 97s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf iproute2 armhf 6.13.0-1ubuntu1 [1096 kB] 97s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 97s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 97s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 97s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf login armhf 1:4.16.0-2+really2.40.2-14ubuntu1 [85.0 kB] 97s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf mawk armhf 1.3.4.20250131-1 [119 kB] 97s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf netcat-openbsd armhf 1.228-1 [42.4 kB] 97s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.2-1 [868 kB] 97s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.2-1 [2012 kB] 97s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 97s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 97s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 97s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 97s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2025a-2ubuntu1 [198 kB] 97s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.2-1 [1969 kB] 97s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.2-1 [734 kB] 97s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 97s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-4 [25.3 kB] 97s Get:138 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf gir1.2-glib-2.0 armhf 2.83.4-1 [185 kB] 97s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-4 [109 kB] 97s Get:140 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-data all 2.83.4-1 [52.9 kB] 97s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-bin armhf 2.83.4-1 [92.7 kB] 97s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 15-20250213-1ubuntu1 [7938 B] 97s Get:143 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-0t64 armhf 2.83.4-1 [1453 kB] 97s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf netplan-generator armhf 1.1.2-2ubuntu1 [60.8 kB] 97s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 97s Get:146 http://ftpmaster.internal/ubuntu plucky/main armhf python3-netplan armhf 1.1.2-2ubuntu1 [24.2 kB] 97s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf netplan.io armhf 1.1.2-2ubuntu1 [67.7 kB] 97s Get:148 http://ftpmaster.internal/ubuntu plucky/main armhf libnetplan1 armhf 1.1.2-2ubuntu1 [123 kB] 97s Get:149 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 98s Get:150 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage-common all 3.7-2.1 [7198 B] 98s Get:151 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage2 armhf 3.7-2.1 [85.4 kB] 98s Get:152 http://ftpmaster.internal/ubuntu plucky/main armhf passwd armhf 1:4.16.0-7ubuntu1 [1041 kB] 98s Get:153 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client-l10n armhf 34.1.3 [18.3 kB] 98s Get:154 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.9 [21.2 kB] 98s Get:155 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.9 [173 kB] 98s Get:156 http://ftpmaster.internal/ubuntu plucky/main armhf distro-info armhf 1.13 [19.1 kB] 98s Get:157 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client armhf 34.1.3 [243 kB] 98s Get:158 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0967-1ubuntu2 [696 kB] 98s Get:159 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0967-1ubuntu2 [396 kB] 98s Get:160 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 98s Get:161 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 98s Get:162 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 98s Get:163 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 106-2ubuntu1 [38.7 kB] 98s Get:164 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-bin armhf 0.145ubuntu2 [24.5 kB] 98s Get:165 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-initramfs armhf 1:1.37.0-4ubuntu1 [188 kB] 98s Get:166 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.9-1 [671 kB] 98s Get:167 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.9-1 [1946 kB] 98s Get:168 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.9-1 [2012 kB] 98s Get:169 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.9-1 [825 kB] 98s Get:170 http://ftpmaster.internal/ubuntu plucky/main armhf cron armhf 3.0pl1-192ubuntu1 [84.2 kB] 98s Get:171 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.4.1-0syncable1 [422 kB] 98s Get:172 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lazr.uri all 1.0.6-5 [13.6 kB] 98s Get:173 http://ftpmaster.internal/ubuntu plucky/main armhf python3-launchpadlib all 2.1.0-1 [126 kB] 98s Get:174 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB] 98s Get:175 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB] 98s Get:176 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gi armhf 3.50.0-4 [260 kB] 98s Get:177 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB] 98s Get:178 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB] 98s Get:179 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-17ubuntu3 [53.6 kB] 98s Get:180 http://ftpmaster.internal/ubuntu plucky/main armhf libcom-err2 armhf 1.47.2-1ubuntu1 [25.6 kB] 98s Get:181 http://ftpmaster.internal/ubuntu plucky/main armhf libss2 armhf 1.47.2-1ubuntu1 [15.6 kB] 98s Get:182 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.1-1ubuntu1 [1152 kB] 98s Get:183 http://ftpmaster.internal/ubuntu plucky/main armhf ca-certificates all 20241223 [165 kB] 98s Get:184 http://ftpmaster.internal/ubuntu plucky/main armhf krb5-locales all 1.21.3-4ubuntu1 [14.7 kB] 98s Get:185 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 98s Get:186 http://ftpmaster.internal/ubuntu plucky/main armhf libgssapi-krb5-2 armhf 1.21.3-4ubuntu1 [121 kB] 98s Get:187 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5-3 armhf 1.21.3-4ubuntu1 [314 kB] 98s Get:188 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5support0 armhf 1.21.3-4ubuntu1 [31.8 kB] 98s Get:189 http://ftpmaster.internal/ubuntu plucky/main armhf libk5crypto3 armhf 1.21.3-4ubuntu1 [78.6 kB] 98s Get:190 http://ftpmaster.internal/ubuntu plucky/main armhf libicu74 armhf 74.2-1ubuntu6 [10.5 MB] 99s Get:191 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2ubuntu3 [599 kB] 99s Get:192 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pygments all 2.18.0+dfsg-2 [835 kB] 99s Get:193 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 99s Get:194 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0050 [43.5 kB] 99s Get:195 http://ftpmaster.internal/ubuntu plucky/main armhf rsyslog armhf 8.2412.0-2ubuntu1 [471 kB] 99s Get:196 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0967-1ubuntu2 [67.5 kB] 99s Get:197 http://ftpmaster.internal/ubuntu plucky/main armhf apparmor armhf 4.1.0~beta5-0ubuntu5 [605 kB] 99s Get:198 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-7 [214 kB] 99s Get:199 http://ftpmaster.internal/ubuntu plucky/main armhf libjemalloc2 armhf 5.3.0-2build1 [200 kB] 99s Get:200 http://ftpmaster.internal/ubuntu plucky/main armhf libmaxminddb0 armhf 1.12.2-1 [16.9 kB] 99s Get:201 http://ftpmaster.internal/ubuntu plucky/main armhf liburcu8t64 armhf 0.15.1-1 [57.1 kB] 99s Get:202 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-dnsutils armhf 1:9.20.4-3ubuntu1 [155 kB] 99s Get:203 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-host armhf 1:9.20.4-3ubuntu1 [46.4 kB] 99s Get:204 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-libs armhf 1:9.20.4-3ubuntu1 [1186 kB] 99s Get:205 http://ftpmaster.internal/ubuntu plucky/main armhf libedit2 armhf 3.1-20250104-1 [79.3 kB] 99s Get:206 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-static armhf 1:1.37.0-4ubuntu1 [857 kB] 99s Get:207 http://ftpmaster.internal/ubuntu plucky/main armhf cron-daemon-common all 3.0pl1-192ubuntu1 [14.5 kB] 99s Get:208 http://ftpmaster.internal/ubuntu plucky/main armhf dmsetup armhf 2:1.02.201-1ubuntu1 [80.4 kB] 99s Get:209 http://ftpmaster.internal/ubuntu plucky/main armhf ed armhf 1.21-1 [52.8 kB] 99s Get:210 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.23.1-1 [43.3 kB] 99s Get:211 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 100s Get:212 http://ftpmaster.internal/ubuntu plucky/main armhf libibverbs1 armhf 55.0-1ubuntu1 [58.5 kB] 100s Get:213 http://ftpmaster.internal/ubuntu plucky/main armhf ibverbs-providers armhf 55.0-1ubuntu1 [27.6 kB] 100s Get:214 http://ftpmaster.internal/ubuntu plucky/main armhf inetutils-telnet armhf 2:2.5-6ubuntu1 [94.7 kB] 100s Get:215 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 100s Get:216 http://ftpmaster.internal/ubuntu plucky/main armhf libcbor0.10 armhf 0.10.2-2ubuntu1 [22.0 kB] 100s Get:217 http://ftpmaster.internal/ubuntu plucky/main armhf nftables armhf 1.1.1-1build1 [70.8 kB] 100s Get:218 http://ftpmaster.internal/ubuntu plucky/main armhf libnftables1 armhf 1.1.1-1build1 [321 kB] 100s Get:219 http://ftpmaster.internal/ubuntu plucky/main armhf libpcap0.8t64 armhf 1.10.5-2ubuntu1 [140 kB] 100s Get:220 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.46-4 [171 kB] 100s Get:221 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 100s Get:222 http://ftpmaster.internal/ubuntu plucky/main armhf libplymouth5 armhf 24.004.60-2ubuntu5 [142 kB] 100s Get:223 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 100s Get:224 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 100s Get:225 http://ftpmaster.internal/ubuntu plucky/main armhf libusb-1.0-0 armhf 2:1.0.27-2 [49.5 kB] 100s Get:226 http://ftpmaster.internal/ubuntu plucky/main armhf libxdmcp6 armhf 1:1.1.5-1 [9060 B] 100s Get:227 http://ftpmaster.internal/ubuntu plucky/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1 [311 kB] 100s Get:228 http://ftpmaster.internal/ubuntu plucky/main armhf lsof armhf 4.99.4+dfsg-2 [239 kB] 100s Get:229 http://ftpmaster.internal/ubuntu plucky/main armhf liblsof0 armhf 4.99.4+dfsg-2 [60.8 kB] 100s Get:230 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.3-1 [277 kB] 100s Get:231 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2025.02.12-1 [284 kB] 100s Get:232 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-2ubuntu5 [9914 B] 100s Get:233 http://ftpmaster.internal/ubuntu plucky/main armhf libpackagekit-glib2-18 armhf 1.3.0-3build1 [109 kB] 100s Get:234 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit-tools armhf 1.3.0-3build1 [28.0 kB] 100s Get:235 http://ftpmaster.internal/ubuntu plucky/main armhf polkitd armhf 126-2 [92.5 kB] 100s Get:236 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-agent-1-0 armhf 126-2 [15.1 kB] 100s Get:237 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-gobject-1-0 armhf 126-2 [45.0 kB] 100s Get:238 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [330 kB] 100s Get:239 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 100s Get:240 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.25.50-1 [1164 kB] 100s Get:241 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit armhf 1.3.0-3build1 [431 kB] 100s Get:242 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth armhf 24.004.60-2ubuntu5 [143 kB] 100s Get:243 http://ftpmaster.internal/ubuntu plucky/main armhf powermgmt-base all 1.38 [7378 B] 100s Get:244 http://ftpmaster.internal/ubuntu plucky/main armhf psmisc armhf 23.7-2 [177 kB] 100s Get:245 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20250108.1153-0.1 [134 kB] 100s Get:246 http://ftpmaster.internal/ubuntu plucky/main armhf python3-distro-info all 1.13 [7798 B] 100s Get:247 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.2-1 [30.2 kB] 100s Get:248 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.9-1 [29.3 kB] 100s Get:249 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 100s Get:250 http://ftpmaster.internal/ubuntu plucky/main armhf telnet all 0.17+2.5-6ubuntu1 [3694 B] 100s Get:251 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-standard armhf 1.547 [11.4 kB] 100s Get:252 http://ftpmaster.internal/ubuntu plucky/main armhf ufw all 0.36.2-9 [170 kB] 100s Get:253 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2025.01.14-1 [223 kB] 100s Get:254 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 100s Get:255 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 100s Get:256 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.44-2ubuntu1 [74.3 kB] 100s Get:257 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.44-2ubuntu1 [77.6 kB] 100s Get:258 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.44-2ubuntu1 [995 kB] 100s Get:259 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.44-2ubuntu1 [405 kB] 100s Get:260 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.44-2ubuntu1 [3234 B] 100s Get:261 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.44-2ubuntu1 [215 kB] 100s Get:262 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.44-2ubuntu1 [12.4 kB] 100s Get:263 http://ftpmaster.internal/ubuntu plucky/main armhf btrfs-progs armhf 6.12-1build1 [884 kB] 100s Get:264 http://ftpmaster.internal/ubuntu plucky/main armhf python3-certifi all 2025.1.31+ds-1 [9816 B] 100s Get:265 http://ftpmaster.internal/ubuntu plucky/main armhf python3-chardet all 5.2.0+dfsg-2 [116 kB] 100s Get:266 http://ftpmaster.internal/ubuntu plucky/main armhf python3-idna all 3.10-1 [47.4 kB] 100s Get:267 http://ftpmaster.internal/ubuntu plucky/main armhf python3-urllib3 all 2.3.0-1 [94.0 kB] 100s Get:268 http://ftpmaster.internal/ubuntu plucky/main armhf python3-requests all 2.32.3+dfsg-4ubuntu1 [52.9 kB] 100s Get:269 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2 [109 kB] 100s Get:270 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 100s Get:271 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 100s Get:272 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 25.1.0-1 [50.4 kB] 100s Get:273 http://ftpmaster.internal/ubuntu plucky/main armhf python3-referencing all 0.35.1-2ubuntu1 [21.9 kB] 101s Get:274 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonschema all 4.19.2-6ubuntu1 [65.5 kB] 101s Get:275 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jwt all 2.10.1-2 [21.0 kB] 101s Get:276 http://ftpmaster.internal/ubuntu plucky/main armhf python3-oauthlib all 3.2.2-3 [89.9 kB] 101s Get:277 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init-base all 25.1-0ubuntu1 [616 kB] 101s Get:278 http://ftpmaster.internal/ubuntu plucky/main armhf cryptsetup-bin armhf 2:2.7.5-1ubuntu2 [220 kB] 101s Get:279 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [247 kB] 101s Get:280 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [335 kB] 101s Get:281 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-dev all 1.22.11ubuntu4 [1088 kB] 101s Get:282 http://ftpmaster.internal/ubuntu plucky/main armhf libdpkg-perl all 1.22.11ubuntu4 [279 kB] 101s Get:283 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 101s Get:284 http://ftpmaster.internal/ubuntu plucky/main armhf lto-disabled-list all 56 [12.4 kB] 101s Get:285 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive13t64 armhf 3.7.7-0ubuntu1 [335 kB] 101s Get:286 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 101s Get:287 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 101s Get:288 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.6-3 [5155 kB] 101s Get:289 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.6-3 [125 kB] 101s Get:290 http://ftpmaster.internal/ubuntu plucky/main armhf libprotobuf-c1 armhf 1.5.1-1ubuntu1 [18.1 kB] 101s Get:291 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 101s Get:292 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 101s Get:293 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-packagekitglib-1.0 armhf 1.3.0-3build1 [25.5 kB] 101s Get:294 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu22 [66.4 kB] 101s Get:295 http://ftpmaster.internal/ubuntu plucky/main armhf htop armhf 3.3.0-5 [140 kB] 101s Get:296 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-utils3 armhf 3.3.0-1 [17.5 kB] 101s Get:297 http://ftpmaster.internal/ubuntu plucky/main armhf libnspr4 armhf 2:4.36-1ubuntu1 [94.5 kB] 101s Get:298 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.108-1ubuntu1 [1317 kB] 102s Get:299 http://ftpmaster.internal/ubuntu plucky/main armhf libgpgme11t64 armhf 1.24.2-1ubuntu1 [125 kB] 102s Get:300 http://ftpmaster.internal/ubuntu plucky/main armhf libvolume-key1 armhf 0.3.12-9 [39.1 kB] 102s Get:301 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-crypto3 armhf 3.3.0-1 [22.4 kB] 102s Get:302 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-fs3 armhf 3.3.0-1 [34.5 kB] 102s Get:303 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-loop3 armhf 3.3.0-1 [6594 B] 102s Get:304 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-mdraid3 armhf 3.3.0-1 [13.4 kB] 102s Get:305 http://ftpmaster.internal/ubuntu plucky/main armhf libnvme1t64 armhf 1.11.1-2 [73.6 kB] 102s Get:306 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-nvme3 armhf 3.3.0-1 [17.7 kB] 102s Get:307 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-part3 armhf 3.3.0-1 [16.6 kB] 102s Get:308 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-swap3 armhf 3.3.0-1 [9010 B] 102s Get:309 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev3 armhf 3.3.0-1 [44.4 kB] 102s Get:310 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 102s Get:311 http://ftpmaster.internal/ubuntu plucky/main armhf libgudev-1.0-0 armhf 1:238-6 [13.7 kB] 102s Get:312 http://ftpmaster.internal/ubuntu plucky/main armhf libicu76 armhf 76.1-1ubuntu2 [10.8 MB] 102s Get:313 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules armhf 2.1.28+dfsg1-8build1 [62.7 kB] 102s Get:314 http://ftpmaster.internal/ubuntu plucky/main armhf udisks2 armhf 2.10.1-11ubuntu2 [278 kB] 102s Get:315 http://ftpmaster.internal/ubuntu plucky/main armhf libudisks2-0 armhf 2.10.1-11ubuntu2 [142 kB] 102s Get:316 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-35 [45.6 kB] 102s Get:317 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15 all 6.12.0-15.15 [14.1 MB] 103s Get:318 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15-generic armhf 6.12.0-15.15 [1414 kB] 103s Get:319 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-generic armhf 6.12.0-15.15+1 [10.8 kB] 103s Get:320 http://ftpmaster.internal/ubuntu plucky/main armhf pollinate all 4.33-4ubuntu2 [12.4 kB] 103s Get:321 http://ftpmaster.internal/ubuntu plucky/main armhf python3-babel all 2.17.0-1 [101 kB] 103s Get:322 http://ftpmaster.internal/ubuntu plucky/main armhf python-babel-localedata all 2.17.0-1 [6678 kB] 103s Get:323 http://ftpmaster.internal/ubuntu plucky/main armhf python3-more-itertools all 10.6.0-1 [57.7 kB] 103s Get:324 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 25.0.0-1 [46.1 kB] 103s Get:325 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 103s Get:326 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 103s Get:327 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.109 [16.5 kB] 103s Get:328 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.109 [31.0 kB] 103s Get:329 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 103s Get:330 http://ftpmaster.internal/ubuntu plucky/main armhf tmux armhf 3.5a-3 [406 kB] 103s Get:331 http://ftpmaster.internal/ubuntu plucky/main armhf unattended-upgrades all 2.12ubuntu4 [58.5 kB] 103s Get:332 http://ftpmaster.internal/ubuntu plucky/main armhf xfsprogs armhf 6.12.0-1ubuntu1 [958 kB] 103s Get:333 http://ftpmaster.internal/ubuntu plucky/main armhf zstd armhf 1.5.6+dfsg-2 [690 kB] 103s Get:334 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init all 25.1-0ubuntu1 [2088 B] 103s Get:335 http://ftpmaster.internal/ubuntu plucky/main armhf kpartx armhf 0.9.9-1ubuntu4 [35.0 kB] 103s Get:336 http://ftpmaster.internal/ubuntu plucky/main armhf multipath-tools armhf 0.9.9-1ubuntu4 [294 kB] 104s Preconfiguring packages ... 106s Fetched 148 MB in 11s (14.0 MB/s) 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 106s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 106s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 106s Selecting previously unselected package gcc-15-base:armhf. 106s Preparing to unpack .../gcc-15-base_15-20250213-1ubuntu1_armhf.deb ... 106s Unpacking gcc-15-base:armhf (15-20250213-1ubuntu1) ... 106s Setting up gcc-15-base:armhf (15-20250213-1ubuntu1) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 106s Preparing to unpack .../libgcc-s1_15-20250213-1ubuntu1_armhf.deb ... 106s Unpacking libgcc-s1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 106s Setting up libgcc-s1:armhf (15-20250213-1ubuntu1) ... 106s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 106s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 106s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 107s Setting up libc6:armhf (2.40-4ubuntu1) ... 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 107s Preparing to unpack .../libcrypt1_1%3a4.4.38-1_armhf.deb ... 107s Unpacking libcrypt1:armhf (1:4.4.38-1) over (1:4.4.36-5) ... 107s Setting up libcrypt1:armhf (1:4.4.38-1) ... 107s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 107s Preparing to unpack .../base-files_13.6ubuntu1_armhf.deb ... 107s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 107s Setting up base-files (13.6ubuntu1) ... 107s Updating /root/.profile to current default. 108s motd-news.service is a disabled or a static unit not running, not starting it. 108s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 108s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 108s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 108s Setting up bash (5.2.37-1ubuntu1) ... 108s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 108s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 108s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_armhf.deb ... 108s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu1) ... 108s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 108s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 108s Preparing to unpack .../coreutils_9.5-1ubuntu1_armhf.deb ... 108s Unpacking coreutils (9.5-1ubuntu1) over (9.4-3.1ubuntu1) ... 108s Setting up coreutils (9.5-1ubuntu1) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 109s Preparing to unpack .../dash_0.5.12-12ubuntu1_armhf.deb ... 109s Unpacking dash (0.5.12-12ubuntu1) over (0.5.12-9ubuntu1) ... 109s Setting up dash (0.5.12-12ubuntu1) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 109s Preparing to unpack .../diffutils_1%3a3.10-2_armhf.deb ... 109s Unpacking diffutils (1:3.10-2) over (1:3.10-1build1) ... 109s Setting up diffutils (1:3.10-2) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 109s Preparing to unpack .../libxxhash0_0.8.3-2_armhf.deb ... 109s Unpacking libxxhash0:armhf (0.8.3-2) over (0.8.2-2build1) ... 109s Setting up libxxhash0:armhf (0.8.3-2) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 109s Preparing to unpack .../liblz4-1_1.10.0-3_armhf.deb ... 109s Unpacking liblz4-1:armhf (1.10.0-3) over (1.9.4-3) ... 109s Setting up liblz4-1:armhf (1.10.0-3) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 109s Preparing to unpack .../libssl3t64_3.4.1-1ubuntu1_armhf.deb ... 109s Unpacking libssl3t64:armhf (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 109s Selecting previously unselected package openssl-provider-legacy. 109s Preparing to unpack .../openssl-provider-legacy_3.4.1-1ubuntu1_armhf.deb ... 109s Unpacking openssl-provider-legacy (3.4.1-1ubuntu1) ... 109s Setting up libssl3t64:armhf (3.4.1-1ubuntu1) ... 109s Setting up openssl-provider-legacy (3.4.1-1ubuntu1) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 109s Preparing to unpack .../libzstd1_1.5.6+dfsg-2_armhf.deb ... 109s Unpacking libzstd1:armhf (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 109s Setting up libzstd1:armhf (1.5.6+dfsg-2) ... 109s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 109s Preparing to unpack .../libstdc++6_15-20250213-1ubuntu1_armhf.deb ... 109s Unpacking libstdc++6:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 109s Setting up libstdc++6:armhf (15-20250213-1ubuntu1) ... 110s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 110s Preparing to unpack .../0-systemd-timesyncd_257.2-3ubuntu1_armhf.deb ... 110s Unpacking systemd-timesyncd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 110s Preparing to unpack .../1-dbus-session-bus-common_1.16.0-1ubuntu1_all.deb ... 110s Unpacking dbus-session-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 110s Preparing to unpack .../2-systemd-sysv_257.2-3ubuntu1_armhf.deb ... 110s Unpacking systemd-sysv (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 110s Preparing to unpack .../3-libpam-systemd_257.2-3ubuntu1_armhf.deb ... 110s Unpacking libpam-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 110s Preparing to unpack .../4-dbus-user-session_1.16.0-1ubuntu1_armhf.deb ... 110s Unpacking dbus-user-session (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 110s Preparing to unpack .../5-libapparmor1_4.1.0~beta5-0ubuntu5_armhf.deb ... 110s Unpacking libapparmor1:armhf (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 110s Preparing to unpack .../6-libcap-ng0_0.8.5-4_armhf.deb ... 110s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 110s Setting up libcap-ng0:armhf (0.8.5-4) ... 110s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 110s Preparing to unpack .../libselinux1_3.7-3ubuntu2_armhf.deb ... 110s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 110s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 110s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 110s Preparing to unpack .../0-dbus-system-bus-common_1.16.0-1ubuntu1_all.deb ... 110s Unpacking dbus-system-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 110s Preparing to unpack .../1-dbus-bin_1.16.0-1ubuntu1_armhf.deb ... 110s Unpacking dbus-bin (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 110s Preparing to unpack .../2-dbus_1.16.0-1ubuntu1_armhf.deb ... 110s Unpacking dbus (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 110s Preparing to unpack .../3-dbus-daemon_1.16.0-1ubuntu1_armhf.deb ... 110s Unpacking dbus-daemon (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 110s Preparing to unpack .../4-libdbus-1-3_1.16.0-1ubuntu1_armhf.deb ... 110s Unpacking libdbus-1-3:armhf (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 110s Preparing to unpack .../5-systemd-resolved_257.2-3ubuntu1_armhf.deb ... 110s Unpacking systemd-resolved (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 110s Preparing to unpack .../6-libncurses6_6.5+20250125-2_armhf.deb ... 110s Unpacking libncurses6:armhf (6.5+20250125-2) over (6.5-2) ... 111s Preparing to unpack .../7-libncursesw6_6.5+20250125-2_armhf.deb ... 111s Unpacking libncursesw6:armhf (6.5+20250125-2) over (6.5-2) ... 111s Preparing to unpack .../8-libtinfo6_6.5+20250125-2_armhf.deb ... 111s Unpacking libtinfo6:armhf (6.5+20250125-2) over (6.5-2) ... 111s Setting up libtinfo6:armhf (6.5+20250125-2) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 111s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_armhf.deb ... 111s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 111s Preparing to unpack .../eject_2.40.2-14ubuntu1_armhf.deb ... 111s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 111s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_armhf.deb ... 111s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 111s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_armhf.deb ... 111s Unpacking libblkid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 111s Setting up libblkid1:armhf (2.40.2-14ubuntu1) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 111s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_armhf.deb ... 111s Unpacking libmount1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 111s Setting up libmount1:armhf (2.40.2-14ubuntu1) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 111s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_armhf.deb ... 111s Unpacking libsmartcols1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 111s Setting up libsmartcols1:armhf (2.40.2-14ubuntu1) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 111s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_armhf.deb ... 111s Unpacking libuuid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 111s Setting up libuuid1:armhf (2.40.2-14ubuntu1) ... 111s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 111s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_armhf.deb ... 111s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 111s Setting up util-linux (2.40.2-14ubuntu1) ... 112s fstrim.service is a disabled or a static unit not running, not starting it. 112s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 112s Preparing to unpack .../0-uuid-runtime_2.40.2-14ubuntu1_armhf.deb ... 112s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 112s Preparing to unpack .../1-libfdisk1_2.40.2-14ubuntu1_armhf.deb ... 112s Unpacking libfdisk1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 112s Preparing to unpack .../2-mount_2.40.2-14ubuntu1_armhf.deb ... 112s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 112s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 112s Unpacking readline-common (8.2-6) over (8.2-5) ... 112s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 112s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 112s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 112s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 112s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 112s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 112s Preparing to unpack .../5-systemd-cryptsetup_257.2-3ubuntu1_armhf.deb ... 112s Unpacking systemd-cryptsetup (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 112s Preparing to unpack .../6-libsystemd-shared_257.2-3ubuntu1_armhf.deb ... 112s Unpacking libsystemd-shared:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 112s Preparing to unpack .../7-libnss-systemd_257.2-3ubuntu1_armhf.deb ... 112s Unpacking libnss-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 113s Setting up libsystemd-shared:armhf (257.2-3ubuntu1) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 113s Preparing to unpack .../systemd_257.2-3ubuntu1_armhf.deb ... 113s Unpacking systemd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 113s Preparing to unpack .../udev_257.2-3ubuntu1_armhf.deb ... 113s Unpacking udev (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 113s Preparing to unpack .../libudev1_257.2-3ubuntu1_armhf.deb ... 113s Unpacking libudev1:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 113s Setting up libudev1:armhf (257.2-3ubuntu1) ... 113s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 113s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.201-1ubuntu1_armhf.deb ... 113s Unpacking libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 113s Preparing to unpack .../libcryptsetup12_2%3a2.7.5-1ubuntu2_armhf.deb ... 113s Unpacking libcryptsetup12:armhf (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 113s Preparing to unpack .../libsystemd0_257.2-3ubuntu1_armhf.deb ... 113s Unpacking libsystemd0:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 113s Setting up libsystemd0:armhf (257.2-3ubuntu1) ... 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 114s Preparing to unpack .../libapt-pkg6.0t64_2.9.29_armhf.deb ... 114s Unpacking libapt-pkg6.0t64:armhf (2.9.29) over (2.9.14ubuntu1) ... 114s Setting up libapt-pkg6.0t64:armhf (2.9.29) ... 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 114s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 114s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 114s Setting up tar (1.35+dfsg-3.1) ... 114s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 114s Preparing to unpack .../dpkg_1.22.11ubuntu4_armhf.deb ... 114s Unpacking dpkg (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 114s Setting up dpkg (1.22.11ubuntu4) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 115s Preparing to unpack .../gzip_1.13-1ubuntu2_armhf.deb ... 115s Unpacking gzip (1.13-1ubuntu2) over (1.12-1.1ubuntu1) ... 115s Setting up gzip (1.13-1ubuntu2) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 115s Preparing to unpack .../ncurses-bin_6.5+20250125-2_armhf.deb ... 115s Unpacking ncurses-bin (6.5+20250125-2) over (6.5-2) ... 115s Setting up ncurses-bin (6.5+20250125-2) ... 115s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 115s Preparing to unpack .../perl_5.40.1-2_armhf.deb ... 115s Unpacking perl (5.40.1-2) over (5.40.0-8) ... 115s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ... 115s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ... 116s Preparing to unpack .../libperl5.40_5.40.1-2_armhf.deb ... 116s Unpacking libperl5.40:armhf (5.40.1-2) over (5.40.0-8) ... 116s Preparing to unpack .../perl-base_5.40.1-2_armhf.deb ... 116s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ... 116s Setting up perl-base (5.40.1-2) ... 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 116s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 116s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 116s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 116s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 116s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 116s Unpacking base-passwd (3.6.6) over (3.6.5) ... 116s Setting up base-passwd (3.6.6) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 117s Preparing to unpack .../init-system-helpers_1.68_all.deb ... 117s Unpacking init-system-helpers (1.68) over (1.67ubuntu1) ... 117s Setting up init-system-helpers (1.68) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 117s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 117s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 117s Setting up libc-bin (2.40-4ubuntu1) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 117s Preparing to unpack .../ncurses-base_6.5+20250125-2_all.deb ... 117s Unpacking ncurses-base (6.5+20250125-2) over (6.5-2) ... 117s Setting up ncurses-base (6.5+20250125-2) ... 117s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 117s Preparing to unpack .../0-ncurses-term_6.5+20250125-2_all.deb ... 117s Unpacking ncurses-term (6.5+20250125-2) over (6.5-2) ... 118s Preparing to unpack .../1-kbd_2.7.1-2ubuntu1_armhf.deb ... 118s Unpacking kbd (2.7.1-2ubuntu1) over (2.6.4-2ubuntu3) ... 118s Preparing to unpack .../2-console-setup-linux_1.226ubuntu3_all.deb ... 118s Unpacking console-setup-linux (1.226ubuntu3) over (1.226ubuntu2) ... 118s Preparing to unpack .../3-console-setup_1.226ubuntu3_all.deb ... 118s Unpacking console-setup (1.226ubuntu3) over (1.226ubuntu2) ... 118s Preparing to unpack .../4-keyboard-configuration_1.226ubuntu3_all.deb ... 118s Unpacking keyboard-configuration (1.226ubuntu3) over (1.226ubuntu2) ... 118s Preparing to unpack .../5-sysvinit-utils_3.14-1ubuntu1_armhf.deb ... 118s Unpacking sysvinit-utils (3.14-1ubuntu1) over (3.08-6ubuntu3) ... 118s Setting up sysvinit-utils (3.14-1ubuntu1) ... 118s Selecting previously unselected package libapt-pkg7.0:armhf. 118s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 118s Preparing to unpack .../libapt-pkg7.0_2.9.30ubuntu1_armhf.deb ... 118s Unpacking libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 118s Setting up libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 118s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 118s Preparing to unpack .../apt_2.9.30ubuntu1_armhf.deb ... 118s Unpacking apt (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 119s Setting up apt (2.9.30ubuntu1) ... 119s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 119s Preparing to unpack .../apt-utils_2.9.30ubuntu1_armhf.deb ... 119s Unpacking apt-utils (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 119s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 119s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 119s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 119s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 119s Setting up libgpg-error0:armhf (1.51-3) ... 119s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 119s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 119s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 119s Setting up libnpth0t64:armhf (1.8-2) ... 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 120s Preparing to unpack .../00-gpg-wks-client_2.4.4-2ubuntu22_armhf.deb ... 120s Unpacking gpg-wks-client (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 120s Preparing to unpack .../01-dirmngr_2.4.4-2ubuntu22_armhf.deb ... 120s Unpacking dirmngr (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 120s Preparing to unpack .../02-gpgsm_2.4.4-2ubuntu22_armhf.deb ... 120s Unpacking gpgsm (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 120s Preparing to unpack .../03-gnupg-utils_2.4.4-2ubuntu22_armhf.deb ... 120s Unpacking gnupg-utils (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 120s Preparing to unpack .../04-gpg-agent_2.4.4-2ubuntu22_armhf.deb ... 120s Unpacking gpg-agent (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 120s Preparing to unpack .../05-gpg_2.4.4-2ubuntu22_armhf.deb ... 120s Unpacking gpg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 120s Preparing to unpack .../06-gpgconf_2.4.4-2ubuntu22_armhf.deb ... 120s Unpacking gpgconf (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 120s Preparing to unpack .../07-gnupg_2.4.4-2ubuntu22_all.deb ... 120s Unpacking gnupg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 120s Preparing to unpack .../08-keyboxd_2.4.4-2ubuntu22_armhf.deb ... 120s Unpacking keyboxd (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 120s Preparing to unpack .../09-pinentry-curses_1.3.1-2ubuntu2_armhf.deb ... 120s Unpacking pinentry-curses (1.3.1-2ubuntu2) over (1.3.1-0ubuntu2) ... 120s Preparing to unpack .../10-libnettle8t64_3.10.1-1_armhf.deb ... 120s Unpacking libnettle8t64:armhf (3.10.1-1) over (3.10-1) ... 120s Setting up libnettle8t64:armhf (3.10.1-1) ... 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 120s Preparing to unpack .../libhogweed6t64_3.10.1-1_armhf.deb ... 120s Unpacking libhogweed6t64:armhf (3.10.1-1) over (3.10-1) ... 120s Setting up libhogweed6t64:armhf (3.10.1-1) ... 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 120s Preparing to unpack .../libffi8_3.4.7-1_armhf.deb ... 120s Unpacking libffi8:armhf (3.4.7-1) over (3.4.6-1build1) ... 120s Setting up libffi8:armhf (3.4.7-1) ... 120s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 120s Preparing to unpack .../libp11-kit0_0.25.5-2ubuntu3_armhf.deb ... 120s Unpacking libp11-kit0:armhf (0.25.5-2ubuntu3) over (0.25.5-2ubuntu1) ... 121s Setting up libp11-kit0:armhf (0.25.5-2ubuntu3) ... 121s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 121s Preparing to unpack .../libtasn1-6_4.20.0-2_armhf.deb ... 121s Unpacking libtasn1-6:armhf (4.20.0-2) over (4.19.0-3build1) ... 121s Setting up libtasn1-6:armhf (4.20.0-2) ... 121s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 121s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 121s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 121s Setting up libunistring5:armhf (1.3-1) ... 121s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 121s Preparing to unpack .../libgnutls30t64_3.8.9-2ubuntu2_armhf.deb ... 121s Unpacking libgnutls30t64:armhf (3.8.9-2ubuntu2) over (3.8.8-2ubuntu1) ... 121s Setting up libgnutls30t64:armhf (3.8.9-2ubuntu2) ... 121s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 121s Preparing to unpack .../libsasl2-modules-db_2.1.28+dfsg1-8build1_armhf.deb ... 121s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 121s Preparing to unpack .../libsasl2-2_2.1.28+dfsg1-8build1_armhf.deb ... 121s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 121s Preparing to unpack .../libldap-common_2.6.9+dfsg-1~exp2ubuntu1_all.deb ... 121s Unpacking libldap-common (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 121s Preparing to unpack .../libldap2_2.6.9+dfsg-1~exp2ubuntu1_armhf.deb ... 121s Unpacking libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 121s Preparing to unpack .../gpgv_2.4.4-2ubuntu22_armhf.deb ... 121s Unpacking gpgv (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 121s Setting up gpgv (2.4.4-2ubuntu22) ... 121s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 121s Preparing to unpack .../0-e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 121s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 121s Preparing to unpack .../1-logsave_1.47.2-1ubuntu1_armhf.deb ... 121s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 121s Preparing to unpack .../2-ubuntu-minimal_1.547_armhf.deb ... 121s Unpacking ubuntu-minimal (1.547) over (1.544) ... 121s Preparing to unpack .../3-initramfs-tools_0.145ubuntu2_all.deb ... 121s Unpacking initramfs-tools (0.145ubuntu2) over (0.142ubuntu35) ... 121s Preparing to unpack .../4-initramfs-tools-core_0.145ubuntu2_all.deb ... 121s Unpacking initramfs-tools-core (0.145ubuntu2) over (0.142ubuntu35) ... 121s Preparing to unpack .../5-libext2fs2t64_1.47.2-1ubuntu1_armhf.deb ... 121s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 121s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 121s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 121s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 121s Unpacking libext2fs2t64:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 121s Setting up libext2fs2t64:armhf (1.47.2-1ubuntu1) ... 122s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 122s Preparing to unpack .../e2fsprogs_1.47.2-1ubuntu1_armhf.deb ... 122s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 122s Preparing to unpack .../dhcpcd-base_1%3a10.1.0-7_armhf.deb ... 122s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-2) ... 122s Setting up libapparmor1:armhf (4.1.0~beta5-0ubuntu5) ... 122s Setting up mount (2.40.2-14ubuntu1) ... 122s Setting up systemd (257.2-3ubuntu1) ... 122s Installing new version of config file /etc/systemd/logind.conf ... 122s Installing new version of config file /etc/systemd/sleep.conf ... 122s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 122s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 122s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 122s Setting up systemd-sysv (257.2-3ubuntu1) ... 123s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 123s Preparing to unpack .../00-init_1.68_armhf.deb ... 123s Unpacking init (1.68) over (1.67ubuntu1) ... 123s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 123s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 123s Preparing to unpack .../02-iptables_1.8.11-2ubuntu1_armhf.deb ... 123s Unpacking iptables (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 123s Preparing to unpack .../03-libip4tc2_1.8.11-2ubuntu1_armhf.deb ... 123s Unpacking libip4tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 123s Preparing to unpack .../04-libip6tc2_1.8.11-2ubuntu1_armhf.deb ... 123s Unpacking libip6tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 123s Preparing to unpack .../05-libnftnl11_1.2.8-1_armhf.deb ... 123s Unpacking libnftnl11:armhf (1.2.8-1) over (1.2.7-1) ... 123s Preparing to unpack .../06-libxtables12_1.8.11-2ubuntu1_armhf.deb ... 123s Unpacking libxtables12:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 123s Preparing to unpack .../07-iproute2_6.13.0-1ubuntu1_armhf.deb ... 123s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 123s Preparing to unpack .../08-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 123s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 123s Preparing to unpack .../09-locales_2.40-4ubuntu1_all.deb ... 123s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 124s Selecting previously unselected package login.defs. 124s Preparing to unpack .../10-login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 124s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 124s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 124s Setting up login.defs (1:4.16.0-7ubuntu1) ... 124s Installing new version of config file /etc/login.defs ... 124s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60022 files and directories currently installed.) 124s Preparing to unpack .../0-login_1%3a4.16.0-2+really2.40.2-14ubuntu1_armhf.deb ... 124s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 124s Preparing to unpack .../1-mawk_1.3.4.20250131-1_armhf.deb ... 124s Unpacking mawk (1.3.4.20250131-1) over (1.3.4.20240905-1) ... 124s Preparing to unpack .../2-netcat-openbsd_1.228-1_armhf.deb ... 124s Unpacking netcat-openbsd (1.228-1) over (1.226-1.1) ... 124s Selecting previously unselected package libpython3.13-minimal:armhf. 124s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-1_armhf.deb ... 124s Unpacking libpython3.13-minimal:armhf (3.13.2-1) ... 124s Selecting previously unselected package python3.13-minimal. 124s Preparing to unpack .../4-python3.13-minimal_3.13.2-1_armhf.deb ... 124s Unpacking python3.13-minimal (3.13.2-1) ... 124s Preparing to unpack .../5-python3-cryptography_43.0.0-1_armhf.deb ... 124s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 124s Setting up libpython3.13-minimal:armhf (3.13.2-1) ... 124s Setting up python3.13-minimal (3.13.2-1) ... 125s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 125s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 125s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 125s Setting up python3-minimal (3.13.1-1~exp2) ... 126s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 126s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 126s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 126s Selecting previously unselected package python3-bcrypt. 126s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 126s Unpacking python3-bcrypt (4.2.0-2.1) ... 126s Preparing to unpack .../02-tzdata_2025a-2ubuntu1_all.deb ... 126s Unpacking tzdata (2025a-2ubuntu1) over (2024b-1ubuntu2) ... 126s Selecting previously unselected package libpython3.13-stdlib:armhf. 126s Preparing to unpack .../03-libpython3.13-stdlib_3.13.2-1_armhf.deb ... 126s Unpacking libpython3.13-stdlib:armhf (3.13.2-1) ... 126s Selecting previously unselected package python3.13. 126s Preparing to unpack .../04-python3.13_3.13.2-1_armhf.deb ... 126s Unpacking python3.13 (3.13.2-1) ... 126s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 126s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 126s Preparing to unpack .../06-gir1.2-girepository-2.0_1.82.0-4_armhf.deb ... 126s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-4) over (1.82.0-2) ... 126s Preparing to unpack .../07-gir1.2-glib-2.0_2.83.4-1_armhf.deb ... 126s Unpacking gir1.2-glib-2.0:armhf (2.83.4-1) over (2.82.2-3) ... 126s Preparing to unpack .../08-libgirepository-1.0-1_1.82.0-4_armhf.deb ... 126s Unpacking libgirepository-1.0-1:armhf (1.82.0-4) over (1.82.0-2) ... 126s Preparing to unpack .../09-libglib2.0-data_2.83.4-1_all.deb ... 126s Unpacking libglib2.0-data (2.83.4-1) over (2.82.2-3) ... 126s Preparing to unpack .../10-libglib2.0-bin_2.83.4-1_armhf.deb ... 126s Unpacking libglib2.0-bin (2.83.4-1) over (2.82.2-3) ... 126s Preparing to unpack .../11-libatomic1_15-20250213-1ubuntu1_armhf.deb ... 126s Unpacking libatomic1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 126s Preparing to unpack .../12-libglib2.0-0t64_2.83.4-1_armhf.deb ... 126s Unpacking libglib2.0-0t64:armhf (2.83.4-1) over (2.82.2-3) ... 126s Preparing to unpack .../13-netplan-generator_1.1.2-2ubuntu1_armhf.deb ... 126s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 126s Unpacking netplan-generator (1.1.2-2ubuntu1) over (1.1.1-1) ... 126s Preparing to unpack .../14-libyaml-0-2_0.2.5-2_armhf.deb ... 126s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 127s Preparing to unpack .../15-python3-netplan_1.1.2-2ubuntu1_armhf.deb ... 127s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 127s for fn in glob1(directory, "%s.*" % fname): 127s Unpacking python3-netplan (1.1.2-2ubuntu1) over (1.1.1-1) ... 127s Preparing to unpack .../16-netplan.io_1.1.2-2ubuntu1_armhf.deb ... 127s Unpacking netplan.io (1.1.2-2ubuntu1) over (1.1.1-1) ... 127s Preparing to unpack .../17-libnetplan1_1.1.2-2ubuntu1_armhf.deb ... 127s Unpacking libnetplan1:armhf (1.1.2-2ubuntu1) over (1.1.1-1) ... 127s Preparing to unpack .../18-ethtool_1%3a6.11-1_armhf.deb ... 127s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 127s Preparing to unpack .../19-libsemanage-common_3.7-2.1_all.deb ... 127s Unpacking libsemanage-common (3.7-2.1) over (3.7-2build1) ... 127s Setting up libsemanage-common (3.7-2.1) ... 127s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 127s Preparing to unpack .../libsemanage2_3.7-2.1_armhf.deb ... 127s Unpacking libsemanage2:armhf (3.7-2.1) over (3.7-2build1) ... 127s Setting up libsemanage2:armhf (3.7-2.1) ... 127s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 127s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_armhf.deb ... 127s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 127s Setting up passwd (1:4.16.0-7ubuntu1) ... 127s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60762 files and directories currently installed.) 127s Preparing to unpack .../000-ubuntu-pro-client-l10n_34.1.3_armhf.deb ... 127s Unpacking ubuntu-pro-client-l10n (34.1.3) over (34.1.2) ... 127s Preparing to unpack .../001-python-apt-common_2.9.9_all.deb ... 127s Unpacking python-apt-common (2.9.9) over (2.9.0ubuntu2) ... 127s Preparing to unpack .../002-python3-apt_2.9.9_armhf.deb ... 127s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 127s for fn in glob1(directory, "%s.*" % fname): 127s Unpacking python3-apt (2.9.9) over (2.9.0ubuntu2) ... 128s Preparing to unpack .../003-distro-info_1.13_armhf.deb ... 128s Unpacking distro-info (1.13) over (1.12) ... 128s Preparing to unpack .../004-ubuntu-pro-client_34.1.3_armhf.deb ... 128s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 128s for fn in glob1(directory, "%s.*" % fname): 128s Unpacking ubuntu-pro-client (34.1.3) over (34.1.2) ... 128s Preparing to unpack .../005-vim-tiny_2%3a9.1.0967-1ubuntu2_armhf.deb ... 128s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 128s Preparing to unpack .../006-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ... 128s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 128s Preparing to unpack .../007-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 128s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 128s for fn in glob1(directory, "%s.*" % fname): 128s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 128s Preparing to unpack .../008-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 128s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 128s Preparing to unpack .../009-whiptail_0.52.24-4ubuntu1_armhf.deb ... 128s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 128s Preparing to unpack .../010-dracut-install_106-2ubuntu1_armhf.deb ... 128s Unpacking dracut-install (106-2ubuntu1) over (105-2ubuntu3) ... 128s Preparing to unpack .../011-initramfs-tools-bin_0.145ubuntu2_armhf.deb ... 128s Unpacking initramfs-tools-bin (0.145ubuntu2) over (0.142ubuntu35) ... 129s Preparing to unpack .../012-busybox-initramfs_1%3a1.37.0-4ubuntu1_armhf.deb ... 129s Unpacking busybox-initramfs (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 129s Preparing to unpack .../013-python3.12_3.12.9-1_armhf.deb ... 129s Unpacking python3.12 (3.12.9-1) over (3.12.7-3) ... 129s Preparing to unpack .../014-libpython3.12-stdlib_3.12.9-1_armhf.deb ... 129s Unpacking libpython3.12-stdlib:armhf (3.12.9-1) over (3.12.7-3) ... 129s Preparing to unpack .../015-python3.12-minimal_3.12.9-1_armhf.deb ... 129s Unpacking python3.12-minimal (3.12.9-1) over (3.12.7-3) ... 129s Preparing to unpack .../016-libpython3.12-minimal_3.12.9-1_armhf.deb ... 129s Unpacking libpython3.12-minimal:armhf (3.12.9-1) over (3.12.7-3) ... 129s Preparing to unpack .../017-cron_3.0pl1-192ubuntu1_armhf.deb ... 129s Unpacking cron (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 129s Preparing to unpack .../018-rsync_3.4.1-0syncable1_armhf.deb ... 129s Unpacking rsync (3.4.1-0syncable1) over (3.3.0-1) ... 129s Preparing to unpack .../019-python3-lazr.uri_1.0.6-5_all.deb ... 129s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 129s for fn in glob1(directory, "%s.*" % fname): 129s Unpacking python3-lazr.uri (1.0.6-5) over (1.0.6-4) ... 129s Preparing to unpack .../020-python3-launchpadlib_2.1.0-1_all.deb ... 129s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 129s for fn in glob1(directory, "%s.*" % fname): 129s Unpacking python3-launchpadlib (2.1.0-1) over (2.0.0-1) ... 130s Preparing to unpack .../021-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ... 130s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 130s for fn in glob1(directory, "%s.*" % fname): 130s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 130s Preparing to unpack .../022-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 130s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 130s for fn in glob1(directory, "%s.*" % fname): 130s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 130s Preparing to unpack .../023-python3-gi_3.50.0-4_armhf.deb ... 130s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 130s for fn in glob1(directory, "%s.*" % fname): 130s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 130s Preparing to unpack .../024-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ... 130s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 130s Preparing to unpack .../025-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 130s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 130s Preparing to unpack .../026-gcc-14-base_14.2.0-17ubuntu3_armhf.deb ... 130s Unpacking gcc-14-base:armhf (14.2.0-17ubuntu3) over (14.2.0-8ubuntu1) ... 130s Preparing to unpack .../027-libcom-err2_1.47.2-1ubuntu1_armhf.deb ... 130s Unpacking libcom-err2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 130s Preparing to unpack .../028-libss2_1.47.2-1ubuntu1_armhf.deb ... 130s Unpacking libss2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 130s Preparing to unpack .../029-openssl_3.4.1-1ubuntu1_armhf.deb ... 130s Unpacking openssl (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 130s Preparing to unpack .../030-ca-certificates_20241223_all.deb ... 130s Unpacking ca-certificates (20241223) over (20240203) ... 130s Preparing to unpack .../031-krb5-locales_1.21.3-4ubuntu1_all.deb ... 130s Unpacking krb5-locales (1.21.3-4ubuntu1) over (1.21.3-3) ... 130s Preparing to unpack .../032-libfribidi0_1.0.16-1_armhf.deb ... 130s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 130s Preparing to unpack .../033-libgssapi-krb5-2_1.21.3-4ubuntu1_armhf.deb ... 130s Unpacking libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 130s Preparing to unpack .../034-libkrb5-3_1.21.3-4ubuntu1_armhf.deb ... 130s Unpacking libkrb5-3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 131s Preparing to unpack .../035-libkrb5support0_1.21.3-4ubuntu1_armhf.deb ... 131s Unpacking libkrb5support0:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 131s Preparing to unpack .../036-libk5crypto3_1.21.3-4ubuntu1_armhf.deb ... 131s Unpacking libk5crypto3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 131s Preparing to unpack .../037-libicu74_74.2-1ubuntu6_armhf.deb ... 131s Unpacking libicu74:armhf (74.2-1ubuntu6) over (74.2-1ubuntu4) ... 131s Preparing to unpack .../038-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu3_armhf.deb ... 131s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) over (2.12.7+dfsg-3) ... 131s Preparing to unpack .../039-python3-pygments_2.18.0+dfsg-2_all.deb ... 131s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 131s for fn in glob1(directory, "%s.*" % fname): 131s Unpacking python3-pygments (2.18.0+dfsg-2) over (2.18.0+dfsg-1ubuntu1) ... 131s Preparing to unpack .../040-python3-rich_13.9.4-1_all.deb ... 131s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 131s for fn in glob1(directory, "%s.*" % fname): 131s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 131s Preparing to unpack .../041-ucf_3.0050_all.deb ... 131s Unpacking ucf (3.0050) over (3.0043+nmu1) ... 132s Preparing to unpack .../042-rsyslog_8.2412.0-2ubuntu1_armhf.deb ... 132s Unpacking rsyslog (8.2412.0-2ubuntu1) over (8.2406.0-1ubuntu2) ... 132s Preparing to unpack .../043-xxd_2%3a9.1.0967-1ubuntu2_armhf.deb ... 132s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 132s Preparing to unpack .../044-apparmor_4.1.0~beta5-0ubuntu5_armhf.deb ... 133s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 133s dpkg: warning: unable to delete old directory '/lib/apparmor': Directory not empty 133s Preparing to unpack .../045-bash-completion_1%3a2.16.0-7_all.deb ... 133s Unpacking bash-completion (1:2.16.0-7) over (1:2.14.0-2) ... 133s Selecting previously unselected package libjemalloc2:armhf. 133s Preparing to unpack .../046-libjemalloc2_5.3.0-2build1_armhf.deb ... 133s Unpacking libjemalloc2:armhf (5.3.0-2build1) ... 133s Preparing to unpack .../047-libmaxminddb0_1.12.2-1_armhf.deb ... 133s Unpacking libmaxminddb0:armhf (1.12.2-1) over (1.11.0-1) ... 133s Preparing to unpack .../048-liburcu8t64_0.15.1-1_armhf.deb ... 133s Unpacking liburcu8t64:armhf (0.15.1-1) over (0.14.1-1) ... 133s Preparing to unpack .../049-bind9-dnsutils_1%3a9.20.4-3ubuntu1_armhf.deb ... 133s Unpacking bind9-dnsutils (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 133s Preparing to unpack .../050-bind9-host_1%3a9.20.4-3ubuntu1_armhf.deb ... 133s Unpacking bind9-host (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 133s Preparing to unpack .../051-bind9-libs_1%3a9.20.4-3ubuntu1_armhf.deb ... 133s Unpacking bind9-libs:armhf (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 134s Preparing to unpack .../052-libedit2_3.1-20250104-1_armhf.deb ... 134s Unpacking libedit2:armhf (3.1-20250104-1) over (3.1-20240808-1) ... 134s Preparing to unpack .../053-busybox-static_1%3a1.37.0-4ubuntu1_armhf.deb ... 134s Unpacking busybox-static (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 134s Preparing to unpack .../054-cron-daemon-common_3.0pl1-192ubuntu1_all.deb ... 134s Unpacking cron-daemon-common (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 134s Preparing to unpack .../055-dmsetup_2%3a1.02.201-1ubuntu1_armhf.deb ... 134s Unpacking dmsetup (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 134s Preparing to unpack .../056-ed_1.21-1_armhf.deb ... 134s Unpacking ed (1.21-1) over (1.20.2-2) ... 134s Preparing to unpack .../057-gettext-base_0.23.1-1_armhf.deb ... 134s Unpacking gettext-base (0.23.1-1) over (0.22.5-2) ... 134s Preparing to unpack .../058-groff-base_1.23.0-7_armhf.deb ... 134s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 134s Preparing to unpack .../059-libibverbs1_55.0-1ubuntu1_armhf.deb ... 134s Unpacking libibverbs1:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 134s Preparing to unpack .../060-ibverbs-providers_55.0-1ubuntu1_armhf.deb ... 134s Unpacking ibverbs-providers:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 134s Preparing to unpack .../061-inetutils-telnet_2%3a2.5-6ubuntu1_armhf.deb ... 134s Unpacking inetutils-telnet (2:2.5-6ubuntu1) over (2:2.5-5ubuntu1) ... 134s Preparing to unpack .../062-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 134s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 134s Preparing to unpack .../063-libcbor0.10_0.10.2-2ubuntu1_armhf.deb ... 134s Unpacking libcbor0.10:armhf (0.10.2-2ubuntu1) over (0.10.2-1.2ubuntu2) ... 134s Preparing to unpack .../064-nftables_1.1.1-1build1_armhf.deb ... 134s Unpacking nftables (1.1.1-1build1) over (1.1.0-2) ... 134s Preparing to unpack .../065-libnftables1_1.1.1-1build1_armhf.deb ... 134s Unpacking libnftables1:armhf (1.1.1-1build1) over (1.1.0-2) ... 134s Preparing to unpack .../066-libpcap0.8t64_1.10.5-2ubuntu1_armhf.deb ... 134s Unpacking libpcap0.8t64:armhf (1.10.5-2ubuntu1) over (1.10.5-1ubuntu1) ... 134s Preparing to unpack .../067-libpng16-16t64_1.6.46-4_armhf.deb ... 134s Unpacking libpng16-16t64:armhf (1.6.46-4) over (1.6.44-2) ... 134s Preparing to unpack .../068-libxkbcommon0_1.7.0-2_armhf.deb ... 134s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 134s Preparing to unpack .../069-libplymouth5_24.004.60-2ubuntu5_armhf.deb ... 134s Unpacking libplymouth5:armhf (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 134s Preparing to unpack .../070-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 134s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 134s Preparing to unpack .../071-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 134s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 135s Preparing to unpack .../072-libusb-1.0-0_2%3a1.0.27-2_armhf.deb ... 135s Unpacking libusb-1.0-0:armhf (2:1.0.27-2) over (2:1.0.27-1) ... 135s Preparing to unpack .../073-libxdmcp6_1%3a1.1.5-1_armhf.deb ... 135s Unpacking libxdmcp6:armhf (1:1.1.5-1) over (1:1.1.3-0ubuntu6) ... 135s Preparing to unpack .../074-lshw_02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1_armhf.deb ... 135s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) over (02.19.git.2021.06.19.996aaad9c7-2ubuntu2) ... 135s Preparing to unpack .../075-lsof_4.99.4+dfsg-2_armhf.deb ... 135s Unpacking lsof (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 135s Preparing to unpack .../076-liblsof0_4.99.4+dfsg-2_armhf.deb ... 135s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 135s Preparing to unpack .../077-nano_8.3-1_armhf.deb ... 135s Unpacking nano (8.3-1) over (8.2-1) ... 135s Preparing to unpack .../078-pci.ids_0.0~2025.02.12-1_all.deb ... 135s Unpacking pci.ids (0.0~2025.02.12-1) over (0.0~2024.10.24-1) ... 135s Preparing to unpack .../079-plymouth-theme-ubuntu-text_24.004.60-2ubuntu5_armhf.deb ... 135s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 135s Preparing to unpack .../080-libpackagekit-glib2-18_1.3.0-3build1_armhf.deb ... 135s Unpacking libpackagekit-glib2-18:armhf (1.3.0-3build1) over (1.3.0-2) ... 135s Preparing to unpack .../081-packagekit-tools_1.3.0-3build1_armhf.deb ... 135s Unpacking packagekit-tools (1.3.0-3build1) over (1.3.0-2) ... 135s Preparing to unpack .../082-polkitd_126-2_armhf.deb ... 135s Unpacking polkitd (126-2) over (125-2ubuntu1) ... 135s Preparing to unpack .../083-libpolkit-agent-1-0_126-2_armhf.deb ... 135s Unpacking libpolkit-agent-1-0:armhf (126-2) over (125-2ubuntu1) ... 135s Preparing to unpack .../084-libpolkit-gobject-1-0_126-2_armhf.deb ... 135s Unpacking libpolkit-gobject-1-0:armhf (126-2) over (125-2ubuntu1) ... 135s Preparing to unpack .../085-libcurl3t64-gnutls_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 135s Unpacking libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 135s Preparing to unpack .../086-libappstream5_1.0.4-1_armhf.deb ... 135s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 136s Preparing to unpack .../087-libgstreamer1.0-0_1.25.50-1_armhf.deb ... 136s Unpacking libgstreamer1.0-0:armhf (1.25.50-1) over (1.24.9-1) ... 136s Preparing to unpack .../088-packagekit_1.3.0-3build1_armhf.deb ... 136s Unpacking packagekit (1.3.0-3build1) over (1.3.0-2) ... 136s Preparing to unpack .../089-plymouth_24.004.60-2ubuntu5_armhf.deb ... 136s Unpacking plymouth (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 136s Preparing to unpack .../090-powermgmt-base_1.38_all.deb ... 136s Unpacking powermgmt-base (1.38) over (1.37+nmu1ubuntu1) ... 136s Preparing to unpack .../091-psmisc_23.7-2_armhf.deb ... 136s Unpacking psmisc (23.7-2) over (23.7-1build1) ... 136s Preparing to unpack .../092-publicsuffix_20250108.1153-0.1_all.deb ... 136s Unpacking publicsuffix (20250108.1153-0.1) over (20231001.0357-0.1) ... 136s Preparing to unpack .../093-python3-distro-info_1.13_all.deb ... 136s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 136s for fn in glob1(directory, "%s.*" % fname): 136s Unpacking python3-distro-info (1.13) over (1.12) ... 136s Preparing to unpack .../094-python3.13-gdbm_3.13.2-1_armhf.deb ... 136s Unpacking python3.13-gdbm (3.13.2-1) over (3.13.0-2) ... 136s Preparing to unpack .../095-python3.12-gdbm_3.12.9-1_armhf.deb ... 136s Unpacking python3.12-gdbm (3.12.9-1) over (3.12.7-3) ... 136s Preparing to unpack .../096-python3-gdbm_3.13.1-1_armhf.deb ... 136s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 136s Preparing to unpack .../097-telnet_0.17+2.5-6ubuntu1_all.deb ... 136s Unpacking telnet (0.17+2.5-6ubuntu1) over (0.17+2.5-5ubuntu1) ... 136s Preparing to unpack .../098-ubuntu-standard_1.547_armhf.deb ... 136s Unpacking ubuntu-standard (1.547) over (1.544) ... 136s Preparing to unpack .../099-ufw_0.36.2-9_all.deb ... 136s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 136s for fn in glob1(directory, "%s.*" % fname): 136s Unpacking ufw (0.36.2-9) over (0.36.2-8) ... 137s Preparing to unpack .../100-usb.ids_2025.01.14-1_all.deb ... 137s Unpacking usb.ids (2025.01.14-1) over (2024.07.04-1) ... 137s Preparing to unpack .../101-xauth_1%3a1.1.2-1.1_armhf.deb ... 137s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 137s Preparing to unpack .../102-appstream_1.0.4-1_armhf.deb ... 137s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 137s Preparing to unpack .../103-libctf0_2.44-2ubuntu1_armhf.deb ... 137s Unpacking libctf0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 137s Preparing to unpack .../104-libctf-nobfd0_2.44-2ubuntu1_armhf.deb ... 137s Unpacking libctf-nobfd0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 137s Preparing to unpack .../105-binutils-arm-linux-gnueabihf_2.44-2ubuntu1_armhf.deb ... 137s Unpacking binutils-arm-linux-gnueabihf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 137s Preparing to unpack .../106-libbinutils_2.44-2ubuntu1_armhf.deb ... 137s Unpacking libbinutils:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 137s Preparing to unpack .../107-binutils_2.44-2ubuntu1_armhf.deb ... 137s Unpacking binutils (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 137s Preparing to unpack .../108-binutils-common_2.44-2ubuntu1_armhf.deb ... 137s Unpacking binutils-common:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 137s Preparing to unpack .../109-libsframe1_2.44-2ubuntu1_armhf.deb ... 137s Unpacking libsframe1:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 137s Preparing to unpack .../110-btrfs-progs_6.12-1build1_armhf.deb ... 137s Unpacking btrfs-progs (6.12-1build1) over (6.6.3-1.2) ... 137s Preparing to unpack .../111-python3-certifi_2025.1.31+ds-1_all.deb ... 137s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 137s for fn in glob1(directory, "%s.*" % fname): 137s Unpacking python3-certifi (2025.1.31+ds-1) over (2024.8.30+dfsg-1) ... 137s Preparing to unpack .../112-python3-chardet_5.2.0+dfsg-2_all.deb ... 137s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 137s for fn in glob1(directory, "%s.*" % fname): 137s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 137s Preparing to unpack .../113-python3-idna_3.10-1_all.deb ... 137s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 137s for fn in glob1(directory, "%s.*" % fname): 137s Unpacking python3-idna (3.10-1) over (3.8-2) ... 138s Preparing to unpack .../114-python3-urllib3_2.3.0-1_all.deb ... 138s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 138s for fn in glob1(directory, "%s.*" % fname): 138s Unpacking python3-urllib3 (2.3.0-1) over (2.0.7-2ubuntu0.1) ... 138s Preparing to unpack .../115-python3-requests_2.32.3+dfsg-4ubuntu1_all.deb ... 138s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 138s for fn in glob1(directory, "%s.*" % fname): 138s Unpacking python3-requests (2.32.3+dfsg-4ubuntu1) over (2.32.3+dfsg-1ubuntu1) ... 138s Preparing to unpack .../116-python3-jinja2_3.1.5-2_all.deb ... 138s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 138s for fn in glob1(directory, "%s.*" % fname): 138s Unpacking python3-jinja2 (3.1.5-2) over (3.1.3-1ubuntu1) ... 138s Preparing to unpack .../117-python3-json-pointer_2.4-3_all.deb ... 138s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 138s for fn in glob1(directory, "%s.*" % fname): 138s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 138s Preparing to unpack .../118-python3-jsonpatch_1.32-5_all.deb ... 138s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 138s for fn in glob1(directory, "%s.*" % fname): 138s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 138s Preparing to unpack .../119-python3-attr_25.1.0-1_all.deb ... 138s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 138s for fn in glob1(directory, "%s.*" % fname): 138s Unpacking python3-attr (25.1.0-1) over (23.2.0-2) ... 138s Preparing to unpack .../120-python3-referencing_0.35.1-2ubuntu1_all.deb ... 138s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 138s for fn in glob1(directory, "%s.*" % fname): 139s Unpacking python3-referencing (0.35.1-2ubuntu1) over (0.35.1-1ubuntu1) ... 139s Preparing to unpack .../121-python3-jsonschema_4.19.2-6ubuntu1_all.deb ... 139s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 139s for fn in glob1(directory, "%s.*" % fname): 139s Unpacking python3-jsonschema (4.19.2-6ubuntu1) over (4.19.2-3ubuntu1) ... 139s Preparing to unpack .../122-python3-jwt_2.10.1-2_all.deb ... 139s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 139s for fn in glob1(directory, "%s.*" % fname): 139s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 139s Preparing to unpack .../123-python3-oauthlib_3.2.2-3_all.deb ... 139s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 139s for fn in glob1(directory, "%s.*" % fname): 139s Unpacking python3-oauthlib (3.2.2-3) over (3.2.2-2) ... 139s Preparing to unpack .../124-cloud-init-base_25.1-0ubuntu1_all.deb ... 139s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 139s for fn in glob1(directory, "%s.*" % fname): 139s Unpacking cloud-init-base (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 140s dpkg: warning: unable to delete old directory '/lib/systemd/system/sshd-keygen@.service.d': Directory not empty 140s Preparing to unpack .../125-cryptsetup-bin_2%3a2.7.5-1ubuntu2_armhf.deb ... 140s Unpacking cryptsetup-bin (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 140s Preparing to unpack .../126-curl_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 140s Unpacking curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 140s Preparing to unpack .../127-libcurl4t64_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 140s Unpacking libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 140s Preparing to unpack .../128-dpkg-dev_1.22.11ubuntu4_all.deb ... 140s Unpacking dpkg-dev (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 140s Preparing to unpack .../129-libdpkg-perl_1.22.11ubuntu4_all.deb ... 140s Unpacking libdpkg-perl (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 140s Preparing to unpack .../130-make_4.4.1-1_armhf.deb ... 140s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 140s Preparing to unpack .../131-lto-disabled-list_56_all.deb ... 140s Unpacking lto-disabled-list (56) over (54) ... 140s Preparing to unpack .../132-libarchive13t64_3.7.7-0ubuntu1_armhf.deb ... 140s Unpacking libarchive13t64:armhf (3.7.7-0ubuntu1) over (3.7.4-1.1) ... 140s Preparing to unpack .../133-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 140s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 140s Preparing to unpack .../134-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 140s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 140s Preparing to unpack .../135-fwupd_2.0.6-3_armhf.deb ... 140s Unpacking fwupd (2.0.6-3) over (2.0.2-1) ... 141s Preparing to unpack .../136-libfwupd3_2.0.6-3_armhf.deb ... 141s Unpacking libfwupd3:armhf (2.0.6-3) over (2.0.2-1) ... 141s Preparing to unpack .../137-libprotobuf-c1_1.5.1-1ubuntu1_armhf.deb ... 141s Unpacking libprotobuf-c1:armhf (1.5.1-1ubuntu1) over (1.4.1-1ubuntu4) ... 141s Preparing to unpack .../138-libqmi-proxy_1.35.6-1_armhf.deb ... 141s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 141s Preparing to unpack .../139-libqmi-glib5_1.35.6-1_armhf.deb ... 141s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 141s Preparing to unpack .../140-gir1.2-packagekitglib-1.0_1.3.0-3build1_armhf.deb ... 141s Unpacking gir1.2-packagekitglib-1.0 (1.3.0-3build1) over (1.3.0-2) ... 141s Preparing to unpack .../141-gnupg-l10n_2.4.4-2ubuntu22_all.deb ... 141s Unpacking gnupg-l10n (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 141s Preparing to unpack .../142-htop_3.3.0-5_armhf.deb ... 141s Unpacking htop (3.3.0-5) over (3.3.0-4build1) ... 141s Preparing to unpack .../143-libblockdev-utils3_3.3.0-1_armhf.deb ... 141s Unpacking libblockdev-utils3:armhf (3.3.0-1) over (3.2.1-1) ... 141s Preparing to unpack .../144-libnspr4_2%3a4.36-1ubuntu1_armhf.deb ... 141s Unpacking libnspr4:armhf (2:4.36-1ubuntu1) over (2:4.35-1.1ubuntu2) ... 141s Preparing to unpack .../145-libnss3_2%3a3.108-1ubuntu1_armhf.deb ... 141s Unpacking libnss3:armhf (2:3.108-1ubuntu1) over (2:3.103-1) ... 141s Preparing to unpack .../146-libgpgme11t64_1.24.2-1ubuntu1_armhf.deb ... 141s Unpacking libgpgme11t64:armhf (1.24.2-1ubuntu1) over (1.24.0-2ubuntu1) ... 141s Preparing to unpack .../147-libvolume-key1_0.3.12-9_armhf.deb ... 141s Unpacking libvolume-key1:armhf (0.3.12-9) over (0.3.12-8) ... 141s Preparing to unpack .../148-libblockdev-crypto3_3.3.0-1_armhf.deb ... 141s Unpacking libblockdev-crypto3:armhf (3.3.0-1) over (3.2.1-1) ... 141s Preparing to unpack .../149-libblockdev-fs3_3.3.0-1_armhf.deb ... 141s Unpacking libblockdev-fs3:armhf (3.3.0-1) over (3.2.1-1) ... 141s Preparing to unpack .../150-libblockdev-loop3_3.3.0-1_armhf.deb ... 141s Unpacking libblockdev-loop3:armhf (3.3.0-1) over (3.2.1-1) ... 141s Preparing to unpack .../151-libblockdev-mdraid3_3.3.0-1_armhf.deb ... 141s Unpacking libblockdev-mdraid3:armhf (3.3.0-1) over (3.2.1-1) ... 141s Preparing to unpack .../152-libnvme1t64_1.11.1-2_armhf.deb ... 141s Unpacking libnvme1t64 (1.11.1-2) over (1.11.1-1) ... 141s Preparing to unpack .../153-libblockdev-nvme3_3.3.0-1_armhf.deb ... 141s Unpacking libblockdev-nvme3:armhf (3.3.0-1) over (3.2.1-1) ... 141s Preparing to unpack .../154-libblockdev-part3_3.3.0-1_armhf.deb ... 141s Unpacking libblockdev-part3:armhf (3.3.0-1) over (3.2.1-1) ... 141s Preparing to unpack .../155-libblockdev-swap3_3.3.0-1_armhf.deb ... 141s Unpacking libblockdev-swap3:armhf (3.3.0-1) over (3.2.1-1) ... 141s Preparing to unpack .../156-libblockdev3_3.3.0-1_armhf.deb ... 141s Unpacking libblockdev3:armhf (3.3.0-1) over (3.2.1-1) ... 141s Preparing to unpack .../157-libftdi1-2_1.5-8_armhf.deb ... 141s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 142s Preparing to unpack .../158-libgudev-1.0-0_1%3a238-6_armhf.deb ... 142s Unpacking libgudev-1.0-0:armhf (1:238-6) over (1:238-5ubuntu1) ... 142s Selecting previously unselected package libicu76:armhf. 142s Preparing to unpack .../159-libicu76_76.1-1ubuntu2_armhf.deb ... 142s Unpacking libicu76:armhf (76.1-1ubuntu2) ... 142s Preparing to unpack .../160-libsasl2-modules_2.1.28+dfsg1-8build1_armhf.deb ... 142s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 142s Preparing to unpack .../161-udisks2_2.10.1-11ubuntu2_armhf.deb ... 142s Unpacking udisks2 (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 142s Preparing to unpack .../162-libudisks2-0_2.10.1-11ubuntu2_armhf.deb ... 142s Unpacking libudisks2-0:armhf (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 142s Preparing to unpack .../163-libwrap0_7.6.q-35_armhf.deb ... 142s Unpacking libwrap0:armhf (7.6.q-35) over (7.6.q-33) ... 142s Selecting previously unselected package linux-headers-6.12.0-15. 142s Preparing to unpack .../164-linux-headers-6.12.0-15_6.12.0-15.15_all.deb ... 142s Unpacking linux-headers-6.12.0-15 (6.12.0-15.15) ... 145s Selecting previously unselected package linux-headers-6.12.0-15-generic. 145s Preparing to unpack .../165-linux-headers-6.12.0-15-generic_6.12.0-15.15_armhf.deb ... 145s Unpacking linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 147s Preparing to unpack .../166-linux-headers-generic_6.12.0-15.15+1_armhf.deb ... 147s Unpacking linux-headers-generic (6.12.0-15.15+1) over (6.11.0-8.8) ... 147s Preparing to unpack .../167-pollinate_4.33-4ubuntu2_all.deb ... 147s Unpacking pollinate (4.33-4ubuntu2) over (4.33-4ubuntu1) ... 147s Preparing to unpack .../168-python3-babel_2.17.0-1_all.deb ... 147s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 147s for fn in glob1(directory, "%s.*" % fname): 147s Unpacking python3-babel (2.17.0-1) over (2.16.0-1) ... 147s Preparing to unpack .../169-python-babel-localedata_2.17.0-1_all.deb ... 147s Unpacking python-babel-localedata (2.17.0-1) over (2.16.0-1) ... 148s Preparing to unpack .../170-python3-more-itertools_10.6.0-1_all.deb ... 148s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 148s for fn in glob1(directory, "%s.*" % fname): 148s Unpacking python3-more-itertools (10.6.0-1) over (10.5.0-1) ... 148s Preparing to unpack .../171-python3-openssl_25.0.0-1_all.deb ... 148s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 148s for fn in glob1(directory, "%s.*" % fname): 148s Unpacking python3-openssl (25.0.0-1) over (24.2.1-1) ... 148s Preparing to unpack .../172-python3-pkg-resources_75.6.0-1_all.deb ... 148s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 148s for fn in glob1(directory, "%s.*" % fname): 148s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 148s Preparing to unpack .../173-python3-setuptools_75.6.0-1_all.deb ... 148s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 148s for fn in glob1(directory, "%s.*" % fname): 148s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 148s Preparing to unpack .../174-software-properties-common_0.109_all.deb ... 148s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 148s for fn in glob1(directory, "%s.*" % fname): 148s Unpacking software-properties-common (0.109) over (0.105) ... 149s Preparing to unpack .../175-python3-software-properties_0.109_all.deb ... 149s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 149s for fn in glob1(directory, "%s.*" % fname): 149s Unpacking python3-software-properties (0.109) over (0.105) ... 149s Preparing to unpack .../176-python3-wadllib_2.0.0-2_all.deb ... 149s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 149s for fn in glob1(directory, "%s.*" % fname): 149s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 149s Preparing to unpack .../177-tmux_3.5a-3_armhf.deb ... 149s Unpacking tmux (3.5a-3) over (3.4-7) ... 149s Preparing to unpack .../178-unattended-upgrades_2.12ubuntu4_all.deb ... 149s Unpacking unattended-upgrades (2.12ubuntu4) over (2.9.1+nmu4ubuntu1) ... 149s dpkg: warning: unable to delete old directory '/lib/systemd/system-sleep': Directory not empty 149s Preparing to unpack .../179-xfsprogs_6.12.0-1ubuntu1_armhf.deb ... 149s Unpacking xfsprogs (6.12.0-1ubuntu1) over (6.8.0-2.2ubuntu2) ... 149s Preparing to unpack .../180-zstd_1.5.6+dfsg-2_armhf.deb ... 149s Unpacking zstd (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 149s Preparing to unpack .../181-cloud-init_25.1-0ubuntu1_all.deb ... 149s Unpacking cloud-init (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 149s Preparing to unpack .../182-kpartx_0.9.9-1ubuntu4_armhf.deb ... 149s Unpacking kpartx (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 149s Preparing to unpack .../183-multipath-tools_0.9.9-1ubuntu4_armhf.deb ... 149s Unpacking multipath-tools (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 149s Setting up libip4tc2:armhf (1.8.11-2ubuntu1) ... 149s Setting up powermgmt-base (1.38) ... 149s Setting up motd-news-config (13.6ubuntu1) ... 149s Setting up distro-info (1.13) ... 149s Setting up liburcu8t64:armhf (0.15.1-1) ... 149s Setting up libibverbs1:armhf (55.0-1ubuntu1) ... 149s Setting up libxdmcp6:armhf (1:1.1.5-1) ... 149s Setting up lto-disabled-list (56) ... 149s Setting up pci.ids (0.0~2025.02.12-1) ... 149s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 149s Setting up apt-utils (2.9.30ubuntu1) ... 149s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 149s Setting up init (1.68) ... 149s Setting up ibverbs-providers:armhf (55.0-1ubuntu1) ... 149s Setting up gcc-14-base:armhf (14.2.0-17ubuntu3) ... 149s Setting up psmisc (23.7-2) ... 149s Setting up libcbor0.10:armhf (0.10.2-2ubuntu1) ... 149s Setting up libyaml-0-2:armhf (0.2.5-2) ... 149s Setting up libip6tc2:armhf (1.8.11-2ubuntu1) ... 149s Setting up liblsof0 (4.99.4+dfsg-2) ... 149s Setting up libmaxminddb0:armhf (1.12.2-1) ... 149s Setting up python3.12-gdbm (3.12.9-1) ... 149s Setting up libedit2:armhf (3.1-20250104-1) ... 149s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-8build1) ... 149s Setting up netcat-openbsd (1.228-1) ... 149s Setting up libpython3.12-minimal:armhf (3.12.9-1) ... 149s Setting up binutils-common:armhf (2.44-2ubuntu1) ... 149s Setting up libctf-nobfd0:armhf (2.44-2ubuntu1) ... 149s Setting up gettext-base (0.23.1-1) ... 149s Setting up libnss-systemd:armhf (257.2-3ubuntu1) ... 149s Setting up libnftnl11:armhf (1.2.8-1) ... 149s Setting up krb5-locales (1.21.3-4ubuntu1) ... 149s Setting up libcom-err2:armhf (1.47.2-1ubuntu1) ... 149s Setting up libjemalloc2:armhf (5.3.0-2build1) ... 149s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) ... 149s Setting up locales (2.40-4ubuntu1) ... 150s Generating locales (this might take a while)... 152s en_US.UTF-8... done 152s Generation complete. 152s Setting up libldap-common (2.6.9+dfsg-1~exp2ubuntu1) ... 152s Installing new version of config file /etc/ldap/ldap.conf ... 152s Setting up libprotobuf-c1:armhf (1.5.1-1ubuntu1) ... 152s Setting up xxd (2:9.1.0967-1ubuntu2) ... 152s Setting up libsframe1:armhf (2.44-2ubuntu1) ... 152s Setting up python-babel-localedata (2.17.0-1) ... 152s Setting up libkrb5support0:armhf (1.21.3-4ubuntu1) ... 152s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) ... 152s Setting up tzdata (2025a-2ubuntu1) ... 152s 152s Current default time zone: 'Etc/UTC' 152s Local time is now: Sat Feb 22 04:53:52 UTC 2025. 152s Universal Time is now: Sat Feb 22 04:53:52 UTC 2025. 152s Run 'dpkg-reconfigure tzdata' if you wish to change it. 152s 152s Setting up eject (2.40.2-14ubuntu1) ... 152s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 152s Installing new version of config file /etc/apparmor.d/abstractions/dconf ... 152s Installing new version of config file /etc/apparmor.d/abstractions/mesa ... 152s Installing new version of config file /etc/apparmor.d/abstractions/nameservice ... 152s Installing new version of config file /etc/apparmor.d/abstractions/php ... 152s Installing new version of config file /etc/apparmor.d/abstractions/python ... 153s Installing new version of config file /etc/apparmor.d/sbuild ... 153s Installing new version of config file /etc/apparmor.d/sbuild-abort ... 153s Installing new version of config file /etc/apparmor.d/sbuild-adduser ... 153s Installing new version of config file /etc/apparmor.d/sbuild-apt ... 153s Installing new version of config file /etc/apparmor.d/sbuild-checkpackages ... 153s Installing new version of config file /etc/apparmor.d/sbuild-clean ... 153s Installing new version of config file /etc/apparmor.d/sbuild-createchroot ... 153s Installing new version of config file /etc/apparmor.d/sbuild-destroychroot ... 153s Installing new version of config file /etc/apparmor.d/sbuild-distupgrade ... 153s Installing new version of config file /etc/apparmor.d/sbuild-hold ... 153s Installing new version of config file /etc/apparmor.d/sbuild-shell ... 153s Installing new version of config file /etc/apparmor.d/sbuild-unhold ... 153s Installing new version of config file /etc/apparmor.d/sbuild-update ... 153s Installing new version of config file /etc/apparmor.d/sbuild-upgrade ... 153s Installing new version of config file /etc/apparmor.d/slirp4netns ... 153s Installing new version of config file /etc/apparmor.d/toybox ... 153s Installing new version of config file /etc/apparmor.d/transmission ... 153s Installing new version of config file /etc/apparmor.d/tunables/global ... 153s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 153s 153s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 153s 153s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 153s 154s Reloading AppArmor profiles 154s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "unpriv_unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "remmina". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 154s 154s Error: At least one profile failed to load 154s Setting up libglib2.0-data (2.83.4-1) ... 154s Setting up vim-common (2:9.1.0967-1ubuntu2) ... 154s Setting up busybox-static (1:1.37.0-4ubuntu1) ... 154s Setting up libwrap0:armhf (7.6.q-35) ... 154s Setting up libnvme1t64 (1.11.1-2) ... 154s Setting up make (4.4.1-1) ... 154s Setting up libnspr4:armhf (2:4.36-1ubuntu1) ... 154s Setting up gnupg-l10n (2.4.4-2ubuntu22) ... 154s Setting up ed (1.21-1) ... 154s Setting up bash-completion (1:2.16.0-7) ... 154s Setting up libncurses6:armhf (6.5+20250125-2) ... 154s Setting up libdbus-1-3:armhf (1.16.0-1ubuntu1) ... 154s Setting up libfribidi0:armhf (1.0.16-1) ... 154s Setting up libpng16-16t64:armhf (1.6.46-4) ... 154s Setting up systemd-timesyncd (257.2-3ubuntu1) ... 155s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 155s Setting up libatomic1:armhf (15-20250213-1ubuntu1) ... 155s Setting up udev (257.2-3ubuntu1) ... 156s Setting up libss2:armhf (1.47.2-1ubuntu1) ... 156s Setting up usb.ids (2025.01.14-1) ... 156s Setting up dhcpcd-base (1:10.1.0-7) ... 156s Installing new version of config file /etc/dhcpcd.conf ... 156s Setting up ucf (3.0050) ... 156s Installing new version of config file /etc/ucf.conf ... 156s Setting up libncursesw6:armhf (6.5+20250125-2) ... 156s Setting up libk5crypto3:armhf (1.21.3-4ubuntu1) ... 156s Setting up busybox-initramfs (1:1.37.0-4ubuntu1) ... 156s Setting up libxtables12:armhf (1.8.11-2ubuntu1) ... 156s Setting up logsave (1.47.2-1ubuntu1) ... 156s Setting up libsasl2-2:armhf (2.1.28+dfsg1-8build1) ... 156s Setting up lsof (4.99.4+dfsg-2) ... 156s Setting up libfdisk1:armhf (2.40.2-14ubuntu1) ... 156s Setting up libicu74:armhf (74.2-1ubuntu6) ... 156s Setting up nano (8.3-1) ... 156s Installing new version of config file /etc/nanorc ... 156s Setting up libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) ... 156s Setting up whiptail (0.52.24-4ubuntu1) ... 156s Setting up python-apt-common (2.9.9) ... 156s Setting up dracut-install (106-2ubuntu1) ... 156s Setting up perl-modules-5.40 (5.40.1-2) ... 156s Setting up dmsetup (2:1.02.201-1ubuntu1) ... 156s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 157s uuidd.service is a disabled or a static unit not running, not starting it. 157s Setting up xauth (1:1.1.2-1.1) ... 157s Setting up groff-base (1.23.0-7) ... 157s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 157s Setting up dbus-session-bus-common (1.16.0-1ubuntu1) ... 157s Setting up kpartx (0.9.9-1ubuntu4) ... 157s Setting up libpcap0.8t64:armhf (1.10.5-2ubuntu1) ... 157s Setting up libcryptsetup12:armhf (2:2.7.5-1ubuntu2) ... 157s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 157s Setting up mawk (1.3.4.20250131-1) ... 157s Setting up libkrb5-3:armhf (1.21.3-4ubuntu1) ... 157s Setting up libusb-1.0-0:armhf (2:1.0.27-2) ... 157s Setting up libicu76:armhf (76.1-1ubuntu2) ... 157s Setting up linux-headers-6.12.0-15 (6.12.0-15.15) ... 157s Setting up keyboard-configuration (1.226ubuntu3) ... 158s Your console font configuration will be updated the next time your system 158s boots. If you want to update it now, run 'setupcon' from a virtual console. 158s update-initramfs: deferring update (trigger activated) 158s Setting up libbinutils:armhf (2.44-2ubuntu1) ... 158s Setting up dbus-system-bus-common (1.16.0-1ubuntu1) ... 158s Setting up openssl (3.4.1-1ubuntu1) ... 158s Installing new version of config file /etc/ssl/openssl.cnf ... 158s Setting up libgpg-error-l10n (1.51-3) ... 158s Setting up iputils-ping (3:20240905-1ubuntu1) ... 158s Setting up readline-common (8.2-6) ... 158s Setting up publicsuffix (20250108.1153-0.1) ... 158s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) ... 158s Setting up tmux (3.5a-3) ... 158s Setting up zstd (1.5.6+dfsg-2) ... 158s Setting up libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) ... 158s Setting up dbus-bin (1.16.0-1ubuntu1) ... 158s Setting up libbpf1:armhf (1:1.5.0-2) ... 158s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 158s Setting up rsync (3.4.1-0syncable1) ... 159s rsync.service is a disabled or a static unit not running, not starting it. 159s Setting up python3.13-gdbm (3.13.2-1) ... 159s Setting up ethtool (1:6.11-1) ... 159s Setting up gnupg-utils (2.4.4-2ubuntu22) ... 159s Setting up initramfs-tools-bin (0.145ubuntu2) ... 159s Setting up ncurses-term (6.5+20250125-2) ... 159s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 159s Setting up cron-daemon-common (3.0pl1-192ubuntu1) ... 159s Setting up libxkbcommon0:armhf (1.7.0-2) ... 159s Setting up libctf0:armhf (2.44-2ubuntu1) ... 159s Setting up cryptsetup-bin (2:2.7.5-1ubuntu2) ... 159s Setting up pinentry-curses (1.3.1-2ubuntu2) ... 159s Setting up python3.12-minimal (3.12.9-1) ... 160s Setting up libnftables1:armhf (1.1.1-1build1) ... 160s Setting up nftables (1.1.1-1build1) ... 161s Setting up iptables (1.8.11-2ubuntu1) ... 161s Setting up htop (3.3.0-5) ... 161s Setting up iproute2 (6.13.0-1ubuntu1) ... 161s Setting up btrfs-progs (6.12-1build1) ... 161s Setting up cron (3.0pl1-192ubuntu1) ... 162s Setting up rsyslog (8.2412.0-2ubuntu1) ... 162s Installing new version of config file /etc/apparmor.d/usr.sbin.rsyslogd ... 162s info: The user `syslog' is already a member of `adm'. 163s apparmor_parser: Unable to replace "rsyslogd". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 163s 163s Setting up inetutils-telnet (2:2.5-6ubuntu1) ... 163s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 163s update-initramfs: deferring update (trigger activated) 164s Setting up libnss3:armhf (2:3.108-1ubuntu1) ... 164s Setting up dbus-daemon (1.16.0-1ubuntu1) ... 164s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ... 164s Setting up multipath-tools (0.9.9-1ubuntu4) ... 165s Setting up libperl5.40:armhf (5.40.1-2) ... 165s Setting up libftdi1-2:armhf (1.5-8) ... 165s Setting up ca-certificates (20241223) ... 167s Updating certificates in /etc/ssl/certs... 169s rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL 169s 7 added, 1 removed; done. 169s Setting up perl (5.40.1-2) ... 169s Setting up libglib2.0-0t64:armhf (2.83.4-1) ... 169s No schema files found: doing nothing. 169s Setting up systemd-cryptsetup (257.2-3ubuntu1) ... 169s Setting up dbus (1.16.0-1ubuntu1) ... 169s A reboot is required to replace the running dbus-daemon. 169s Please reboot the system when convenient. 169s Setting up libblockdev-utils3:armhf (3.3.0-1) ... 169s Setting up linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 169s Setting up libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) ... 169s Setting up gir1.2-glib-2.0:armhf (2.83.4-1) ... 169s Setting up libdpkg-perl (1.22.11ubuntu4) ... 169s Setting up libreadline8t64:armhf (8.2-6) ... 169s Setting up libblockdev-nvme3:armhf (3.3.0-1) ... 169s Setting up libblockdev-fs3:armhf (3.3.0-1) ... 169s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 169s Setting up libplymouth5:armhf (24.004.60-2ubuntu5) ... 169s Setting up gpgconf (2.4.4-2ubuntu22) ... 169s Setting up libpam-systemd:armhf (257.2-3ubuntu1) ... 169s Setting up libgirepository-1.0-1:armhf (1.82.0-4) ... 169s Setting up initramfs-tools-core (0.145ubuntu2) ... 169s Setting up binutils-arm-linux-gnueabihf (2.44-2ubuntu1) ... 169s Setting up libarchive13t64:armhf (3.7.7-0ubuntu1) ... 169s Setting up libpython3.13-stdlib:armhf (3.13.2-1) ... 169s Setting up gpg (2.4.4-2ubuntu22) ... 169s Setting up libgudev-1.0-0:armhf (1:238-6) ... 169s Setting up libpolkit-gobject-1-0:armhf (126-2) ... 169s Setting up libgstreamer1.0-0:armhf (1.25.50-1) ... 169s Setcap worked! gst-ptp-helper is not suid! 169s Setting up libudisks2-0:armhf (2.10.1-11ubuntu2) ... 169s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 169s Setting up systemd-resolved (257.2-3ubuntu1) ... 170s Setting up gpg-agent (2.4.4-2ubuntu22) ... 170s Setting up telnet (0.17+2.5-6ubuntu1) ... 170s Setting up libpython3.12-stdlib:armhf (3.12.9-1) ... 170s Setting up initramfs-tools (0.145ubuntu2) ... 170s update-initramfs: deferring update (trigger activated) 170s Setting up libblockdev-mdraid3:armhf (3.3.0-1) ... 170s Setting up libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 170s Setting up bind9-libs:armhf (1:9.20.4-3ubuntu1) ... 170s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 170s Setting up python3.13 (3.13.2-1) ... 171s Setting up libblockdev-swap3:armhf (3.3.0-1) ... 171s Setting up plymouth (24.004.60-2ubuntu5) ... 171s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 172s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 172s Setting up python3.12 (3.12.9-1) ... 173s Setting up libblockdev-loop3:armhf (3.3.0-1) ... 173s Setting up gpgsm (2.4.4-2ubuntu22) ... 173s Setting up libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 173s Setting up libglib2.0-bin (2.83.4-1) ... 173s Setting up libpackagekit-glib2-18:armhf (1.3.0-3build1) ... 173s Setting up libappstream5:armhf (1.0.4-1) ... 173s Setting up libqmi-glib5:armhf (1.35.6-1) ... 173s Setting up python3 (3.13.1-1~exp2) ... 173s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 173s for fn in glob1(directory, "%s.*" % fname): 173s Setting up linux-headers-generic (6.12.0-15.15+1) ... 173s Setting up binutils (2.44-2ubuntu1) ... 173s Setting up libnetplan1:armhf (1.1.2-2ubuntu1) ... 173s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 174s Setting up libblockdev3:armhf (3.3.0-1) ... 174s Setting up fdisk (2.40.2-14ubuntu1) ... 174s Setting up dpkg-dev (1.22.11ubuntu4) ... 174s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 174s Setting up libblockdev-part3:armhf (3.3.0-1) ... 174s Setting up dirmngr (2.4.4-2ubuntu22) ... 174s Setting up gir1.2-packagekitglib-1.0 (1.3.0-3build1) ... 174s Setting up dbus-user-session (1.16.0-1ubuntu1) ... 174s Setting up python3-jinja2 (3.1.5-2) ... 174s Setting up python3-pygments (2.18.0+dfsg-2) ... 176s Setting up python3-chardet (5.2.0+dfsg-2) ... 177s Setting up appstream (1.0.4-1) ... 179s ✔ Metadata cache was updated successfully. 179s Setting up python3-certifi (2025.1.31+ds-1) ... 179s Setting up gir1.2-girepository-2.0:armhf (1.82.0-4) ... 179s Setting up python3-gi (3.50.0-4) ... 179s Setting up python3-idna (3.10-1) ... 180s Setting up xfsprogs (6.12.0-1ubuntu1) ... 180s update-initramfs: deferring update (trigger activated) 180s Setting up keyboxd (2.4.4-2ubuntu22) ... 180s Setting up python3-urllib3 (2.3.0-1) ... 181s Setting up python3-json-pointer (2.4-3) ... 181s Setting up gnupg (2.4.4-2ubuntu22) ... 181s Setting up python3-netplan (1.1.2-2ubuntu1) ... 181s Setting up libpolkit-agent-1-0:armhf (126-2) ... 181s Setting up libgpgme11t64:armhf (1.24.2-1ubuntu1) ... 181s Setting up curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 181s Setting up libvolume-key1:armhf (0.3.12-9) ... 181s Setting up netplan-generator (1.1.2-2ubuntu1) ... 181s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 181s Setting up bind9-host (1:9.20.4-3ubuntu1) ... 181s Setting up python3-distro-info (1.13) ... 181s Setting up polkitd (126-2) ... 182s Setting up python3-more-itertools (10.6.0-1) ... 182s Setting up python3-attr (25.1.0-1) ... 182s Setting up gpg-wks-client (2.4.4-2ubuntu22) ... 182s Setting up libblockdev-crypto3:armhf (3.3.0-1) ... 182s Setting up python3-jwt (2.10.1-2) ... 183s Setting up python3-babel (2.17.0-1) ... 183s Setting up python3-rich (13.9.4-1) ... 184s Setting up python3-gdbm:armhf (3.13.1-1) ... 184s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ... 184s Setting up python3-apt (2.9.9) ... 185s Setting up python3-jsonpatch (1.32-5) ... 185s Setting up python3-bcrypt (4.2.0-2.1) ... 185s Setting up libqmi-proxy (1.35.6-1) ... 185s Setting up libfwupd3:armhf (2.0.6-3) ... 185s Setting up ufw (0.36.2-9) ... 187s Setting up python3-lazr.uri (1.0.6-5) ... 187s Setting up netplan.io (1.1.2-2ubuntu1) ... 187s Setting up unattended-upgrades (2.12ubuntu4) ... 187s Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version 188s Setting up pollinate (4.33-4ubuntu2) ... 188s Setting up python3-cryptography (43.0.0-1) ... 188s Setting up python3-wadllib (2.0.0-2) ... 189s Setting up python3-requests (2.32.3+dfsg-4ubuntu1) ... 189s Setting up bind9-dnsutils (1:9.20.4-3ubuntu1) ... 189s Setting up ubuntu-pro-client (34.1.3) ... 189s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 189s 189s apparmor_parser: Unable to replace "apt_methods". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 189s 189s apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 189s 191s Setting up fwupd (2.0.6-3) ... 191s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 191s fwupd.service is a disabled or a static unit not running, not starting it. 192s Setting up python3-referencing (0.35.1-2ubuntu1) ... 192s Setting up python3-pkg-resources (75.6.0-1) ... 192s Setting up ubuntu-pro-client-l10n (34.1.3) ... 192s Setting up udisks2 (2.10.1-11ubuntu2) ... 192s vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/uevent': Permission denied 192s vda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda1/uevent': Permission denied 192s vda15: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda15/uevent': Permission denied 192s vda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda2/uevent': Permission denied 192s loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied 192s loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied 192s loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied 192s loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied 192s loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied 192s loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied 192s loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied 192s loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 192s loop8: Failed to write 'change' to '/sys/devices/virtual/block/loop8/uevent': Permission denied 193s Setting up python3-setuptools (75.6.0-1) ... 195s Setting up python3-openssl (25.0.0-1) ... 195s Setting up python3-launchpadlib (2.1.0-1) ... 195s Setting up ubuntu-standard (1.547) ... 195s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ... 196s Setting up python3-oauthlib (3.2.2-3) ... 196s Setting up python3-software-properties (0.109) ... 196s Setting up python3-jsonschema (4.19.2-6ubuntu1) ... 197s Setting up cloud-init-base (25.1-0ubuntu1) ... 197s Installing new version of config file /etc/cloud/templates/sources.list.debian.deb822.tmpl ... 197s Installing new version of config file /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl ... 199s Setting up cloud-init (25.1-0ubuntu1) ... 199s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ... 200s Setting up apport (2.31.0+git20250220-0ubuntu1) ... 200s apport-autoreport.service is a disabled or a static unit not running, not starting it. 201s Setting up kbd (2.7.1-2ubuntu1) ... 201s Setting up console-setup-linux (1.226ubuntu3) ... 202s Setting up console-setup (1.226ubuntu3) ... 203s update-initramfs: deferring update (trigger activated) 203s Setting up ubuntu-minimal (1.547) ... 203s Processing triggers for libc-bin (2.40-4ubuntu1) ... 203s Processing triggers for systemd (257.2-3ubuntu1) ... 203s Processing triggers for man-db (2.13.0-1) ... 204s Processing triggers for shared-mime-info (2.4-5) ... 204s Warning: program compiled against libxml 212 using older 209 205s Processing triggers for sgml-base (1.31) ... 205s Processing triggers for debianutils (5.21) ... 205s Processing triggers for install-info (7.1.1-1) ... 205s Setting up packagekit (1.3.0-3build1) ... 205s Setting up packagekit-tools (1.3.0-3build1) ... 205s Setting up software-properties-common (0.109) ... 205s Processing triggers for initramfs-tools (0.145ubuntu2) ... 205s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 205s Processing triggers for ca-certificates (20241223) ... 205s Updating certificates in /etc/ssl/certs... 206s 0 added, 0 removed; done. 206s Running hooks in /etc/ca-certificates/update.d... 206s done. 206s Processing triggers for initramfs-tools (0.145ubuntu2) ... 209s Reading package lists... 210s Building dependency tree... 210s Reading state information... 210s Starting pkgProblemResolver with broken count: 0 210s Starting 2 pkgProblemResolver with broken count: 0 210s Done 211s Solving dependencies... 211s The following packages will be REMOVED: 211s libapt-pkg6.0t64* libassuan0* libicu74* libnsl2* libpython3.12-minimal* 211s libpython3.12-stdlib* libunwind8* linux-headers-6.11.0-8* 211s linux-headers-6.11.0-8-generic* python3.12* python3.12-minimal* 212s 0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded. 212s After this operation, 154 MB disk space will be freed. 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 ... 92815 files and directories currently installed.) 212s Removing libapt-pkg6.0t64:armhf (2.9.29) ... 212s Removing libassuan0:armhf (2.5.6-1build1) ... 212s Removing libicu74:armhf (74.2-1ubuntu6) ... 212s Removing python3.12 (3.12.9-1) ... 212s Removing libpython3.12-stdlib:armhf (3.12.9-1) ... 212s Removing libnsl2:armhf (1.3.0-3build3) ... 212s Removing python3.12-minimal (3.12.9-1) ... 212s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 212s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 213s Removing libpython3.12-minimal:armhf (3.12.9-1) ... 213s Removing libunwind8:armhf (1.6.2-3.1) ... 213s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 213s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 214s Processing triggers for systemd (257.2-3ubuntu1) ... 214s Processing triggers for man-db (2.13.0-1) ... 215s Processing triggers for libc-bin (2.40-4ubuntu1) ... 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 ... 60309 files and directories currently installed.) 215s Purging configuration files for python3.12-minimal (3.12.9-1) ... 215s Purging configuration files for libpython3.12-minimal:armhf (3.12.9-1) ... 217s autopkgtest [04:54:57]: rebooting testbed after setup commands that affected boot 264s autopkgtest [04:55:44]: testbed running kernel: Linux 6.8.0-52-generic #53~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jan 15 18:10:51 UTC 2 293s autopkgtest [04:56:13]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0 370s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main glib2.0 2.83.4-1 (dsc) [4812 B] 370s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main glib2.0 2.83.4-1 (tar) [670 kB] 370s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main glib2.0 2.83.4-1 (tar) [5613 kB] 370s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main glib2.0 2.83.4-1 (diff) [138 kB] 370s gpgv: Signature made Fri Feb 21 15:50:37 2025 UTC 370s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D 370s gpgv: Can't check signature: No public key 370s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.83.4-1.dsc: no acceptable signature found 371s autopkgtest [04:57:31]: testing package glib2.0 version 2.83.4-1 381s autopkgtest [04:57:41]: build not needed 391s autopkgtest [04:57:51]: test build: preparing testbed 394s Reading package lists... 394s Building dependency tree... 394s Reading state information... 394s Starting pkgProblemResolver with broken count: 0 394s Starting 2 pkgProblemResolver with broken count: 0 394s Done 395s The following NEW packages will be installed: 395s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 395s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf 395s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 395s gcc-arm-linux-gnueabihf libasan8 libblkid-dev libc-dev-bin libc6-dev 395s libcc1-0 libcrypt-dev libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 395s libisl23 libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev 395s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev 395s libsysprof-capture-4-dev libubsan1 linux-libc-dev pkgconf pkgconf-bin 395s rpcsvc-proto uuid-dev zlib1g-dev 395s 0 upgraded, 42 newly installed, 0 to remove and 0 not upgraded. 395s Need to get 54.5 MB of archives. 395s After this operation, 161 MB of additional disk space will be used. 395s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-4ubuntu1 [19.2 kB] 396s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.12.0-15.15 [1697 kB] 396s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.38-1 [120 kB] 396s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 396s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-4ubuntu1 [1358 kB] 396s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 396s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 396s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [9220 kB] 396s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-17ubuntu3 [1030 B] 396s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [5578 B] 396s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.2.0-1ubuntu1 [22.4 kB] 396s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 15-20250213-1ubuntu1 [38.9 kB] 396s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 15-20250213-1ubuntu1 [128 kB] 396s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 15-20250213-1ubuntu1 [2956 kB] 397s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 15-20250213-1ubuntu1 [1190 kB] 397s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-17ubuntu3 [897 kB] 397s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [18.0 MB] 399s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-17ubuntu3 [506 kB] 399s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [1218 B] 399s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.2.0-1ubuntu1 [5004 B] 399s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-17ubuntu3 [2573 kB] 399s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [10.5 MB] 400s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-17ubuntu3 [21.8 kB] 400s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [966 B] 400s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.2.0-1ubuntu1 [1084 B] 400s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 400s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf libffi-dev armhf 3.4.7-1 [57.2 kB] 400s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-dev armhf 2.40.2-14ubuntu1 [52.6 kB] 400s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid-dev armhf 2.40.2-14ubuntu1 [218 kB] 400s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libsepol-dev armhf 3.7-1 [381 kB] 400s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB] 400s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB] 401s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.42-4ubuntu3 [6178 B] 401s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.42-4ubuntu3 [679 kB] 401s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1-dev armhf 3.7-3ubuntu2 [160 kB] 401s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libmount-dev armhf 2.40.2-14ubuntu1 [34.6 kB] 401s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libsysprof-capture-4-dev armhf 48~beta-2 [49.2 kB] 401s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB] 401s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB] 401s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB] 401s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 401s Get:42 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libgio-2.0-dev armhf 2.83.4-1 [1713 kB] 401s Fetched 54.5 MB in 6s (9681 kB/s) 401s Selecting previously unselected package libc-dev-bin. 401s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60307 files and directories currently installed.) 401s Preparing to unpack .../00-libc-dev-bin_2.40-4ubuntu1_armhf.deb ... 401s Unpacking libc-dev-bin (2.40-4ubuntu1) ... 401s Selecting previously unselected package linux-libc-dev:armhf. 402s Preparing to unpack .../01-linux-libc-dev_6.12.0-15.15_armhf.deb ... 402s Unpacking linux-libc-dev:armhf (6.12.0-15.15) ... 402s Selecting previously unselected package libcrypt-dev:armhf. 402s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.38-1_armhf.deb ... 402s Unpacking libcrypt-dev:armhf (1:4.4.38-1) ... 402s Selecting previously unselected package rpcsvc-proto. 402s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 402s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 402s Selecting previously unselected package libc6-dev:armhf. 402s Preparing to unpack .../04-libc6-dev_2.40-4ubuntu1_armhf.deb ... 402s Unpacking libc6-dev:armhf (2.40-4ubuntu1) ... 402s Selecting previously unselected package libisl23:armhf. 402s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 402s Unpacking libisl23:armhf (0.27-1) ... 402s Selecting previously unselected package libmpc3:armhf. 402s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ... 402s Unpacking libmpc3:armhf (1.3.1-1build2) ... 402s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 402s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 402s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 402s Selecting previously unselected package cpp-14. 402s Preparing to unpack .../08-cpp-14_14.2.0-17ubuntu3_armhf.deb ... 402s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 402s Selecting previously unselected package cpp-arm-linux-gnueabihf. 402s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 402s Unpacking cpp-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 402s Selecting previously unselected package cpp. 402s Preparing to unpack .../10-cpp_4%3a14.2.0-1ubuntu1_armhf.deb ... 402s Unpacking cpp (4:14.2.0-1ubuntu1) ... 402s Selecting previously unselected package libcc1-0:armhf. 402s Preparing to unpack .../11-libcc1-0_15-20250213-1ubuntu1_armhf.deb ... 402s Unpacking libcc1-0:armhf (15-20250213-1ubuntu1) ... 402s Selecting previously unselected package libgomp1:armhf. 402s Preparing to unpack .../12-libgomp1_15-20250213-1ubuntu1_armhf.deb ... 402s Unpacking libgomp1:armhf (15-20250213-1ubuntu1) ... 402s Selecting previously unselected package libasan8:armhf. 402s Preparing to unpack .../13-libasan8_15-20250213-1ubuntu1_armhf.deb ... 402s Unpacking libasan8:armhf (15-20250213-1ubuntu1) ... 403s Selecting previously unselected package libubsan1:armhf. 403s Preparing to unpack .../14-libubsan1_15-20250213-1ubuntu1_armhf.deb ... 403s Unpacking libubsan1:armhf (15-20250213-1ubuntu1) ... 403s Selecting previously unselected package libgcc-14-dev:armhf. 403s Preparing to unpack .../15-libgcc-14-dev_14.2.0-17ubuntu3_armhf.deb ... 403s Unpacking libgcc-14-dev:armhf (14.2.0-17ubuntu3) ... 403s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 403s Preparing to unpack .../16-gcc-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 403s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 403s Selecting previously unselected package gcc-14. 403s Preparing to unpack .../17-gcc-14_14.2.0-17ubuntu3_armhf.deb ... 403s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 403s Selecting previously unselected package gcc-arm-linux-gnueabihf. 403s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 403s Unpacking gcc-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 403s Selecting previously unselected package gcc. 403s Preparing to unpack .../19-gcc_4%3a14.2.0-1ubuntu1_armhf.deb ... 403s Unpacking gcc (4:14.2.0-1ubuntu1) ... 403s Selecting previously unselected package libstdc++-14-dev:armhf. 403s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-17ubuntu3_armhf.deb ... 403s Unpacking libstdc++-14-dev:armhf (14.2.0-17ubuntu3) ... 403s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 403s Preparing to unpack .../21-g++-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 403s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 404s Selecting previously unselected package g++-14. 404s Preparing to unpack .../22-g++-14_14.2.0-17ubuntu3_armhf.deb ... 404s Unpacking g++-14 (14.2.0-17ubuntu3) ... 404s Selecting previously unselected package g++-arm-linux-gnueabihf. 404s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 404s Unpacking g++-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 404s Selecting previously unselected package g++. 404s Preparing to unpack .../24-g++_4%3a14.2.0-1ubuntu1_armhf.deb ... 404s Unpacking g++ (4:14.2.0-1ubuntu1) ... 404s Selecting previously unselected package build-essential. 404s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ... 404s Unpacking build-essential (12.10ubuntu1) ... 404s Selecting previously unselected package libffi-dev:armhf. 404s Preparing to unpack .../26-libffi-dev_3.4.7-1_armhf.deb ... 404s Unpacking libffi-dev:armhf (3.4.7-1) ... 404s Selecting previously unselected package uuid-dev:armhf. 404s Preparing to unpack .../27-uuid-dev_2.40.2-14ubuntu1_armhf.deb ... 404s Unpacking uuid-dev:armhf (2.40.2-14ubuntu1) ... 404s Selecting previously unselected package libblkid-dev:armhf. 404s Preparing to unpack .../28-libblkid-dev_2.40.2-14ubuntu1_armhf.deb ... 404s Unpacking libblkid-dev:armhf (2.40.2-14ubuntu1) ... 404s Selecting previously unselected package libsepol-dev:armhf. 404s Preparing to unpack .../29-libsepol-dev_3.7-1_armhf.deb ... 404s Unpacking libsepol-dev:armhf (3.7-1) ... 404s Selecting previously unselected package libpcre2-16-0:armhf. 404s Preparing to unpack .../30-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ... 404s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ... 404s Selecting previously unselected package libpcre2-32-0:armhf. 404s Preparing to unpack .../31-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ... 404s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ... 404s Selecting previously unselected package libpcre2-posix3:armhf. 404s Preparing to unpack .../32-libpcre2-posix3_10.42-4ubuntu3_armhf.deb ... 404s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu3) ... 404s Selecting previously unselected package libpcre2-dev:armhf. 404s Preparing to unpack .../33-libpcre2-dev_10.42-4ubuntu3_armhf.deb ... 404s Unpacking libpcre2-dev:armhf (10.42-4ubuntu3) ... 404s Selecting previously unselected package libselinux1-dev:armhf. 404s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu2_armhf.deb ... 404s Unpacking libselinux1-dev:armhf (3.7-3ubuntu2) ... 404s Selecting previously unselected package libmount-dev:armhf. 404s Preparing to unpack .../35-libmount-dev_2.40.2-14ubuntu1_armhf.deb ... 404s Unpacking libmount-dev:armhf (2.40.2-14ubuntu1) ... 404s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 404s Preparing to unpack .../36-libsysprof-capture-4-dev_48~beta-2_armhf.deb ... 404s Unpacking libsysprof-capture-4-dev:armhf (48~beta-2) ... 404s Selecting previously unselected package libpkgconf3:armhf. 404s Preparing to unpack .../37-libpkgconf3_1.8.1-4_armhf.deb ... 404s Unpacking libpkgconf3:armhf (1.8.1-4) ... 404s Selecting previously unselected package pkgconf-bin. 404s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_armhf.deb ... 404s Unpacking pkgconf-bin (1.8.1-4) ... 404s Selecting previously unselected package pkgconf:armhf. 404s Preparing to unpack .../39-pkgconf_1.8.1-4_armhf.deb ... 404s Unpacking pkgconf:armhf (1.8.1-4) ... 404s Selecting previously unselected package zlib1g-dev:armhf. 404s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 404s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 404s Selecting previously unselected package libgio-2.0-dev:armhf. 405s Preparing to unpack .../41-libgio-2.0-dev_2.83.4-1_armhf.deb ... 405s Unpacking libgio-2.0-dev:armhf (2.83.4-1) ... 405s Setting up linux-libc-dev:armhf (6.12.0-15.15) ... 405s Setting up libgomp1:armhf (15-20250213-1ubuntu1) ... 405s Setting up libffi-dev:armhf (3.4.7-1) ... 405s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ... 405s Setting up libsysprof-capture-4-dev:armhf (48~beta-2) ... 405s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ... 405s Setting up libpkgconf3:armhf (1.8.1-4) ... 405s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 405s Setting up libmpc3:armhf (1.3.1-1build2) ... 405s Setting up libsepol-dev:armhf (3.7-1) ... 405s Setting up pkgconf-bin (1.8.1-4) ... 405s Setting up libubsan1:armhf (15-20250213-1ubuntu1) ... 405s Setting up libpcre2-posix3:armhf (10.42-4ubuntu3) ... 405s Setting up libcrypt-dev:armhf (1:4.4.38-1) ... 405s Setting up libasan8:armhf (15-20250213-1ubuntu1) ... 405s Setting up libgcc-14-dev:armhf (14.2.0-17ubuntu3) ... 405s Setting up libisl23:armhf (0.27-1) ... 405s Setting up libc-dev-bin (2.40-4ubuntu1) ... 405s Setting up libcc1-0:armhf (15-20250213-1ubuntu1) ... 405s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 405s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 405s Setting up pkgconf:armhf (1.8.1-4) ... 405s Setting up cpp-14 (14.2.0-17ubuntu3) ... 405s Setting up libc6-dev:armhf (2.40-4ubuntu1) ... 405s Setting up libstdc++-14-dev:armhf (14.2.0-17ubuntu3) ... 405s Setting up cpp-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 405s Setting up gcc-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 405s Setting up g++-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 405s Setting up libpcre2-dev:armhf (10.42-4ubuntu3) ... 405s Setting up libselinux1-dev:armhf (3.7-3ubuntu2) ... 405s Setting up gcc-14 (14.2.0-17ubuntu3) ... 405s Setting up uuid-dev:armhf (2.40.2-14ubuntu1) ... 405s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 405s Setting up cpp (4:14.2.0-1ubuntu1) ... 405s Setting up g++-14 (14.2.0-17ubuntu3) ... 405s Setting up g++-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 405s Setting up libblkid-dev:armhf (2.40.2-14ubuntu1) ... 405s Setting up gcc (4:14.2.0-1ubuntu1) ... 405s Setting up g++ (4:14.2.0-1ubuntu1) ... 405s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 405s Setting up build-essential (12.10ubuntu1) ... 405s Setting up libmount-dev:armhf (2.40.2-14ubuntu1) ... 405s Setting up libgio-2.0-dev:armhf (2.83.4-1) ... 405s Processing triggers for man-db (2.13.0-1) ... 406s Processing triggers for libglib2.0-0t64:armhf (2.83.4-1) ... 406s No schema files found: doing nothing. 406s Processing triggers for install-info (7.1.1-1) ... 406s Processing triggers for libc-bin (2.40-4ubuntu1) ... 415s autopkgtest [04:58:15]: test build: [----------------------- 417s + mode=dynamic 417s + getopt -o --long static -n debian/tests/build -- 417s + getopt_temp= -- 417s + eval set -- -- 417s + set -- -- 417s + true 417s + shift 417s + break 417s + mktemp -d 417s + WORKDIR=/tmp/tmp.bAsUV6UgWV 417s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 417s + cd /tmp/tmp.bAsUV6UgWV 417s + [ -n ] 417s + CROSS_COMPILE= 417s + cat 417s + cat 417s + cat 417s + cat 417s + cat 417s + cat 417s + cflags= 417s + pcflags= 417s + packages=glib-2.0 417s + pkg-config --cflags --libs glib-2.0 417s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 417s build (glib, dynamic): OK 417s run (glib, dynamic): OK 417s + echo build (glib, dynamic): OK 417s + [ -x glib-dynamic ] 417s + foo=bar ./glib-dynamic 417s + echo run (glib, dynamic): OK 417s + cflags= 417s + pcflags= 417s + packages=gobject-2.0 417s + pkg-config --cflags --libs gobject-2.0 417s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 417s build (gobject, dynamic): OK 417s run (gobject, dynamic): OK 417s + echo build (gobject, dynamic): OK 417s + [ -x gobject-dynamic ] 417s + foo=bar ./gobject-dynamic 417s + echo run (gobject, dynamic): OK 417s + cflags= 417s + pcflags= 417s + packages=gio-2.0 417s + pkg-config --cflags --libs gio-2.0 417s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 417s + echo build (gio, dynamic): OK 417s + [ -x gio-dynamic ] 417s + foo=bar ./gio-dynamic 417s build (gio, dynamic): OK 417s run (gio, dynamic): OK 417s + echo run (gio, dynamic): OK 417s + cflags= 417s + pcflags= 417s + packages=gio-unix-2.0 417s + pkg-config --cflags --libs gio-unix-2.0 417s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 418s + echo build (gio-unix, dynamic): OK 418s + [ -x gio-unix-dynamic ] 418s + foo=bar ./gio-unix-dynamic 418s build (gio-unix, dynamic): OK 418s + echo run (gio-unix, dynamic): OK 418s + cflags= 418s + pcflags= 418s + packages=gmodule-2.0 418s + pkg-config --cflags --libs gmodule-2.0 418s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 418s run (gio-unix, dynamic): OK 418s + echo build (gmodule, dynamic): OK 418s + [ -x gmodule-dynamic ] 418s + foo=bar ./gmodule-dynamic 418s build (gmodule, dynamic): OK 418s + echo run (gmodule, dynamic): OK 418s + cflags= 418s + pcflags= 418s + packages=gthread-2.0 418s + pkg-config --cflags --libs gthread-2.0 418s run (gmodule, dynamic): OK 418s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 418s build (gthread, dynamic): OK 418s + echo build (gthread, dynamic): OK 418s + [ -x gthread-dynamic ] 418s + foo=bar ./gthread-dynamic 418s run (gthread, dynamic): OK 418s + echo run (gthread, dynamic): OK 418s + rm -rf /tmp/tmp.bAsUV6UgWV 418s autopkgtest [04:58:18]: test build: -----------------------] 423s autopkgtest [04:58:23]: test build: - - - - - - - - - - results - - - - - - - - - - 423s build PASS (superficial) 427s autopkgtest [04:58:27]: test build-static: preparing testbed 429s Reading package lists... 429s Building dependency tree... 429s Reading state information... 430s Starting pkgProblemResolver with broken count: 0 430s Starting 2 pkgProblemResolver with broken count: 0 430s Done 431s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 439s autopkgtest [04:58:39]: test build-static: [----------------------- 441s + mode=dynamic 441s + getopt -o --long static -n debian/tests/build -- --static 441s + getopt_temp= --static -- 441s + eval set -- --static -- 441s + set -- --static -- 441s + true 441s + mode=static 441s + shift 441s + continue 441s + true 441s + shift 441s + break 441s + mktemp -d 441s + WORKDIR=/tmp/tmp.Yu6YOOyHNW 441s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 441s + cd /tmp/tmp.Yu6YOOyHNW 441s + [ -n ] 441s + CROSS_COMPILE= 441s + cat 441s + cat 441s + cat 441s + cat 441s + cat 442s + cat 442s + cflags= 442s + pcflags= 442s + packages=glib-2.0 442s + cflags=-static 442s + pcflags=--static 442s + pkg-config --static --cflags --libs glib-2.0 442s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 442s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 442s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 442s /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 442s /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 442s + echo build (glib, static): OK 442s + [ -x glib-static ] 442s + foo=bar ./glib-static 442s build (glib, static): OK 442s run (glib, static): OK 442s + echo run (glib, static): OK 442s + cflags= 442s + pcflags= 442s + packages=gobject-2.0 442s + cflags=-static 442s + pcflags=--static 442s + pkg-config --static --cflags --libs gobject-2.0 442s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 442s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 442s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 442s /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 442s /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 442s + echo build (gobject, static): OK 442s + [ -x gobject-static ] 442s + foo=bar ./gobject-static 442s build (gobject, static): OK 442s run (gobject, static): OK 442s + echo run (gobject, static): OK 442s + cflags= 442s + pcflags= 442s + packages=gio-2.0 442s + cflags=-static 442s + pcflags=--static 442s + continue 442s + cflags= 442s + pcflags= 442s + packages=gio-unix-2.0 442s + cflags=-static 442s + pcflags=--static 442s + continue 442s + cflags= 442s + pcflags= 442s + packages=gmodule-2.0 442s + cflags=-static 442s + pcflags=--static 442s + pkg-config --static --cflags --libs gmodule-2.0 442s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 442s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 442s (.text+0x412): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 442s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 442s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 442s /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 442s /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 442s build (gmodule, static): OK 442s + echo build (gmodule, static): OK 442s + [ -x gmodule-static ] 442s + foo=bar ./gmodule-static 442s + echo run (gmodule, static): OK 442s + cflags= 442s + pcflags= 442s + packages=gthread-2.0 442s + cflags=-static 442s + pcflags=--static 442s run (gmodule, static): OK 442s + pkg-config --static --cflags --libs gthread-2.0 442s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 442s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 442s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 442s /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 442s /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 442s build (gthread, static): OK 442s run (gthread, static): OK 442s + echo build (gthread, static): OK 442s + [ -x gthread-static ] 442s + foo=bar ./gthread-static 442s + echo run (gthread, static): OK 442s + rm -rf /tmp/tmp.Yu6YOOyHNW 443s autopkgtest [04:58:43]: test build-static: -----------------------] 447s build-static PASS (superficial) 447s autopkgtest [04:58:47]: test build-static: - - - - - - - - - - results - - - - - - - - - - 451s autopkgtest [04:58:51]: test girepository-tools: preparing testbed 503s autopkgtest [04:59:43]: testbed dpkg architecture: armhf 505s autopkgtest [04:59:45]: testbed apt version: 2.9.14ubuntu1 509s autopkgtest [04:59:49]: @@@@@@@@@@@@@@@@@@@@ test bed setup 511s autopkgtest [04:59:51]: testbed release detected to be: plucky 519s autopkgtest [04:59:59]: updating testbed package index (apt update) 522s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 522s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [249 kB] 522s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [110 kB] 522s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [110 kB] 523s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB] 523s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 523s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB] 523s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB] 523s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [125 kB] 523s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Components [26.6 kB] 523s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [760 B] 523s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Components [216 B] 523s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [424 kB] 524s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Components [213 kB] 524s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [1796 B] 524s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Components [1076 B] 524s Get:17 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 534s Get:18 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [298 kB] 534s Get:19 http://ftpmaster.internal/ubuntu plucky/restricted Sources [16.3 kB] 534s Get:20 http://ftpmaster.internal/ubuntu plucky/main Sources [1384 kB] 534s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1370 kB] 535s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf Components [401 kB] 535s Get:23 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2900 B] 535s Get:24 http://ftpmaster.internal/ubuntu plucky/restricted armhf Components [196 B] 535s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.1 MB] 537s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf Components [3953 kB] 538s Get:27 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 538s Get:28 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Components [39.8 kB] 538s Get:29 http://ftpmaster.internal/ubuntu plucky-updates/main armhf Components [208 B] 538s Get:30 http://ftpmaster.internal/ubuntu plucky-updates/restricted armhf Components [212 B] 538s Get:31 http://ftpmaster.internal/ubuntu plucky-updates/universe armhf Components [212 B] 538s Get:32 http://ftpmaster.internal/ubuntu plucky-updates/multiverse armhf Components [212 B] 538s Get:33 http://ftpmaster.internal/ubuntu plucky-security/main armhf Components [204 B] 538s Get:34 http://ftpmaster.internal/ubuntu plucky-security/restricted armhf Components [208 B] 538s Get:35 http://ftpmaster.internal/ubuntu plucky-security/universe armhf Components [208 B] 538s Get:36 http://ftpmaster.internal/ubuntu plucky-security/multiverse armhf Components [208 B] 543s Fetched 45.7 MB in 19s (2444 kB/s) 544s Reading package lists... 550s autopkgtest [05:00:30]: upgrading testbed (apt dist-upgrade and autopurge) 552s Reading package lists... 552s Building dependency tree... 552s Reading state information... 553s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 553s Starting 2 pkgProblemResolver with broken count: 0 553s Done 554s Entering ResolveByKeep 555s 556s The following packages were automatically installed and are no longer required: 556s libapt-pkg6.0t64 libassuan0 libicu74 libnsl2 libpython3.12-minimal 556s libpython3.12-stdlib libunwind8 linux-headers-6.11.0-8 556s linux-headers-6.11.0-8-generic python3.12 python3.12-minimal 556s Use 'apt autoremove' to remove them. 556s The following NEW packages will be installed: 556s gcc-15-base libapt-pkg7.0 libicu76 libjemalloc2 libpython3.13-minimal 556s libpython3.13-stdlib linux-headers-6.12.0-15 linux-headers-6.12.0-15-generic 556s login.defs openssl-provider-legacy python3-bcrypt python3.13 556s python3.13-minimal 556s The following packages will be upgraded: 556s apparmor apport apport-core-dump-handler appstream apt apt-utils base-files 556s base-passwd bash bash-completion bind9-dnsutils bind9-host bind9-libs 556s binutils binutils-arm-linux-gnueabihf binutils-common bsdextrautils bsdutils 556s btrfs-progs busybox-initramfs busybox-static ca-certificates cloud-init 556s cloud-init-base console-setup console-setup-linux coreutils cron 556s cron-daemon-common cryptsetup-bin curl dash dbus dbus-bin dbus-daemon 556s dbus-session-bus-common dbus-system-bus-common dbus-user-session dhcpcd-base 556s diffutils dirmngr distro-info dmsetup dpkg dpkg-dev dracut-install e2fsprogs 556s e2fsprogs-l10n ed eject ethtool fdisk fwupd gcc-14-base gettext-base 556s gir1.2-girepository-2.0 gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg 556s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 556s groff-base gzip htop ibverbs-providers inetutils-telnet init 556s init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core 556s iproute2 iptables iputils-ping iputils-tracepath kbd keyboard-configuration 556s keyboxd kpartx krb5-locales libapparmor1 libappstream5 libapt-pkg6.0t64 556s libarchive13t64 libatomic1 libbinutils libblkid1 libblockdev-crypto3 556s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 556s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 libbpf1 556s libc-bin libc6 libcap-ng0 libcbor0.10 libcom-err2 libcrypt1 libcryptsetup12 556s libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 libdbus-1-3 556s libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libedit2 libext2fs2t64 556s libfdisk1 libffi8 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 556s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 556s libgnutls30t64 libgpg-error-l10n libgpg-error0 libgpgme11t64 556s libgssapi-krb5-2 libgstreamer1.0-0 libgudev-1.0-0 libhogweed6t64 libibverbs1 556s libicu74 libip4tc2 libip6tc2 libjson-glib-1.0-0 libjson-glib-1.0-common 556s libk5crypto3 libkrb5-3 libkrb5support0 libldap-common libldap2 liblsof0 556s liblz4-1 libmaxminddb0 libmount1 libncurses6 libncursesw6 libnetplan1 556s libnettle8t64 libnewt0.52 libnftables1 libnftnl11 libnpth0t64 libnspr4 556s libnss-systemd libnss3 libnvme1t64 libp11-kit0 libpackagekit-glib2-18 556s libpam-systemd libpcap0.8t64 libperl5.40 libplymouth5 libpng16-16t64 556s libpolkit-agent-1-0 libpolkit-gobject-1-0 libprotobuf-c1 libpython3-stdlib 556s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 556s libreadline8t64 libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 556s libsemanage-common libsemanage2 libsframe1 libsmartcols1 libss2 libssl3t64 556s libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtinfo6 libtraceevent1 556s libtraceevent1-plugin libudev1 libudisks2-0 libunistring5 liburcu8t64 556s libusb-1.0-0 libuuid1 libvolume-key1 libwrap0 libxdmcp6 libxkbcommon0 556s libxml2 libxtables12 libxxhash0 libyaml-0-2 libzstd1 linux-headers-generic 556s locales login logsave lshw lsof lto-disabled-list make mawk motd-news-config 556s mount multipath-tools nano ncurses-base ncurses-bin ncurses-term 556s netcat-openbsd netplan-generator netplan.io nftables openssl packagekit 556s packagekit-tools passwd pci.ids perl perl-base perl-modules-5.40 556s pinentry-curses plymouth plymouth-theme-ubuntu-text polkitd pollinate 556s powermgmt-base psmisc publicsuffix python-apt-common python-babel-localedata 556s python3 python3-apport python3-apt python3-attr python3-babel 556s python3-certifi python3-chardet python3-cryptography python3-distro-info 556s python3-gdbm python3-gi python3-idna python3-jinja2 python3-json-pointer 556s python3-jsonpatch python3-jsonschema python3-jwt python3-launchpadlib 556s python3-lazr.uri python3-minimal python3-more-itertools python3-netplan 556s python3-newt python3-oauthlib python3-openssl python3-pkg-resources 556s python3-problem-report python3-pygments python3-referencing python3-requests 556s python3-rich python3-setuptools python3-software-properties python3-urllib3 556s python3-wadllib python3.12 python3.12-gdbm python3.12-minimal 556s python3.13-gdbm readline-common rsync rsyslog software-properties-common 556s systemd systemd-cryptsetup systemd-resolved systemd-sysv systemd-timesyncd 556s sysvinit-utils tar telnet tmux tzdata ubuntu-minimal ubuntu-pro-client 556s ubuntu-pro-client-l10n ubuntu-standard ucf udev udisks2 ufw 556s unattended-upgrades usb.ids util-linux uuid-runtime vim-common vim-tiny 556s whiptail xauth xfsprogs xxd zstd 556s 323 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 556s Need to get 148 MB of archives. 556s After this operation, 204 MB of additional disk space will be used. 556s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf motd-news-config all 13.6ubuntu1 [5168 B] 556s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-15-base armhf 15-20250213-1ubuntu1 [53.2 kB] 556s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 15-20250213-1ubuntu1 [40.6 kB] 556s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 557s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt1 armhf 1:4.4.38-1 [91.7 kB] 557s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf base-files armhf 13.6ubuntu1 [75.3 kB] 557s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 557s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-14ubuntu1 [110 kB] 557s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf coreutils armhf 9.5-1ubuntu1 [1275 kB] 557s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf dash armhf 0.5.12-12ubuntu1 [87.4 kB] 557s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf diffutils armhf 1:3.10-2 [172 kB] 557s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libxxhash0 armhf 0.8.3-2 [30.8 kB] 557s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf liblz4-1 armhf 1.10.0-3 [57.2 kB] 557s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.1-1ubuntu1 [29.5 kB] 557s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.1-1ubuntu1 [1771 kB] 557s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libzstd1 armhf 1.5.6+dfsg-2 [266 kB] 557s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 15-20250213-1ubuntu1 [725 kB] 557s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257.2-3ubuntu1 [42.1 kB] 557s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-session-bus-common all 1.16.0-1ubuntu1 [53.1 kB] 557s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257.2-3ubuntu1 [11.9 kB] 557s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257.2-3ubuntu1 [238 kB] 557s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-user-session armhf 1.16.0-1ubuntu1 [9684 B] 557s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libapparmor1 armhf 4.1.0~beta5-0ubuntu5 [48.7 kB] 557s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 557s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 557s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-system-bus-common all 1.16.0-1ubuntu1 [54.3 kB] 557s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-bin armhf 1.16.0-1ubuntu1 [37.9 kB] 557s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf dbus armhf 1.16.0-1ubuntu1 [28.1 kB] 557s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-daemon armhf 1.16.0-1ubuntu1 [111 kB] 557s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libdbus-1-3 armhf 1.16.0-1ubuntu1 [162 kB] 557s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257.2-3ubuntu1 [315 kB] 557s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libncurses6 armhf 6.5+20250125-2 [88.8 kB] 557s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libncursesw6 armhf 6.5+20250125-2 [118 kB] 557s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libtinfo6 armhf 6.5+20250125-2 [91.9 kB] 557s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-14ubuntu1 [94.2 kB] 557s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-14ubuntu1 [63.4 kB] 557s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-14ubuntu1 [157 kB] 557s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-14ubuntu1 [169 kB] 557s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-14ubuntu1 [194 kB] 557s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-14ubuntu1 [137 kB] 557s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-14ubuntu1 [41.0 kB] 557s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-14ubuntu1 [1190 kB] 557s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-14ubuntu1 [63.7 kB] 557s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-14ubuntu1 [217 kB] 557s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-14ubuntu1 [158 kB] 557s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 557s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 557s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257.2-3ubuntu1 [126 kB] 557s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257.2-3ubuntu1 [2203 kB] 558s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257.2-3ubuntu1 [164 kB] 558s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257.2-3ubuntu1 [3028 kB] 558s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257.2-3ubuntu1 [1402 kB] 558s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257.2-3ubuntu1 [193 kB] 558s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libdevmapper1.02.1 armhf 2:1.02.201-1ubuntu1 [137 kB] 558s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf libcryptsetup12 armhf 2:2.7.5-1ubuntu2 [246 kB] 558s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257.2-3ubuntu1 [494 kB] 558s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.29 [1086 kB] 558s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 558s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg armhf 1.22.11ubuntu4 [1242 kB] 558s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf gzip armhf 1.13-1ubuntu2 [98.1 kB] 558s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-bin armhf 6.5+20250125-2 [179 kB] 558s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf perl-modules-5.40 all 5.40.1-2 [3217 kB] 558s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf libperl5.40 armhf 5.40.1-2 [4135 kB] 558s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf perl armhf 5.40.1-2 [262 kB] 558s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf perl-base armhf 5.40.1-2 [1667 kB] 558s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 558s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 558s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf init-system-helpers all 1.68 [39.0 kB] 558s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 558s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-base all 6.5+20250125-2 [25.8 kB] 558s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-term all 6.5+20250125-2 [276 kB] 558s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf kbd armhf 2.7.1-2ubuntu1 [214 kB] 558s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup-linux all 1.226ubuntu3 [1880 kB] 558s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup all 1.226ubuntu3 [110 kB] 558s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf keyboard-configuration all 1.226ubuntu3 [212 kB] 558s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf sysvinit-utils armhf 3.14-1ubuntu1 [35.1 kB] 558s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg7.0 armhf 2.9.30ubuntu1 [1067 kB] 558s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.30ubuntu1 [1392 kB] 558s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.30ubuntu1 [214 kB] 558s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 558s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 558s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 558s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu22 [87.5 kB] 558s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu22 [347 kB] 558s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu22 [242 kB] 558s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu22 [159 kB] 558s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu22 [237 kB] 558s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu22 [525 kB] 559s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu22 [116 kB] 559s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu22 [359 kB] 559s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu22 [111 kB] 559s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-2ubuntu2 [40.6 kB] 559s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf libnettle8t64 armhf 3.10.1-1 [188 kB] 559s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf libhogweed6t64 armhf 3.10.1-1 [188 kB] 559s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libffi8 armhf 3.4.7-1 [21.1 kB] 559s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libp11-kit0 armhf 0.25.5-2ubuntu3 [261 kB] 559s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtasn1-6 armhf 4.20.0-2 [38.2 kB] 559s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 559s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.9-2ubuntu2 [961 kB] 559s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8build1 [19.0 kB] 559s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8build1 [49.9 kB] 559s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libldap-common all 2.6.9+dfsg-1~exp2ubuntu1 [33.2 kB] 559s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libldap2 armhf 2.6.9+dfsg-1~exp2ubuntu1 [177 kB] 559s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu22 [225 kB] 559s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 559s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf logsave armhf 1.47.2-1ubuntu1 [25.7 kB] 559s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-minimal armhf 1.547 [11.4 kB] 559s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools all 0.145ubuntu2 [7948 B] 559s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-core all 0.145ubuntu2 [51.5 kB] 559s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libext2fs2t64 armhf 1.47.2-1ubuntu1 [207 kB] 559s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs armhf 1.47.2-1ubuntu1 [588 kB] 559s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf dhcpcd-base armhf 1:10.1.0-7 [188 kB] 559s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf init armhf 1.68 [6296 B] 559s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 559s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf iptables armhf 1.8.11-2ubuntu1 [342 kB] 559s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf libip4tc2 armhf 1.8.11-2ubuntu1 [21.7 kB] 559s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libip6tc2 armhf 1.8.11-2ubuntu1 [22.1 kB] 559s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf libnftnl11 armhf 1.2.8-1 [53.3 kB] 559s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libxtables12 armhf 1.8.11-2ubuntu1 [33.0 kB] 559s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf iproute2 armhf 6.13.0-1ubuntu1 [1096 kB] 559s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 559s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 560s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 560s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf login armhf 1:4.16.0-2+really2.40.2-14ubuntu1 [85.0 kB] 560s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf mawk armhf 1.3.4.20250131-1 [119 kB] 560s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf netcat-openbsd armhf 1.228-1 [42.4 kB] 560s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.2-1 [868 kB] 560s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.2-1 [2012 kB] 560s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 560s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 560s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 560s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 560s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2025a-2ubuntu1 [198 kB] 560s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.2-1 [1969 kB] 560s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.2-1 [734 kB] 560s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 560s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-4 [25.3 kB] 560s Get:138 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf gir1.2-glib-2.0 armhf 2.83.4-1 [185 kB] 560s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-4 [109 kB] 560s Get:140 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-data all 2.83.4-1 [52.9 kB] 560s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-bin armhf 2.83.4-1 [92.7 kB] 560s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 15-20250213-1ubuntu1 [7938 B] 560s Get:143 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-0t64 armhf 2.83.4-1 [1453 kB] 560s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf netplan-generator armhf 1.1.2-2ubuntu1 [60.8 kB] 560s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 560s Get:146 http://ftpmaster.internal/ubuntu plucky/main armhf python3-netplan armhf 1.1.2-2ubuntu1 [24.2 kB] 560s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf netplan.io armhf 1.1.2-2ubuntu1 [67.7 kB] 560s Get:148 http://ftpmaster.internal/ubuntu plucky/main armhf libnetplan1 armhf 1.1.2-2ubuntu1 [123 kB] 560s Get:149 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 560s Get:150 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage-common all 3.7-2.1 [7198 B] 560s Get:151 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage2 armhf 3.7-2.1 [85.4 kB] 560s Get:152 http://ftpmaster.internal/ubuntu plucky/main armhf passwd armhf 1:4.16.0-7ubuntu1 [1041 kB] 560s Get:153 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client-l10n armhf 34.1.3 [18.3 kB] 560s Get:154 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.9 [21.2 kB] 560s Get:155 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.9 [173 kB] 560s Get:156 http://ftpmaster.internal/ubuntu plucky/main armhf distro-info armhf 1.13 [19.1 kB] 560s Get:157 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client armhf 34.1.3 [243 kB] 560s Get:158 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0967-1ubuntu2 [696 kB] 560s Get:159 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0967-1ubuntu2 [396 kB] 560s Get:160 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 560s Get:161 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 560s Get:162 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 560s Get:163 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 106-2ubuntu1 [38.7 kB] 560s Get:164 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-bin armhf 0.145ubuntu2 [24.5 kB] 560s Get:165 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-initramfs armhf 1:1.37.0-4ubuntu1 [188 kB] 560s Get:166 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.9-1 [671 kB] 560s Get:167 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.9-1 [1946 kB] 561s Get:168 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.9-1 [2012 kB] 561s Get:169 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.9-1 [825 kB] 561s Get:170 http://ftpmaster.internal/ubuntu plucky/main armhf cron armhf 3.0pl1-192ubuntu1 [84.2 kB] 561s Get:171 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.4.1-0syncable1 [422 kB] 561s Get:172 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lazr.uri all 1.0.6-5 [13.6 kB] 561s Get:173 http://ftpmaster.internal/ubuntu plucky/main armhf python3-launchpadlib all 2.1.0-1 [126 kB] 561s Get:174 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB] 561s Get:175 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB] 561s Get:176 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gi armhf 3.50.0-4 [260 kB] 561s Get:177 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB] 561s Get:178 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB] 561s Get:179 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-17ubuntu3 [53.6 kB] 561s Get:180 http://ftpmaster.internal/ubuntu plucky/main armhf libcom-err2 armhf 1.47.2-1ubuntu1 [25.6 kB] 561s Get:181 http://ftpmaster.internal/ubuntu plucky/main armhf libss2 armhf 1.47.2-1ubuntu1 [15.6 kB] 561s Get:182 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.1-1ubuntu1 [1152 kB] 561s Get:183 http://ftpmaster.internal/ubuntu plucky/main armhf ca-certificates all 20241223 [165 kB] 561s Get:184 http://ftpmaster.internal/ubuntu plucky/main armhf krb5-locales all 1.21.3-4ubuntu1 [14.7 kB] 561s Get:185 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 561s Get:186 http://ftpmaster.internal/ubuntu plucky/main armhf libgssapi-krb5-2 armhf 1.21.3-4ubuntu1 [121 kB] 561s Get:187 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5-3 armhf 1.21.3-4ubuntu1 [314 kB] 561s Get:188 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5support0 armhf 1.21.3-4ubuntu1 [31.8 kB] 561s Get:189 http://ftpmaster.internal/ubuntu plucky/main armhf libk5crypto3 armhf 1.21.3-4ubuntu1 [78.6 kB] 561s Get:190 http://ftpmaster.internal/ubuntu plucky/main armhf libicu74 armhf 74.2-1ubuntu6 [10.5 MB] 561s Get:191 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2ubuntu3 [599 kB] 561s Get:192 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pygments all 2.18.0+dfsg-2 [835 kB] 561s Get:193 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 561s Get:194 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0050 [43.5 kB] 561s Get:195 http://ftpmaster.internal/ubuntu plucky/main armhf rsyslog armhf 8.2412.0-2ubuntu1 [471 kB] 561s Get:196 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0967-1ubuntu2 [67.5 kB] 561s Get:197 http://ftpmaster.internal/ubuntu plucky/main armhf apparmor armhf 4.1.0~beta5-0ubuntu5 [605 kB] 561s Get:198 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-7 [214 kB] 561s Get:199 http://ftpmaster.internal/ubuntu plucky/main armhf libjemalloc2 armhf 5.3.0-2build1 [200 kB] 561s Get:200 http://ftpmaster.internal/ubuntu plucky/main armhf libmaxminddb0 armhf 1.12.2-1 [16.9 kB] 561s Get:201 http://ftpmaster.internal/ubuntu plucky/main armhf liburcu8t64 armhf 0.15.1-1 [57.1 kB] 561s Get:202 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-dnsutils armhf 1:9.20.4-3ubuntu1 [155 kB] 562s Get:203 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-host armhf 1:9.20.4-3ubuntu1 [46.4 kB] 562s Get:204 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-libs armhf 1:9.20.4-3ubuntu1 [1186 kB] 562s Get:205 http://ftpmaster.internal/ubuntu plucky/main armhf libedit2 armhf 3.1-20250104-1 [79.3 kB] 562s Get:206 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-static armhf 1:1.37.0-4ubuntu1 [857 kB] 562s Get:207 http://ftpmaster.internal/ubuntu plucky/main armhf cron-daemon-common all 3.0pl1-192ubuntu1 [14.5 kB] 562s Get:208 http://ftpmaster.internal/ubuntu plucky/main armhf dmsetup armhf 2:1.02.201-1ubuntu1 [80.4 kB] 562s Get:209 http://ftpmaster.internal/ubuntu plucky/main armhf ed armhf 1.21-1 [52.8 kB] 562s Get:210 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.23.1-1 [43.3 kB] 562s Get:211 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 563s Get:212 http://ftpmaster.internal/ubuntu plucky/main armhf libibverbs1 armhf 55.0-1ubuntu1 [58.5 kB] 563s Get:213 http://ftpmaster.internal/ubuntu plucky/main armhf ibverbs-providers armhf 55.0-1ubuntu1 [27.6 kB] 563s Get:214 http://ftpmaster.internal/ubuntu plucky/main armhf inetutils-telnet armhf 2:2.5-6ubuntu1 [94.7 kB] 563s Get:215 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 563s Get:216 http://ftpmaster.internal/ubuntu plucky/main armhf libcbor0.10 armhf 0.10.2-2ubuntu1 [22.0 kB] 563s Get:217 http://ftpmaster.internal/ubuntu plucky/main armhf nftables armhf 1.1.1-1build1 [70.8 kB] 563s Get:218 http://ftpmaster.internal/ubuntu plucky/main armhf libnftables1 armhf 1.1.1-1build1 [321 kB] 563s Get:219 http://ftpmaster.internal/ubuntu plucky/main armhf libpcap0.8t64 armhf 1.10.5-2ubuntu1 [140 kB] 563s Get:220 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.46-4 [171 kB] 563s Get:221 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 563s Get:222 http://ftpmaster.internal/ubuntu plucky/main armhf libplymouth5 armhf 24.004.60-2ubuntu5 [142 kB] 563s Get:223 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 563s Get:224 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 563s Get:225 http://ftpmaster.internal/ubuntu plucky/main armhf libusb-1.0-0 armhf 2:1.0.27-2 [49.5 kB] 563s Get:226 http://ftpmaster.internal/ubuntu plucky/main armhf libxdmcp6 armhf 1:1.1.5-1 [9060 B] 563s Get:227 http://ftpmaster.internal/ubuntu plucky/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1 [311 kB] 563s Get:228 http://ftpmaster.internal/ubuntu plucky/main armhf lsof armhf 4.99.4+dfsg-2 [239 kB] 563s Get:229 http://ftpmaster.internal/ubuntu plucky/main armhf liblsof0 armhf 4.99.4+dfsg-2 [60.8 kB] 563s Get:230 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.3-1 [277 kB] 563s Get:231 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2025.02.12-1 [284 kB] 563s Get:232 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-2ubuntu5 [9914 B] 563s Get:233 http://ftpmaster.internal/ubuntu plucky/main armhf libpackagekit-glib2-18 armhf 1.3.0-3build1 [109 kB] 563s Get:234 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit-tools armhf 1.3.0-3build1 [28.0 kB] 563s Get:235 http://ftpmaster.internal/ubuntu plucky/main armhf polkitd armhf 126-2 [92.5 kB] 563s Get:236 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-agent-1-0 armhf 126-2 [15.1 kB] 563s Get:237 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-gobject-1-0 armhf 126-2 [45.0 kB] 563s Get:238 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [330 kB] 563s Get:239 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 563s Get:240 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.25.50-1 [1164 kB] 563s Get:241 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit armhf 1.3.0-3build1 [431 kB] 563s Get:242 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth armhf 24.004.60-2ubuntu5 [143 kB] 563s Get:243 http://ftpmaster.internal/ubuntu plucky/main armhf powermgmt-base all 1.38 [7378 B] 563s Get:244 http://ftpmaster.internal/ubuntu plucky/main armhf psmisc armhf 23.7-2 [177 kB] 563s Get:245 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20250108.1153-0.1 [134 kB] 563s Get:246 http://ftpmaster.internal/ubuntu plucky/main armhf python3-distro-info all 1.13 [7798 B] 563s Get:247 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.2-1 [30.2 kB] 563s Get:248 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.9-1 [29.3 kB] 563s Get:249 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 563s Get:250 http://ftpmaster.internal/ubuntu plucky/main armhf telnet all 0.17+2.5-6ubuntu1 [3694 B] 563s Get:251 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-standard armhf 1.547 [11.4 kB] 563s Get:252 http://ftpmaster.internal/ubuntu plucky/main armhf ufw all 0.36.2-9 [170 kB] 563s Get:253 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2025.01.14-1 [223 kB] 563s Get:254 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 563s Get:255 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 563s Get:256 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.44-2ubuntu1 [74.3 kB] 563s Get:257 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.44-2ubuntu1 [77.6 kB] 563s Get:258 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.44-2ubuntu1 [995 kB] 563s Get:259 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.44-2ubuntu1 [405 kB] 563s Get:260 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.44-2ubuntu1 [3234 B] 563s Get:261 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.44-2ubuntu1 [215 kB] 563s Get:262 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.44-2ubuntu1 [12.4 kB] 563s Get:263 http://ftpmaster.internal/ubuntu plucky/main armhf btrfs-progs armhf 6.12-1build1 [884 kB] 563s Get:264 http://ftpmaster.internal/ubuntu plucky/main armhf python3-certifi all 2025.1.31+ds-1 [9816 B] 563s Get:265 http://ftpmaster.internal/ubuntu plucky/main armhf python3-chardet all 5.2.0+dfsg-2 [116 kB] 563s Get:266 http://ftpmaster.internal/ubuntu plucky/main armhf python3-idna all 3.10-1 [47.4 kB] 563s Get:267 http://ftpmaster.internal/ubuntu plucky/main armhf python3-urllib3 all 2.3.0-1 [94.0 kB] 563s Get:268 http://ftpmaster.internal/ubuntu plucky/main armhf python3-requests all 2.32.3+dfsg-4ubuntu1 [52.9 kB] 563s Get:269 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2 [109 kB] 563s Get:270 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 563s Get:271 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 563s Get:272 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 25.1.0-1 [50.4 kB] 563s Get:273 http://ftpmaster.internal/ubuntu plucky/main armhf python3-referencing all 0.35.1-2ubuntu1 [21.9 kB] 563s Get:274 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonschema all 4.19.2-6ubuntu1 [65.5 kB] 563s Get:275 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jwt all 2.10.1-2 [21.0 kB] 563s Get:276 http://ftpmaster.internal/ubuntu plucky/main armhf python3-oauthlib all 3.2.2-3 [89.9 kB] 563s Get:277 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init-base all 25.1-0ubuntu1 [616 kB] 564s Get:278 http://ftpmaster.internal/ubuntu plucky/main armhf cryptsetup-bin armhf 2:2.7.5-1ubuntu2 [220 kB] 564s Get:279 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [247 kB] 564s Get:280 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [335 kB] 564s Get:281 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-dev all 1.22.11ubuntu4 [1088 kB] 564s Get:282 http://ftpmaster.internal/ubuntu plucky/main armhf libdpkg-perl all 1.22.11ubuntu4 [279 kB] 564s Get:283 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 564s Get:284 http://ftpmaster.internal/ubuntu plucky/main armhf lto-disabled-list all 56 [12.4 kB] 564s Get:285 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive13t64 armhf 3.7.7-0ubuntu1 [335 kB] 564s Get:286 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 564s Get:287 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 564s Get:288 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.6-3 [5155 kB] 564s Get:289 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.6-3 [125 kB] 564s Get:290 http://ftpmaster.internal/ubuntu plucky/main armhf libprotobuf-c1 armhf 1.5.1-1ubuntu1 [18.1 kB] 564s Get:291 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 564s Get:292 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 564s Get:293 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-packagekitglib-1.0 armhf 1.3.0-3build1 [25.5 kB] 564s Get:294 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu22 [66.4 kB] 564s Get:295 http://ftpmaster.internal/ubuntu plucky/main armhf htop armhf 3.3.0-5 [140 kB] 564s Get:296 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-utils3 armhf 3.3.0-1 [17.5 kB] 564s Get:297 http://ftpmaster.internal/ubuntu plucky/main armhf libnspr4 armhf 2:4.36-1ubuntu1 [94.5 kB] 564s Get:298 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.108-1ubuntu1 [1317 kB] 564s Get:299 http://ftpmaster.internal/ubuntu plucky/main armhf libgpgme11t64 armhf 1.24.2-1ubuntu1 [125 kB] 564s Get:300 http://ftpmaster.internal/ubuntu plucky/main armhf libvolume-key1 armhf 0.3.12-9 [39.1 kB] 564s Get:301 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-crypto3 armhf 3.3.0-1 [22.4 kB] 564s Get:302 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-fs3 armhf 3.3.0-1 [34.5 kB] 564s Get:303 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-loop3 armhf 3.3.0-1 [6594 B] 564s Get:304 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-mdraid3 armhf 3.3.0-1 [13.4 kB] 564s Get:305 http://ftpmaster.internal/ubuntu plucky/main armhf libnvme1t64 armhf 1.11.1-2 [73.6 kB] 564s Get:306 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-nvme3 armhf 3.3.0-1 [17.7 kB] 564s Get:307 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-part3 armhf 3.3.0-1 [16.6 kB] 564s Get:308 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-swap3 armhf 3.3.0-1 [9010 B] 564s Get:309 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev3 armhf 3.3.0-1 [44.4 kB] 564s Get:310 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 564s Get:311 http://ftpmaster.internal/ubuntu plucky/main armhf libgudev-1.0-0 armhf 1:238-6 [13.7 kB] 564s Get:312 http://ftpmaster.internal/ubuntu plucky/main armhf libicu76 armhf 76.1-1ubuntu2 [10.8 MB] 565s Get:313 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules armhf 2.1.28+dfsg1-8build1 [62.7 kB] 565s Get:314 http://ftpmaster.internal/ubuntu plucky/main armhf udisks2 armhf 2.10.1-11ubuntu2 [278 kB] 565s Get:315 http://ftpmaster.internal/ubuntu plucky/main armhf libudisks2-0 armhf 2.10.1-11ubuntu2 [142 kB] 565s Get:316 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-35 [45.6 kB] 565s Get:317 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15 all 6.12.0-15.15 [14.1 MB] 566s Get:318 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15-generic armhf 6.12.0-15.15 [1414 kB] 566s Get:319 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-generic armhf 6.12.0-15.15+1 [10.8 kB] 566s Get:320 http://ftpmaster.internal/ubuntu plucky/main armhf pollinate all 4.33-4ubuntu2 [12.4 kB] 566s Get:321 http://ftpmaster.internal/ubuntu plucky/main armhf python3-babel all 2.17.0-1 [101 kB] 566s Get:322 http://ftpmaster.internal/ubuntu plucky/main armhf python-babel-localedata all 2.17.0-1 [6678 kB] 566s Get:323 http://ftpmaster.internal/ubuntu plucky/main armhf python3-more-itertools all 10.6.0-1 [57.7 kB] 566s Get:324 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 25.0.0-1 [46.1 kB] 566s Get:325 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 566s Get:326 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 566s Get:327 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.109 [16.5 kB] 566s Get:328 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.109 [31.0 kB] 566s Get:329 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 566s Get:330 http://ftpmaster.internal/ubuntu plucky/main armhf tmux armhf 3.5a-3 [406 kB] 566s Get:331 http://ftpmaster.internal/ubuntu plucky/main armhf unattended-upgrades all 2.12ubuntu4 [58.5 kB] 566s Get:332 http://ftpmaster.internal/ubuntu plucky/main armhf xfsprogs armhf 6.12.0-1ubuntu1 [958 kB] 566s Get:333 http://ftpmaster.internal/ubuntu plucky/main armhf zstd armhf 1.5.6+dfsg-2 [690 kB] 566s Get:334 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init all 25.1-0ubuntu1 [2088 B] 566s Get:335 http://ftpmaster.internal/ubuntu plucky/main armhf kpartx armhf 0.9.9-1ubuntu4 [35.0 kB] 566s Get:336 http://ftpmaster.internal/ubuntu plucky/main armhf multipath-tools armhf 0.9.9-1ubuntu4 [294 kB] 567s Preconfiguring packages ... 569s Fetched 148 MB in 10s (14.2 MB/s) 569s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 569s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 569s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 569s Selecting previously unselected package gcc-15-base:armhf. 569s Preparing to unpack .../gcc-15-base_15-20250213-1ubuntu1_armhf.deb ... 569s Unpacking gcc-15-base:armhf (15-20250213-1ubuntu1) ... 569s Setting up gcc-15-base:armhf (15-20250213-1ubuntu1) ... 569s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 569s Preparing to unpack .../libgcc-s1_15-20250213-1ubuntu1_armhf.deb ... 569s Unpacking libgcc-s1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 569s Setting up libgcc-s1:armhf (15-20250213-1ubuntu1) ... 570s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 570s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 570s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 570s Setting up libc6:armhf (2.40-4ubuntu1) ... 570s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 570s Preparing to unpack .../libcrypt1_1%3a4.4.38-1_armhf.deb ... 570s Unpacking libcrypt1:armhf (1:4.4.38-1) over (1:4.4.36-5) ... 570s Setting up libcrypt1:armhf (1:4.4.38-1) ... 570s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 570s Preparing to unpack .../base-files_13.6ubuntu1_armhf.deb ... 570s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 571s Setting up base-files (13.6ubuntu1) ... 571s Updating /root/.profile to current default. 571s motd-news.service is a disabled or a static unit not running, not starting it. 571s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 571s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 571s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 571s Setting up bash (5.2.37-1ubuntu1) ... 571s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 572s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 572s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_armhf.deb ... 572s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu1) ... 572s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 572s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 572s Preparing to unpack .../coreutils_9.5-1ubuntu1_armhf.deb ... 572s Unpacking coreutils (9.5-1ubuntu1) over (9.4-3.1ubuntu1) ... 572s Setting up coreutils (9.5-1ubuntu1) ... 572s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 572s Preparing to unpack .../dash_0.5.12-12ubuntu1_armhf.deb ... 572s Unpacking dash (0.5.12-12ubuntu1) over (0.5.12-9ubuntu1) ... 572s Setting up dash (0.5.12-12ubuntu1) ... 572s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 572s Preparing to unpack .../diffutils_1%3a3.10-2_armhf.deb ... 572s Unpacking diffutils (1:3.10-2) over (1:3.10-1build1) ... 572s Setting up diffutils (1:3.10-2) ... 572s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 572s Preparing to unpack .../libxxhash0_0.8.3-2_armhf.deb ... 572s Unpacking libxxhash0:armhf (0.8.3-2) over (0.8.2-2build1) ... 572s Setting up libxxhash0:armhf (0.8.3-2) ... 572s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 572s Preparing to unpack .../liblz4-1_1.10.0-3_armhf.deb ... 572s Unpacking liblz4-1:armhf (1.10.0-3) over (1.9.4-3) ... 572s Setting up liblz4-1:armhf (1.10.0-3) ... 572s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 572s Preparing to unpack .../libssl3t64_3.4.1-1ubuntu1_armhf.deb ... 572s Unpacking libssl3t64:armhf (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 572s Selecting previously unselected package openssl-provider-legacy. 572s Preparing to unpack .../openssl-provider-legacy_3.4.1-1ubuntu1_armhf.deb ... 572s Unpacking openssl-provider-legacy (3.4.1-1ubuntu1) ... 573s Setting up libssl3t64:armhf (3.4.1-1ubuntu1) ... 573s Setting up openssl-provider-legacy (3.4.1-1ubuntu1) ... 573s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 573s Preparing to unpack .../libzstd1_1.5.6+dfsg-2_armhf.deb ... 573s Unpacking libzstd1:armhf (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 573s Setting up libzstd1:armhf (1.5.6+dfsg-2) ... 573s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 573s Preparing to unpack .../libstdc++6_15-20250213-1ubuntu1_armhf.deb ... 573s Unpacking libstdc++6:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 573s Setting up libstdc++6:armhf (15-20250213-1ubuntu1) ... 573s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 573s Preparing to unpack .../0-systemd-timesyncd_257.2-3ubuntu1_armhf.deb ... 573s Unpacking systemd-timesyncd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 573s Preparing to unpack .../1-dbus-session-bus-common_1.16.0-1ubuntu1_all.deb ... 573s Unpacking dbus-session-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 573s Preparing to unpack .../2-systemd-sysv_257.2-3ubuntu1_armhf.deb ... 573s Unpacking systemd-sysv (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 573s Preparing to unpack .../3-libpam-systemd_257.2-3ubuntu1_armhf.deb ... 573s Unpacking libpam-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 573s Preparing to unpack .../4-dbus-user-session_1.16.0-1ubuntu1_armhf.deb ... 573s Unpacking dbus-user-session (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 573s Preparing to unpack .../5-libapparmor1_4.1.0~beta5-0ubuntu5_armhf.deb ... 573s Unpacking libapparmor1:armhf (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 573s Preparing to unpack .../6-libcap-ng0_0.8.5-4_armhf.deb ... 573s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 573s Setting up libcap-ng0:armhf (0.8.5-4) ... 573s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 573s Preparing to unpack .../libselinux1_3.7-3ubuntu2_armhf.deb ... 573s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 573s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 573s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 573s Preparing to unpack .../0-dbus-system-bus-common_1.16.0-1ubuntu1_all.deb ... 573s Unpacking dbus-system-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 573s Preparing to unpack .../1-dbus-bin_1.16.0-1ubuntu1_armhf.deb ... 573s Unpacking dbus-bin (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 573s Preparing to unpack .../2-dbus_1.16.0-1ubuntu1_armhf.deb ... 573s Unpacking dbus (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 574s Preparing to unpack .../3-dbus-daemon_1.16.0-1ubuntu1_armhf.deb ... 574s Unpacking dbus-daemon (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 574s Preparing to unpack .../4-libdbus-1-3_1.16.0-1ubuntu1_armhf.deb ... 574s Unpacking libdbus-1-3:armhf (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 574s Preparing to unpack .../5-systemd-resolved_257.2-3ubuntu1_armhf.deb ... 574s Unpacking systemd-resolved (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 574s Preparing to unpack .../6-libncurses6_6.5+20250125-2_armhf.deb ... 574s Unpacking libncurses6:armhf (6.5+20250125-2) over (6.5-2) ... 574s Preparing to unpack .../7-libncursesw6_6.5+20250125-2_armhf.deb ... 574s Unpacking libncursesw6:armhf (6.5+20250125-2) over (6.5-2) ... 574s Preparing to unpack .../8-libtinfo6_6.5+20250125-2_armhf.deb ... 574s Unpacking libtinfo6:armhf (6.5+20250125-2) over (6.5-2) ... 574s Setting up libtinfo6:armhf (6.5+20250125-2) ... 574s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 574s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_armhf.deb ... 574s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 574s Preparing to unpack .../eject_2.40.2-14ubuntu1_armhf.deb ... 574s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 574s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_armhf.deb ... 574s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 574s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_armhf.deb ... 574s Unpacking libblkid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 574s Setting up libblkid1:armhf (2.40.2-14ubuntu1) ... 574s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 574s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_armhf.deb ... 574s Unpacking libmount1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 574s Setting up libmount1:armhf (2.40.2-14ubuntu1) ... 574s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 574s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_armhf.deb ... 574s Unpacking libsmartcols1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 574s Setting up libsmartcols1:armhf (2.40.2-14ubuntu1) ... 574s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 574s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_armhf.deb ... 574s Unpacking libuuid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 574s Setting up libuuid1:armhf (2.40.2-14ubuntu1) ... 575s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 575s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_armhf.deb ... 575s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 575s Setting up util-linux (2.40.2-14ubuntu1) ... 575s fstrim.service is a disabled or a static unit not running, not starting it. 575s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 576s Preparing to unpack .../0-uuid-runtime_2.40.2-14ubuntu1_armhf.deb ... 576s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 576s Preparing to unpack .../1-libfdisk1_2.40.2-14ubuntu1_armhf.deb ... 576s Unpacking libfdisk1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 576s Preparing to unpack .../2-mount_2.40.2-14ubuntu1_armhf.deb ... 576s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 576s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 576s Unpacking readline-common (8.2-6) over (8.2-5) ... 576s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 576s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 576s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 576s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 576s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 576s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 576s Preparing to unpack .../5-systemd-cryptsetup_257.2-3ubuntu1_armhf.deb ... 576s Unpacking systemd-cryptsetup (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 576s Preparing to unpack .../6-libsystemd-shared_257.2-3ubuntu1_armhf.deb ... 576s Unpacking libsystemd-shared:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 576s Preparing to unpack .../7-libnss-systemd_257.2-3ubuntu1_armhf.deb ... 576s Unpacking libnss-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 576s Setting up libsystemd-shared:armhf (257.2-3ubuntu1) ... 576s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 576s Preparing to unpack .../systemd_257.2-3ubuntu1_armhf.deb ... 576s Unpacking systemd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 576s Preparing to unpack .../udev_257.2-3ubuntu1_armhf.deb ... 576s Unpacking udev (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 577s Preparing to unpack .../libudev1_257.2-3ubuntu1_armhf.deb ... 577s Unpacking libudev1:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 577s Setting up libudev1:armhf (257.2-3ubuntu1) ... 577s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 577s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.201-1ubuntu1_armhf.deb ... 577s Unpacking libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 577s Preparing to unpack .../libcryptsetup12_2%3a2.7.5-1ubuntu2_armhf.deb ... 577s Unpacking libcryptsetup12:armhf (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 577s Preparing to unpack .../libsystemd0_257.2-3ubuntu1_armhf.deb ... 577s Unpacking libsystemd0:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 577s Setting up libsystemd0:armhf (257.2-3ubuntu1) ... 577s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 577s Preparing to unpack .../libapt-pkg6.0t64_2.9.29_armhf.deb ... 577s Unpacking libapt-pkg6.0t64:armhf (2.9.29) over (2.9.14ubuntu1) ... 577s Setting up libapt-pkg6.0t64:armhf (2.9.29) ... 577s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 577s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 577s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 577s Setting up tar (1.35+dfsg-3.1) ... 577s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 577s Preparing to unpack .../dpkg_1.22.11ubuntu4_armhf.deb ... 577s Unpacking dpkg (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 577s Setting up dpkg (1.22.11ubuntu4) ... 578s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 578s Preparing to unpack .../gzip_1.13-1ubuntu2_armhf.deb ... 578s Unpacking gzip (1.13-1ubuntu2) over (1.12-1.1ubuntu1) ... 578s Setting up gzip (1.13-1ubuntu2) ... 578s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 578s Preparing to unpack .../ncurses-bin_6.5+20250125-2_armhf.deb ... 578s Unpacking ncurses-bin (6.5+20250125-2) over (6.5-2) ... 578s Setting up ncurses-bin (6.5+20250125-2) ... 578s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 578s Preparing to unpack .../perl_5.40.1-2_armhf.deb ... 578s Unpacking perl (5.40.1-2) over (5.40.0-8) ... 578s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ... 578s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ... 579s Preparing to unpack .../libperl5.40_5.40.1-2_armhf.deb ... 579s Unpacking libperl5.40:armhf (5.40.1-2) over (5.40.0-8) ... 579s Preparing to unpack .../perl-base_5.40.1-2_armhf.deb ... 579s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ... 579s Setting up perl-base (5.40.1-2) ... 579s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 579s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 579s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 580s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 580s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 580s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 580s Unpacking base-passwd (3.6.6) over (3.6.5) ... 580s Setting up base-passwd (3.6.6) ... 580s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 580s Preparing to unpack .../init-system-helpers_1.68_all.deb ... 580s Unpacking init-system-helpers (1.68) over (1.67ubuntu1) ... 580s Setting up init-system-helpers (1.68) ... 580s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 580s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 580s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 580s Setting up libc-bin (2.40-4ubuntu1) ... 580s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 580s Preparing to unpack .../ncurses-base_6.5+20250125-2_all.deb ... 580s Unpacking ncurses-base (6.5+20250125-2) over (6.5-2) ... 580s Setting up ncurses-base (6.5+20250125-2) ... 580s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 580s Preparing to unpack .../0-ncurses-term_6.5+20250125-2_all.deb ... 580s Unpacking ncurses-term (6.5+20250125-2) over (6.5-2) ... 581s Preparing to unpack .../1-kbd_2.7.1-2ubuntu1_armhf.deb ... 581s Unpacking kbd (2.7.1-2ubuntu1) over (2.6.4-2ubuntu3) ... 581s Preparing to unpack .../2-console-setup-linux_1.226ubuntu3_all.deb ... 581s Unpacking console-setup-linux (1.226ubuntu3) over (1.226ubuntu2) ... 581s Preparing to unpack .../3-console-setup_1.226ubuntu3_all.deb ... 581s Unpacking console-setup (1.226ubuntu3) over (1.226ubuntu2) ... 581s Preparing to unpack .../4-keyboard-configuration_1.226ubuntu3_all.deb ... 582s Unpacking keyboard-configuration (1.226ubuntu3) over (1.226ubuntu2) ... 582s Preparing to unpack .../5-sysvinit-utils_3.14-1ubuntu1_armhf.deb ... 582s Unpacking sysvinit-utils (3.14-1ubuntu1) over (3.08-6ubuntu3) ... 582s Setting up sysvinit-utils (3.14-1ubuntu1) ... 582s Selecting previously unselected package libapt-pkg7.0:armhf. 582s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 582s Preparing to unpack .../libapt-pkg7.0_2.9.30ubuntu1_armhf.deb ... 582s Unpacking libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 582s Setting up libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 582s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 582s Preparing to unpack .../apt_2.9.30ubuntu1_armhf.deb ... 582s Unpacking apt (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 582s Setting up apt (2.9.30ubuntu1) ... 583s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 583s Preparing to unpack .../apt-utils_2.9.30ubuntu1_armhf.deb ... 583s Unpacking apt-utils (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 583s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 583s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 583s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 583s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 583s Setting up libgpg-error0:armhf (1.51-3) ... 583s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 583s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 583s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 583s Setting up libnpth0t64:armhf (1.8-2) ... 583s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 583s Preparing to unpack .../00-gpg-wks-client_2.4.4-2ubuntu22_armhf.deb ... 583s Unpacking gpg-wks-client (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 583s Preparing to unpack .../01-dirmngr_2.4.4-2ubuntu22_armhf.deb ... 583s Unpacking dirmngr (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 583s Preparing to unpack .../02-gpgsm_2.4.4-2ubuntu22_armhf.deb ... 583s Unpacking gpgsm (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 583s Preparing to unpack .../03-gnupg-utils_2.4.4-2ubuntu22_armhf.deb ... 583s Unpacking gnupg-utils (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 583s Preparing to unpack .../04-gpg-agent_2.4.4-2ubuntu22_armhf.deb ... 583s Unpacking gpg-agent (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 583s Preparing to unpack .../05-gpg_2.4.4-2ubuntu22_armhf.deb ... 583s Unpacking gpg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 583s Preparing to unpack .../06-gpgconf_2.4.4-2ubuntu22_armhf.deb ... 583s Unpacking gpgconf (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 584s Preparing to unpack .../07-gnupg_2.4.4-2ubuntu22_all.deb ... 584s Unpacking gnupg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 584s Preparing to unpack .../08-keyboxd_2.4.4-2ubuntu22_armhf.deb ... 584s Unpacking keyboxd (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 584s Preparing to unpack .../09-pinentry-curses_1.3.1-2ubuntu2_armhf.deb ... 584s Unpacking pinentry-curses (1.3.1-2ubuntu2) over (1.3.1-0ubuntu2) ... 584s Preparing to unpack .../10-libnettle8t64_3.10.1-1_armhf.deb ... 584s Unpacking libnettle8t64:armhf (3.10.1-1) over (3.10-1) ... 584s Setting up libnettle8t64:armhf (3.10.1-1) ... 584s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 584s Preparing to unpack .../libhogweed6t64_3.10.1-1_armhf.deb ... 584s Unpacking libhogweed6t64:armhf (3.10.1-1) over (3.10-1) ... 584s Setting up libhogweed6t64:armhf (3.10.1-1) ... 584s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 584s Preparing to unpack .../libffi8_3.4.7-1_armhf.deb ... 584s Unpacking libffi8:armhf (3.4.7-1) over (3.4.6-1build1) ... 584s Setting up libffi8:armhf (3.4.7-1) ... 584s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 584s Preparing to unpack .../libp11-kit0_0.25.5-2ubuntu3_armhf.deb ... 584s Unpacking libp11-kit0:armhf (0.25.5-2ubuntu3) over (0.25.5-2ubuntu1) ... 584s Setting up libp11-kit0:armhf (0.25.5-2ubuntu3) ... 584s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 584s Preparing to unpack .../libtasn1-6_4.20.0-2_armhf.deb ... 584s Unpacking libtasn1-6:armhf (4.20.0-2) over (4.19.0-3build1) ... 584s Setting up libtasn1-6:armhf (4.20.0-2) ... 584s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 584s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 584s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 584s Setting up libunistring5:armhf (1.3-1) ... 584s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 584s Preparing to unpack .../libgnutls30t64_3.8.9-2ubuntu2_armhf.deb ... 584s Unpacking libgnutls30t64:armhf (3.8.9-2ubuntu2) over (3.8.8-2ubuntu1) ... 584s Setting up libgnutls30t64:armhf (3.8.9-2ubuntu2) ... 584s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 584s Preparing to unpack .../libsasl2-modules-db_2.1.28+dfsg1-8build1_armhf.deb ... 584s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 584s Preparing to unpack .../libsasl2-2_2.1.28+dfsg1-8build1_armhf.deb ... 584s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 585s Preparing to unpack .../libldap-common_2.6.9+dfsg-1~exp2ubuntu1_all.deb ... 585s Unpacking libldap-common (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 585s Preparing to unpack .../libldap2_2.6.9+dfsg-1~exp2ubuntu1_armhf.deb ... 585s Unpacking libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 585s Preparing to unpack .../gpgv_2.4.4-2ubuntu22_armhf.deb ... 585s Unpacking gpgv (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 585s Setting up gpgv (2.4.4-2ubuntu22) ... 585s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 585s Preparing to unpack .../0-e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 585s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 585s Preparing to unpack .../1-logsave_1.47.2-1ubuntu1_armhf.deb ... 585s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 585s Preparing to unpack .../2-ubuntu-minimal_1.547_armhf.deb ... 585s Unpacking ubuntu-minimal (1.547) over (1.544) ... 585s Preparing to unpack .../3-initramfs-tools_0.145ubuntu2_all.deb ... 585s Unpacking initramfs-tools (0.145ubuntu2) over (0.142ubuntu35) ... 585s Preparing to unpack .../4-initramfs-tools-core_0.145ubuntu2_all.deb ... 585s Unpacking initramfs-tools-core (0.145ubuntu2) over (0.142ubuntu35) ... 585s Preparing to unpack .../5-libext2fs2t64_1.47.2-1ubuntu1_armhf.deb ... 585s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 585s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 585s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 585s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 585s Unpacking libext2fs2t64:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 585s Setting up libext2fs2t64:armhf (1.47.2-1ubuntu1) ... 585s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 585s Preparing to unpack .../e2fsprogs_1.47.2-1ubuntu1_armhf.deb ... 585s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 585s Preparing to unpack .../dhcpcd-base_1%3a10.1.0-7_armhf.deb ... 585s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-2) ... 585s Setting up libapparmor1:armhf (4.1.0~beta5-0ubuntu5) ... 585s Setting up mount (2.40.2-14ubuntu1) ... 585s Setting up systemd (257.2-3ubuntu1) ... 585s Installing new version of config file /etc/systemd/logind.conf ... 585s Installing new version of config file /etc/systemd/sleep.conf ... 585s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 585s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 586s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 586s Setting up systemd-sysv (257.2-3ubuntu1) ... 586s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 586s Preparing to unpack .../00-init_1.68_armhf.deb ... 586s Unpacking init (1.68) over (1.67ubuntu1) ... 586s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 586s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 586s Preparing to unpack .../02-iptables_1.8.11-2ubuntu1_armhf.deb ... 586s Unpacking iptables (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 587s Preparing to unpack .../03-libip4tc2_1.8.11-2ubuntu1_armhf.deb ... 587s Unpacking libip4tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 587s Preparing to unpack .../04-libip6tc2_1.8.11-2ubuntu1_armhf.deb ... 587s Unpacking libip6tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 587s Preparing to unpack .../05-libnftnl11_1.2.8-1_armhf.deb ... 587s Unpacking libnftnl11:armhf (1.2.8-1) over (1.2.7-1) ... 587s Preparing to unpack .../06-libxtables12_1.8.11-2ubuntu1_armhf.deb ... 587s Unpacking libxtables12:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 587s Preparing to unpack .../07-iproute2_6.13.0-1ubuntu1_armhf.deb ... 587s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 587s Preparing to unpack .../08-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 587s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 587s Preparing to unpack .../09-locales_2.40-4ubuntu1_all.deb ... 587s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 587s Selecting previously unselected package login.defs. 587s Preparing to unpack .../10-login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 587s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 587s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 587s Setting up login.defs (1:4.16.0-7ubuntu1) ... 587s Installing new version of config file /etc/login.defs ... 588s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60022 files and directories currently installed.) 588s Preparing to unpack .../0-login_1%3a4.16.0-2+really2.40.2-14ubuntu1_armhf.deb ... 588s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 588s Preparing to unpack .../1-mawk_1.3.4.20250131-1_armhf.deb ... 588s Unpacking mawk (1.3.4.20250131-1) over (1.3.4.20240905-1) ... 588s Preparing to unpack .../2-netcat-openbsd_1.228-1_armhf.deb ... 588s Unpacking netcat-openbsd (1.228-1) over (1.226-1.1) ... 588s Selecting previously unselected package libpython3.13-minimal:armhf. 588s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-1_armhf.deb ... 588s Unpacking libpython3.13-minimal:armhf (3.13.2-1) ... 588s Selecting previously unselected package python3.13-minimal. 588s Preparing to unpack .../4-python3.13-minimal_3.13.2-1_armhf.deb ... 588s Unpacking python3.13-minimal (3.13.2-1) ... 588s Preparing to unpack .../5-python3-cryptography_43.0.0-1_armhf.deb ... 588s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 588s Setting up libpython3.13-minimal:armhf (3.13.2-1) ... 588s Setting up python3.13-minimal (3.13.2-1) ... 589s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 589s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 589s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 589s Setting up python3-minimal (3.13.1-1~exp2) ... 590s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 590s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 590s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 590s Selecting previously unselected package python3-bcrypt. 590s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 590s Unpacking python3-bcrypt (4.2.0-2.1) ... 590s Preparing to unpack .../02-tzdata_2025a-2ubuntu1_all.deb ... 590s Unpacking tzdata (2025a-2ubuntu1) over (2024b-1ubuntu2) ... 590s Selecting previously unselected package libpython3.13-stdlib:armhf. 590s Preparing to unpack .../03-libpython3.13-stdlib_3.13.2-1_armhf.deb ... 590s Unpacking libpython3.13-stdlib:armhf (3.13.2-1) ... 590s Selecting previously unselected package python3.13. 590s Preparing to unpack .../04-python3.13_3.13.2-1_armhf.deb ... 590s Unpacking python3.13 (3.13.2-1) ... 590s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 590s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 590s Preparing to unpack .../06-gir1.2-girepository-2.0_1.82.0-4_armhf.deb ... 590s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-4) over (1.82.0-2) ... 590s Preparing to unpack .../07-gir1.2-glib-2.0_2.83.4-1_armhf.deb ... 590s Unpacking gir1.2-glib-2.0:armhf (2.83.4-1) over (2.82.2-3) ... 590s Preparing to unpack .../08-libgirepository-1.0-1_1.82.0-4_armhf.deb ... 590s Unpacking libgirepository-1.0-1:armhf (1.82.0-4) over (1.82.0-2) ... 590s Preparing to unpack .../09-libglib2.0-data_2.83.4-1_all.deb ... 590s Unpacking libglib2.0-data (2.83.4-1) over (2.82.2-3) ... 591s Preparing to unpack .../10-libglib2.0-bin_2.83.4-1_armhf.deb ... 591s Unpacking libglib2.0-bin (2.83.4-1) over (2.82.2-3) ... 591s Preparing to unpack .../11-libatomic1_15-20250213-1ubuntu1_armhf.deb ... 591s Unpacking libatomic1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 591s Preparing to unpack .../12-libglib2.0-0t64_2.83.4-1_armhf.deb ... 591s Unpacking libglib2.0-0t64:armhf (2.83.4-1) over (2.82.2-3) ... 591s Preparing to unpack .../13-netplan-generator_1.1.2-2ubuntu1_armhf.deb ... 591s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 591s Unpacking netplan-generator (1.1.2-2ubuntu1) over (1.1.1-1) ... 591s Preparing to unpack .../14-libyaml-0-2_0.2.5-2_armhf.deb ... 591s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 591s Preparing to unpack .../15-python3-netplan_1.1.2-2ubuntu1_armhf.deb ... 591s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 591s for fn in glob1(directory, "%s.*" % fname): 591s Unpacking python3-netplan (1.1.2-2ubuntu1) over (1.1.1-1) ... 591s Preparing to unpack .../16-netplan.io_1.1.2-2ubuntu1_armhf.deb ... 591s Unpacking netplan.io (1.1.2-2ubuntu1) over (1.1.1-1) ... 591s Preparing to unpack .../17-libnetplan1_1.1.2-2ubuntu1_armhf.deb ... 591s Unpacking libnetplan1:armhf (1.1.2-2ubuntu1) over (1.1.1-1) ... 591s Preparing to unpack .../18-ethtool_1%3a6.11-1_armhf.deb ... 591s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 591s Preparing to unpack .../19-libsemanage-common_3.7-2.1_all.deb ... 591s Unpacking libsemanage-common (3.7-2.1) over (3.7-2build1) ... 591s Setting up libsemanage-common (3.7-2.1) ... 591s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 591s Preparing to unpack .../libsemanage2_3.7-2.1_armhf.deb ... 591s Unpacking libsemanage2:armhf (3.7-2.1) over (3.7-2build1) ... 591s Setting up libsemanage2:armhf (3.7-2.1) ... 591s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 591s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_armhf.deb ... 591s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 592s Setting up passwd (1:4.16.0-7ubuntu1) ... 592s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60762 files and directories currently installed.) 592s Preparing to unpack .../000-ubuntu-pro-client-l10n_34.1.3_armhf.deb ... 592s Unpacking ubuntu-pro-client-l10n (34.1.3) over (34.1.2) ... 592s Preparing to unpack .../001-python-apt-common_2.9.9_all.deb ... 592s Unpacking python-apt-common (2.9.9) over (2.9.0ubuntu2) ... 592s Preparing to unpack .../002-python3-apt_2.9.9_armhf.deb ... 592s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 592s for fn in glob1(directory, "%s.*" % fname): 592s Unpacking python3-apt (2.9.9) over (2.9.0ubuntu2) ... 592s Preparing to unpack .../003-distro-info_1.13_armhf.deb ... 592s Unpacking distro-info (1.13) over (1.12) ... 592s Preparing to unpack .../004-ubuntu-pro-client_34.1.3_armhf.deb ... 592s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 592s for fn in glob1(directory, "%s.*" % fname): 592s Unpacking ubuntu-pro-client (34.1.3) over (34.1.2) ... 592s Preparing to unpack .../005-vim-tiny_2%3a9.1.0967-1ubuntu2_armhf.deb ... 592s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 592s Preparing to unpack .../006-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ... 592s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 592s Preparing to unpack .../007-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 592s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 592s for fn in glob1(directory, "%s.*" % fname): 592s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 593s Preparing to unpack .../008-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 593s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 593s Preparing to unpack .../009-whiptail_0.52.24-4ubuntu1_armhf.deb ... 593s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 593s Preparing to unpack .../010-dracut-install_106-2ubuntu1_armhf.deb ... 593s Unpacking dracut-install (106-2ubuntu1) over (105-2ubuntu3) ... 593s Preparing to unpack .../011-initramfs-tools-bin_0.145ubuntu2_armhf.deb ... 593s Unpacking initramfs-tools-bin (0.145ubuntu2) over (0.142ubuntu35) ... 593s Preparing to unpack .../012-busybox-initramfs_1%3a1.37.0-4ubuntu1_armhf.deb ... 593s Unpacking busybox-initramfs (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 593s Preparing to unpack .../013-python3.12_3.12.9-1_armhf.deb ... 593s Unpacking python3.12 (3.12.9-1) over (3.12.7-3) ... 593s Preparing to unpack .../014-libpython3.12-stdlib_3.12.9-1_armhf.deb ... 593s Unpacking libpython3.12-stdlib:armhf (3.12.9-1) over (3.12.7-3) ... 593s Preparing to unpack .../015-python3.12-minimal_3.12.9-1_armhf.deb ... 593s Unpacking python3.12-minimal (3.12.9-1) over (3.12.7-3) ... 593s Preparing to unpack .../016-libpython3.12-minimal_3.12.9-1_armhf.deb ... 593s Unpacking libpython3.12-minimal:armhf (3.12.9-1) over (3.12.7-3) ... 593s Preparing to unpack .../017-cron_3.0pl1-192ubuntu1_armhf.deb ... 593s Unpacking cron (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 594s Preparing to unpack .../018-rsync_3.4.1-0syncable1_armhf.deb ... 594s Unpacking rsync (3.4.1-0syncable1) over (3.3.0-1) ... 594s Preparing to unpack .../019-python3-lazr.uri_1.0.6-5_all.deb ... 594s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 594s for fn in glob1(directory, "%s.*" % fname): 594s Unpacking python3-lazr.uri (1.0.6-5) over (1.0.6-4) ... 594s Preparing to unpack .../020-python3-launchpadlib_2.1.0-1_all.deb ... 594s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 594s for fn in glob1(directory, "%s.*" % fname): 594s Unpacking python3-launchpadlib (2.1.0-1) over (2.0.0-1) ... 594s Preparing to unpack .../021-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ... 594s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 594s for fn in glob1(directory, "%s.*" % fname): 594s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 594s Preparing to unpack .../022-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 594s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 594s for fn in glob1(directory, "%s.*" % fname): 594s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 594s Preparing to unpack .../023-python3-gi_3.50.0-4_armhf.deb ... 594s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 594s for fn in glob1(directory, "%s.*" % fname): 594s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 595s Preparing to unpack .../024-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ... 595s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 595s Preparing to unpack .../025-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 595s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 595s Preparing to unpack .../026-gcc-14-base_14.2.0-17ubuntu3_armhf.deb ... 595s Unpacking gcc-14-base:armhf (14.2.0-17ubuntu3) over (14.2.0-8ubuntu1) ... 595s Preparing to unpack .../027-libcom-err2_1.47.2-1ubuntu1_armhf.deb ... 595s Unpacking libcom-err2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 595s Preparing to unpack .../028-libss2_1.47.2-1ubuntu1_armhf.deb ... 595s Unpacking libss2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 595s Preparing to unpack .../029-openssl_3.4.1-1ubuntu1_armhf.deb ... 595s Unpacking openssl (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 595s Preparing to unpack .../030-ca-certificates_20241223_all.deb ... 595s Unpacking ca-certificates (20241223) over (20240203) ... 595s Preparing to unpack .../031-krb5-locales_1.21.3-4ubuntu1_all.deb ... 595s Unpacking krb5-locales (1.21.3-4ubuntu1) over (1.21.3-3) ... 595s Preparing to unpack .../032-libfribidi0_1.0.16-1_armhf.deb ... 595s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 595s Preparing to unpack .../033-libgssapi-krb5-2_1.21.3-4ubuntu1_armhf.deb ... 595s Unpacking libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 595s Preparing to unpack .../034-libkrb5-3_1.21.3-4ubuntu1_armhf.deb ... 595s Unpacking libkrb5-3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 595s Preparing to unpack .../035-libkrb5support0_1.21.3-4ubuntu1_armhf.deb ... 595s Unpacking libkrb5support0:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 595s Preparing to unpack .../036-libk5crypto3_1.21.3-4ubuntu1_armhf.deb ... 595s Unpacking libk5crypto3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 595s Preparing to unpack .../037-libicu74_74.2-1ubuntu6_armhf.deb ... 595s Unpacking libicu74:armhf (74.2-1ubuntu6) over (74.2-1ubuntu4) ... 596s Preparing to unpack .../038-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu3_armhf.deb ... 596s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) over (2.12.7+dfsg-3) ... 596s Preparing to unpack .../039-python3-pygments_2.18.0+dfsg-2_all.deb ... 596s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 596s for fn in glob1(directory, "%s.*" % fname): 596s Unpacking python3-pygments (2.18.0+dfsg-2) over (2.18.0+dfsg-1ubuntu1) ... 596s Preparing to unpack .../040-python3-rich_13.9.4-1_all.deb ... 596s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 596s for fn in glob1(directory, "%s.*" % fname): 596s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 596s Preparing to unpack .../041-ucf_3.0050_all.deb ... 596s Unpacking ucf (3.0050) over (3.0043+nmu1) ... 596s Preparing to unpack .../042-rsyslog_8.2412.0-2ubuntu1_armhf.deb ... 596s Unpacking rsyslog (8.2412.0-2ubuntu1) over (8.2406.0-1ubuntu2) ... 597s Preparing to unpack .../043-xxd_2%3a9.1.0967-1ubuntu2_armhf.deb ... 597s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 597s Preparing to unpack .../044-apparmor_4.1.0~beta5-0ubuntu5_armhf.deb ... 597s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 598s dpkg: warning: unable to delete old directory '/lib/apparmor': Directory not empty 598s Preparing to unpack .../045-bash-completion_1%3a2.16.0-7_all.deb ... 598s Unpacking bash-completion (1:2.16.0-7) over (1:2.14.0-2) ... 598s Selecting previously unselected package libjemalloc2:armhf. 598s Preparing to unpack .../046-libjemalloc2_5.3.0-2build1_armhf.deb ... 598s Unpacking libjemalloc2:armhf (5.3.0-2build1) ... 598s Preparing to unpack .../047-libmaxminddb0_1.12.2-1_armhf.deb ... 598s Unpacking libmaxminddb0:armhf (1.12.2-1) over (1.11.0-1) ... 598s Preparing to unpack .../048-liburcu8t64_0.15.1-1_armhf.deb ... 598s Unpacking liburcu8t64:armhf (0.15.1-1) over (0.14.1-1) ... 598s Preparing to unpack .../049-bind9-dnsutils_1%3a9.20.4-3ubuntu1_armhf.deb ... 598s Unpacking bind9-dnsutils (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 598s Preparing to unpack .../050-bind9-host_1%3a9.20.4-3ubuntu1_armhf.deb ... 598s Unpacking bind9-host (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 598s Preparing to unpack .../051-bind9-libs_1%3a9.20.4-3ubuntu1_armhf.deb ... 598s Unpacking bind9-libs:armhf (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 599s Preparing to unpack .../052-libedit2_3.1-20250104-1_armhf.deb ... 599s Unpacking libedit2:armhf (3.1-20250104-1) over (3.1-20240808-1) ... 599s Preparing to unpack .../053-busybox-static_1%3a1.37.0-4ubuntu1_armhf.deb ... 599s Unpacking busybox-static (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 599s Preparing to unpack .../054-cron-daemon-common_3.0pl1-192ubuntu1_all.deb ... 599s Unpacking cron-daemon-common (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 599s Preparing to unpack .../055-dmsetup_2%3a1.02.201-1ubuntu1_armhf.deb ... 599s Unpacking dmsetup (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 599s Preparing to unpack .../056-ed_1.21-1_armhf.deb ... 599s Unpacking ed (1.21-1) over (1.20.2-2) ... 599s Preparing to unpack .../057-gettext-base_0.23.1-1_armhf.deb ... 599s Unpacking gettext-base (0.23.1-1) over (0.22.5-2) ... 599s Preparing to unpack .../058-groff-base_1.23.0-7_armhf.deb ... 599s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 599s Preparing to unpack .../059-libibverbs1_55.0-1ubuntu1_armhf.deb ... 599s Unpacking libibverbs1:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 599s Preparing to unpack .../060-ibverbs-providers_55.0-1ubuntu1_armhf.deb ... 599s Unpacking ibverbs-providers:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 599s Preparing to unpack .../061-inetutils-telnet_2%3a2.5-6ubuntu1_armhf.deb ... 599s Unpacking inetutils-telnet (2:2.5-6ubuntu1) over (2:2.5-5ubuntu1) ... 599s Preparing to unpack .../062-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 599s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 599s Preparing to unpack .../063-libcbor0.10_0.10.2-2ubuntu1_armhf.deb ... 599s Unpacking libcbor0.10:armhf (0.10.2-2ubuntu1) over (0.10.2-1.2ubuntu2) ... 599s Preparing to unpack .../064-nftables_1.1.1-1build1_armhf.deb ... 599s Unpacking nftables (1.1.1-1build1) over (1.1.0-2) ... 599s Preparing to unpack .../065-libnftables1_1.1.1-1build1_armhf.deb ... 599s Unpacking libnftables1:armhf (1.1.1-1build1) over (1.1.0-2) ... 599s Preparing to unpack .../066-libpcap0.8t64_1.10.5-2ubuntu1_armhf.deb ... 599s Unpacking libpcap0.8t64:armhf (1.10.5-2ubuntu1) over (1.10.5-1ubuntu1) ... 599s Preparing to unpack .../067-libpng16-16t64_1.6.46-4_armhf.deb ... 599s Unpacking libpng16-16t64:armhf (1.6.46-4) over (1.6.44-2) ... 600s Preparing to unpack .../068-libxkbcommon0_1.7.0-2_armhf.deb ... 600s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 600s Preparing to unpack .../069-libplymouth5_24.004.60-2ubuntu5_armhf.deb ... 600s Unpacking libplymouth5:armhf (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 600s Preparing to unpack .../070-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 600s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 600s Preparing to unpack .../071-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 600s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 600s Preparing to unpack .../072-libusb-1.0-0_2%3a1.0.27-2_armhf.deb ... 600s Unpacking libusb-1.0-0:armhf (2:1.0.27-2) over (2:1.0.27-1) ... 600s Preparing to unpack .../073-libxdmcp6_1%3a1.1.5-1_armhf.deb ... 600s Unpacking libxdmcp6:armhf (1:1.1.5-1) over (1:1.1.3-0ubuntu6) ... 600s Preparing to unpack .../074-lshw_02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1_armhf.deb ... 600s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) over (02.19.git.2021.06.19.996aaad9c7-2ubuntu2) ... 600s Preparing to unpack .../075-lsof_4.99.4+dfsg-2_armhf.deb ... 600s Unpacking lsof (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 600s Preparing to unpack .../076-liblsof0_4.99.4+dfsg-2_armhf.deb ... 600s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 600s Preparing to unpack .../077-nano_8.3-1_armhf.deb ... 600s Unpacking nano (8.3-1) over (8.2-1) ... 600s Preparing to unpack .../078-pci.ids_0.0~2025.02.12-1_all.deb ... 600s Unpacking pci.ids (0.0~2025.02.12-1) over (0.0~2024.10.24-1) ... 600s Preparing to unpack .../079-plymouth-theme-ubuntu-text_24.004.60-2ubuntu5_armhf.deb ... 600s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 600s Preparing to unpack .../080-libpackagekit-glib2-18_1.3.0-3build1_armhf.deb ... 600s Unpacking libpackagekit-glib2-18:armhf (1.3.0-3build1) over (1.3.0-2) ... 600s Preparing to unpack .../081-packagekit-tools_1.3.0-3build1_armhf.deb ... 600s Unpacking packagekit-tools (1.3.0-3build1) over (1.3.0-2) ... 600s Preparing to unpack .../082-polkitd_126-2_armhf.deb ... 600s Unpacking polkitd (126-2) over (125-2ubuntu1) ... 601s Preparing to unpack .../083-libpolkit-agent-1-0_126-2_armhf.deb ... 601s Unpacking libpolkit-agent-1-0:armhf (126-2) over (125-2ubuntu1) ... 601s Preparing to unpack .../084-libpolkit-gobject-1-0_126-2_armhf.deb ... 601s Unpacking libpolkit-gobject-1-0:armhf (126-2) over (125-2ubuntu1) ... 601s Preparing to unpack .../085-libcurl3t64-gnutls_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 601s Unpacking libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 601s Preparing to unpack .../086-libappstream5_1.0.4-1_armhf.deb ... 601s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 601s Preparing to unpack .../087-libgstreamer1.0-0_1.25.50-1_armhf.deb ... 601s Unpacking libgstreamer1.0-0:armhf (1.25.50-1) over (1.24.9-1) ... 601s Preparing to unpack .../088-packagekit_1.3.0-3build1_armhf.deb ... 601s Unpacking packagekit (1.3.0-3build1) over (1.3.0-2) ... 601s Preparing to unpack .../089-plymouth_24.004.60-2ubuntu5_armhf.deb ... 601s Unpacking plymouth (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 601s Preparing to unpack .../090-powermgmt-base_1.38_all.deb ... 601s Unpacking powermgmt-base (1.38) over (1.37+nmu1ubuntu1) ... 601s Preparing to unpack .../091-psmisc_23.7-2_armhf.deb ... 601s Unpacking psmisc (23.7-2) over (23.7-1build1) ... 601s Preparing to unpack .../092-publicsuffix_20250108.1153-0.1_all.deb ... 601s Unpacking publicsuffix (20250108.1153-0.1) over (20231001.0357-0.1) ... 601s Preparing to unpack .../093-python3-distro-info_1.13_all.deb ... 601s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 601s for fn in glob1(directory, "%s.*" % fname): 601s Unpacking python3-distro-info (1.13) over (1.12) ... 601s Preparing to unpack .../094-python3.13-gdbm_3.13.2-1_armhf.deb ... 601s Unpacking python3.13-gdbm (3.13.2-1) over (3.13.0-2) ... 601s Preparing to unpack .../095-python3.12-gdbm_3.12.9-1_armhf.deb ... 601s Unpacking python3.12-gdbm (3.12.9-1) over (3.12.7-3) ... 601s Preparing to unpack .../096-python3-gdbm_3.13.1-1_armhf.deb ... 601s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 602s Preparing to unpack .../097-telnet_0.17+2.5-6ubuntu1_all.deb ... 602s Unpacking telnet (0.17+2.5-6ubuntu1) over (0.17+2.5-5ubuntu1) ... 602s Preparing to unpack .../098-ubuntu-standard_1.547_armhf.deb ... 602s Unpacking ubuntu-standard (1.547) over (1.544) ... 602s Preparing to unpack .../099-ufw_0.36.2-9_all.deb ... 602s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 602s for fn in glob1(directory, "%s.*" % fname): 602s Unpacking ufw (0.36.2-9) over (0.36.2-8) ... 602s Preparing to unpack .../100-usb.ids_2025.01.14-1_all.deb ... 602s Unpacking usb.ids (2025.01.14-1) over (2024.07.04-1) ... 602s Preparing to unpack .../101-xauth_1%3a1.1.2-1.1_armhf.deb ... 602s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 602s Preparing to unpack .../102-appstream_1.0.4-1_armhf.deb ... 602s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 602s Preparing to unpack .../103-libctf0_2.44-2ubuntu1_armhf.deb ... 602s Unpacking libctf0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 602s Preparing to unpack .../104-libctf-nobfd0_2.44-2ubuntu1_armhf.deb ... 602s Unpacking libctf-nobfd0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 602s Preparing to unpack .../105-binutils-arm-linux-gnueabihf_2.44-2ubuntu1_armhf.deb ... 602s Unpacking binutils-arm-linux-gnueabihf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 602s Preparing to unpack .../106-libbinutils_2.44-2ubuntu1_armhf.deb ... 602s Unpacking libbinutils:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 602s Preparing to unpack .../107-binutils_2.44-2ubuntu1_armhf.deb ... 602s Unpacking binutils (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 602s Preparing to unpack .../108-binutils-common_2.44-2ubuntu1_armhf.deb ... 602s Unpacking binutils-common:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 602s Preparing to unpack .../109-libsframe1_2.44-2ubuntu1_armhf.deb ... 602s Unpacking libsframe1:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 602s Preparing to unpack .../110-btrfs-progs_6.12-1build1_armhf.deb ... 602s Unpacking btrfs-progs (6.12-1build1) over (6.6.3-1.2) ... 602s Preparing to unpack .../111-python3-certifi_2025.1.31+ds-1_all.deb ... 603s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 603s for fn in glob1(directory, "%s.*" % fname): 603s Unpacking python3-certifi (2025.1.31+ds-1) over (2024.8.30+dfsg-1) ... 603s Preparing to unpack .../112-python3-chardet_5.2.0+dfsg-2_all.deb ... 603s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 603s for fn in glob1(directory, "%s.*" % fname): 603s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 603s Preparing to unpack .../113-python3-idna_3.10-1_all.deb ... 603s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 603s for fn in glob1(directory, "%s.*" % fname): 603s Unpacking python3-idna (3.10-1) over (3.8-2) ... 603s Preparing to unpack .../114-python3-urllib3_2.3.0-1_all.deb ... 603s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 603s for fn in glob1(directory, "%s.*" % fname): 603s Unpacking python3-urllib3 (2.3.0-1) over (2.0.7-2ubuntu0.1) ... 603s Preparing to unpack .../115-python3-requests_2.32.3+dfsg-4ubuntu1_all.deb ... 603s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 603s for fn in glob1(directory, "%s.*" % fname): 603s Unpacking python3-requests (2.32.3+dfsg-4ubuntu1) over (2.32.3+dfsg-1ubuntu1) ... 603s Preparing to unpack .../116-python3-jinja2_3.1.5-2_all.deb ... 603s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 603s for fn in glob1(directory, "%s.*" % fname): 603s Unpacking python3-jinja2 (3.1.5-2) over (3.1.3-1ubuntu1) ... 603s Preparing to unpack .../117-python3-json-pointer_2.4-3_all.deb ... 603s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 603s for fn in glob1(directory, "%s.*" % fname): 603s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 603s Preparing to unpack .../118-python3-jsonpatch_1.32-5_all.deb ... 603s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 603s for fn in glob1(directory, "%s.*" % fname): 603s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 604s Preparing to unpack .../119-python3-attr_25.1.0-1_all.deb ... 604s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 604s for fn in glob1(directory, "%s.*" % fname): 604s Unpacking python3-attr (25.1.0-1) over (23.2.0-2) ... 604s Preparing to unpack .../120-python3-referencing_0.35.1-2ubuntu1_all.deb ... 604s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 604s for fn in glob1(directory, "%s.*" % fname): 604s Unpacking python3-referencing (0.35.1-2ubuntu1) over (0.35.1-1ubuntu1) ... 604s Preparing to unpack .../121-python3-jsonschema_4.19.2-6ubuntu1_all.deb ... 604s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 604s for fn in glob1(directory, "%s.*" % fname): 604s Unpacking python3-jsonschema (4.19.2-6ubuntu1) over (4.19.2-3ubuntu1) ... 604s Preparing to unpack .../122-python3-jwt_2.10.1-2_all.deb ... 604s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 604s for fn in glob1(directory, "%s.*" % fname): 604s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 604s Preparing to unpack .../123-python3-oauthlib_3.2.2-3_all.deb ... 604s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 604s for fn in glob1(directory, "%s.*" % fname): 604s Unpacking python3-oauthlib (3.2.2-3) over (3.2.2-2) ... 604s Preparing to unpack .../124-cloud-init-base_25.1-0ubuntu1_all.deb ... 604s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 604s for fn in glob1(directory, "%s.*" % fname): 605s Unpacking cloud-init-base (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 605s dpkg: warning: unable to delete old directory '/lib/systemd/system/sshd-keygen@.service.d': Directory not empty 605s Preparing to unpack .../125-cryptsetup-bin_2%3a2.7.5-1ubuntu2_armhf.deb ... 605s Unpacking cryptsetup-bin (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 605s Preparing to unpack .../126-curl_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 605s Unpacking curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 605s Preparing to unpack .../127-libcurl4t64_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 605s Unpacking libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 605s Preparing to unpack .../128-dpkg-dev_1.22.11ubuntu4_all.deb ... 605s Unpacking dpkg-dev (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 605s Preparing to unpack .../129-libdpkg-perl_1.22.11ubuntu4_all.deb ... 605s Unpacking libdpkg-perl (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 605s Preparing to unpack .../130-make_4.4.1-1_armhf.deb ... 605s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 605s Preparing to unpack .../131-lto-disabled-list_56_all.deb ... 605s Unpacking lto-disabled-list (56) over (54) ... 605s Preparing to unpack .../132-libarchive13t64_3.7.7-0ubuntu1_armhf.deb ... 605s Unpacking libarchive13t64:armhf (3.7.7-0ubuntu1) over (3.7.4-1.1) ... 606s Preparing to unpack .../133-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 606s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 606s Preparing to unpack .../134-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 606s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 606s Preparing to unpack .../135-fwupd_2.0.6-3_armhf.deb ... 606s Unpacking fwupd (2.0.6-3) over (2.0.2-1) ... 606s Preparing to unpack .../136-libfwupd3_2.0.6-3_armhf.deb ... 606s Unpacking libfwupd3:armhf (2.0.6-3) over (2.0.2-1) ... 606s Preparing to unpack .../137-libprotobuf-c1_1.5.1-1ubuntu1_armhf.deb ... 606s Unpacking libprotobuf-c1:armhf (1.5.1-1ubuntu1) over (1.4.1-1ubuntu4) ... 606s Preparing to unpack .../138-libqmi-proxy_1.35.6-1_armhf.deb ... 606s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 606s Preparing to unpack .../139-libqmi-glib5_1.35.6-1_armhf.deb ... 606s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 606s Preparing to unpack .../140-gir1.2-packagekitglib-1.0_1.3.0-3build1_armhf.deb ... 606s Unpacking gir1.2-packagekitglib-1.0 (1.3.0-3build1) over (1.3.0-2) ... 606s Preparing to unpack .../141-gnupg-l10n_2.4.4-2ubuntu22_all.deb ... 606s Unpacking gnupg-l10n (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 606s Preparing to unpack .../142-htop_3.3.0-5_armhf.deb ... 606s Unpacking htop (3.3.0-5) over (3.3.0-4build1) ... 606s Preparing to unpack .../143-libblockdev-utils3_3.3.0-1_armhf.deb ... 606s Unpacking libblockdev-utils3:armhf (3.3.0-1) over (3.2.1-1) ... 606s Preparing to unpack .../144-libnspr4_2%3a4.36-1ubuntu1_armhf.deb ... 606s Unpacking libnspr4:armhf (2:4.36-1ubuntu1) over (2:4.35-1.1ubuntu2) ... 606s Preparing to unpack .../145-libnss3_2%3a3.108-1ubuntu1_armhf.deb ... 606s Unpacking libnss3:armhf (2:3.108-1ubuntu1) over (2:3.103-1) ... 606s Preparing to unpack .../146-libgpgme11t64_1.24.2-1ubuntu1_armhf.deb ... 606s Unpacking libgpgme11t64:armhf (1.24.2-1ubuntu1) over (1.24.0-2ubuntu1) ... 607s Preparing to unpack .../147-libvolume-key1_0.3.12-9_armhf.deb ... 607s Unpacking libvolume-key1:armhf (0.3.12-9) over (0.3.12-8) ... 607s Preparing to unpack .../148-libblockdev-crypto3_3.3.0-1_armhf.deb ... 607s Unpacking libblockdev-crypto3:armhf (3.3.0-1) over (3.2.1-1) ... 607s Preparing to unpack .../149-libblockdev-fs3_3.3.0-1_armhf.deb ... 607s Unpacking libblockdev-fs3:armhf (3.3.0-1) over (3.2.1-1) ... 607s Preparing to unpack .../150-libblockdev-loop3_3.3.0-1_armhf.deb ... 607s Unpacking libblockdev-loop3:armhf (3.3.0-1) over (3.2.1-1) ... 607s Preparing to unpack .../151-libblockdev-mdraid3_3.3.0-1_armhf.deb ... 607s Unpacking libblockdev-mdraid3:armhf (3.3.0-1) over (3.2.1-1) ... 607s Preparing to unpack .../152-libnvme1t64_1.11.1-2_armhf.deb ... 607s Unpacking libnvme1t64 (1.11.1-2) over (1.11.1-1) ... 607s Preparing to unpack .../153-libblockdev-nvme3_3.3.0-1_armhf.deb ... 607s Unpacking libblockdev-nvme3:armhf (3.3.0-1) over (3.2.1-1) ... 607s Preparing to unpack .../154-libblockdev-part3_3.3.0-1_armhf.deb ... 607s Unpacking libblockdev-part3:armhf (3.3.0-1) over (3.2.1-1) ... 607s Preparing to unpack .../155-libblockdev-swap3_3.3.0-1_armhf.deb ... 607s Unpacking libblockdev-swap3:armhf (3.3.0-1) over (3.2.1-1) ... 607s Preparing to unpack .../156-libblockdev3_3.3.0-1_armhf.deb ... 607s Unpacking libblockdev3:armhf (3.3.0-1) over (3.2.1-1) ... 607s Preparing to unpack .../157-libftdi1-2_1.5-8_armhf.deb ... 607s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 607s Preparing to unpack .../158-libgudev-1.0-0_1%3a238-6_armhf.deb ... 607s Unpacking libgudev-1.0-0:armhf (1:238-6) over (1:238-5ubuntu1) ... 607s Selecting previously unselected package libicu76:armhf. 607s Preparing to unpack .../159-libicu76_76.1-1ubuntu2_armhf.deb ... 607s Unpacking libicu76:armhf (76.1-1ubuntu2) ... 607s Preparing to unpack .../160-libsasl2-modules_2.1.28+dfsg1-8build1_armhf.deb ... 607s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 608s Preparing to unpack .../161-udisks2_2.10.1-11ubuntu2_armhf.deb ... 608s Unpacking udisks2 (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 608s Preparing to unpack .../162-libudisks2-0_2.10.1-11ubuntu2_armhf.deb ... 608s Unpacking libudisks2-0:armhf (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 608s Preparing to unpack .../163-libwrap0_7.6.q-35_armhf.deb ... 608s Unpacking libwrap0:armhf (7.6.q-35) over (7.6.q-33) ... 608s Selecting previously unselected package linux-headers-6.12.0-15. 608s Preparing to unpack .../164-linux-headers-6.12.0-15_6.12.0-15.15_all.deb ... 608s Unpacking linux-headers-6.12.0-15 (6.12.0-15.15) ... 611s Selecting previously unselected package linux-headers-6.12.0-15-generic. 611s Preparing to unpack .../165-linux-headers-6.12.0-15-generic_6.12.0-15.15_armhf.deb ... 611s Unpacking linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 612s Preparing to unpack .../166-linux-headers-generic_6.12.0-15.15+1_armhf.deb ... 612s Unpacking linux-headers-generic (6.12.0-15.15+1) over (6.11.0-8.8) ... 612s Preparing to unpack .../167-pollinate_4.33-4ubuntu2_all.deb ... 612s Unpacking pollinate (4.33-4ubuntu2) over (4.33-4ubuntu1) ... 613s Preparing to unpack .../168-python3-babel_2.17.0-1_all.deb ... 613s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 613s for fn in glob1(directory, "%s.*" % fname): 613s Unpacking python3-babel (2.17.0-1) over (2.16.0-1) ... 613s Preparing to unpack .../169-python-babel-localedata_2.17.0-1_all.deb ... 613s Unpacking python-babel-localedata (2.17.0-1) over (2.16.0-1) ... 613s Preparing to unpack .../170-python3-more-itertools_10.6.0-1_all.deb ... 613s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 613s for fn in glob1(directory, "%s.*" % fname): 613s Unpacking python3-more-itertools (10.6.0-1) over (10.5.0-1) ... 613s Preparing to unpack .../171-python3-openssl_25.0.0-1_all.deb ... 613s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 613s for fn in glob1(directory, "%s.*" % fname): 613s Unpacking python3-openssl (25.0.0-1) over (24.2.1-1) ... 614s Preparing to unpack .../172-python3-pkg-resources_75.6.0-1_all.deb ... 614s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 614s for fn in glob1(directory, "%s.*" % fname): 614s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 614s Preparing to unpack .../173-python3-setuptools_75.6.0-1_all.deb ... 614s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 614s for fn in glob1(directory, "%s.*" % fname): 614s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 614s Preparing to unpack .../174-software-properties-common_0.109_all.deb ... 614s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 614s for fn in glob1(directory, "%s.*" % fname): 614s Unpacking software-properties-common (0.109) over (0.105) ... 614s Preparing to unpack .../175-python3-software-properties_0.109_all.deb ... 614s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 614s for fn in glob1(directory, "%s.*" % fname): 614s Unpacking python3-software-properties (0.109) over (0.105) ... 614s Preparing to unpack .../176-python3-wadllib_2.0.0-2_all.deb ... 614s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 614s for fn in glob1(directory, "%s.*" % fname): 614s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 615s Preparing to unpack .../177-tmux_3.5a-3_armhf.deb ... 615s Unpacking tmux (3.5a-3) over (3.4-7) ... 615s Preparing to unpack .../178-unattended-upgrades_2.12ubuntu4_all.deb ... 615s Unpacking unattended-upgrades (2.12ubuntu4) over (2.9.1+nmu4ubuntu1) ... 615s dpkg: warning: unable to delete old directory '/lib/systemd/system-sleep': Directory not empty 615s Preparing to unpack .../179-xfsprogs_6.12.0-1ubuntu1_armhf.deb ... 615s Unpacking xfsprogs (6.12.0-1ubuntu1) over (6.8.0-2.2ubuntu2) ... 615s Preparing to unpack .../180-zstd_1.5.6+dfsg-2_armhf.deb ... 615s Unpacking zstd (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 615s Preparing to unpack .../181-cloud-init_25.1-0ubuntu1_all.deb ... 615s Unpacking cloud-init (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 615s Preparing to unpack .../182-kpartx_0.9.9-1ubuntu4_armhf.deb ... 615s Unpacking kpartx (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 615s Preparing to unpack .../183-multipath-tools_0.9.9-1ubuntu4_armhf.deb ... 615s Unpacking multipath-tools (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 615s Setting up libip4tc2:armhf (1.8.11-2ubuntu1) ... 615s Setting up powermgmt-base (1.38) ... 615s Setting up motd-news-config (13.6ubuntu1) ... 615s Setting up distro-info (1.13) ... 615s Setting up liburcu8t64:armhf (0.15.1-1) ... 615s Setting up libibverbs1:armhf (55.0-1ubuntu1) ... 615s Setting up libxdmcp6:armhf (1:1.1.5-1) ... 615s Setting up lto-disabled-list (56) ... 615s Setting up pci.ids (0.0~2025.02.12-1) ... 615s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 615s Setting up apt-utils (2.9.30ubuntu1) ... 615s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 615s Setting up init (1.68) ... 615s Setting up ibverbs-providers:armhf (55.0-1ubuntu1) ... 615s Setting up gcc-14-base:armhf (14.2.0-17ubuntu3) ... 615s Setting up psmisc (23.7-2) ... 615s Setting up libcbor0.10:armhf (0.10.2-2ubuntu1) ... 615s Setting up libyaml-0-2:armhf (0.2.5-2) ... 615s Setting up libip6tc2:armhf (1.8.11-2ubuntu1) ... 615s Setting up liblsof0 (4.99.4+dfsg-2) ... 615s Setting up libmaxminddb0:armhf (1.12.2-1) ... 615s Setting up python3.12-gdbm (3.12.9-1) ... 615s Setting up libedit2:armhf (3.1-20250104-1) ... 615s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-8build1) ... 615s Setting up netcat-openbsd (1.228-1) ... 615s Setting up libpython3.12-minimal:armhf (3.12.9-1) ... 615s Setting up binutils-common:armhf (2.44-2ubuntu1) ... 615s Setting up libctf-nobfd0:armhf (2.44-2ubuntu1) ... 615s Setting up gettext-base (0.23.1-1) ... 615s Setting up libnss-systemd:armhf (257.2-3ubuntu1) ... 615s Setting up libnftnl11:armhf (1.2.8-1) ... 615s Setting up krb5-locales (1.21.3-4ubuntu1) ... 615s Setting up libcom-err2:armhf (1.47.2-1ubuntu1) ... 615s Setting up libjemalloc2:armhf (5.3.0-2build1) ... 615s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) ... 615s Setting up locales (2.40-4ubuntu1) ... 616s Generating locales (this might take a while)... 618s en_US.UTF-8... done 618s Generation complete. 618s Setting up libldap-common (2.6.9+dfsg-1~exp2ubuntu1) ... 618s Installing new version of config file /etc/ldap/ldap.conf ... 618s Setting up libprotobuf-c1:armhf (1.5.1-1ubuntu1) ... 618s Setting up xxd (2:9.1.0967-1ubuntu2) ... 618s Setting up libsframe1:armhf (2.44-2ubuntu1) ... 618s Setting up python-babel-localedata (2.17.0-1) ... 618s Setting up libkrb5support0:armhf (1.21.3-4ubuntu1) ... 618s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) ... 618s Setting up tzdata (2025a-2ubuntu1) ... 618s 618s Current default time zone: 'Etc/UTC' 618s Local time is now: Sat Feb 22 05:01:38 UTC 2025. 618s Universal Time is now: Sat Feb 22 05:01:38 UTC 2025. 618s Run 'dpkg-reconfigure tzdata' if you wish to change it. 618s 618s Setting up eject (2.40.2-14ubuntu1) ... 618s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 619s Installing new version of config file /etc/apparmor.d/abstractions/dconf ... 619s Installing new version of config file /etc/apparmor.d/abstractions/mesa ... 619s Installing new version of config file /etc/apparmor.d/abstractions/nameservice ... 619s Installing new version of config file /etc/apparmor.d/abstractions/php ... 619s Installing new version of config file /etc/apparmor.d/abstractions/python ... 619s Installing new version of config file /etc/apparmor.d/sbuild ... 619s Installing new version of config file /etc/apparmor.d/sbuild-abort ... 619s Installing new version of config file /etc/apparmor.d/sbuild-adduser ... 619s Installing new version of config file /etc/apparmor.d/sbuild-apt ... 619s Installing new version of config file /etc/apparmor.d/sbuild-checkpackages ... 619s Installing new version of config file /etc/apparmor.d/sbuild-clean ... 619s Installing new version of config file /etc/apparmor.d/sbuild-createchroot ... 619s Installing new version of config file /etc/apparmor.d/sbuild-destroychroot ... 619s Installing new version of config file /etc/apparmor.d/sbuild-distupgrade ... 619s Installing new version of config file /etc/apparmor.d/sbuild-hold ... 619s Installing new version of config file /etc/apparmor.d/sbuild-shell ... 619s Installing new version of config file /etc/apparmor.d/sbuild-unhold ... 619s Installing new version of config file /etc/apparmor.d/sbuild-update ... 619s Installing new version of config file /etc/apparmor.d/sbuild-upgrade ... 619s Installing new version of config file /etc/apparmor.d/slirp4netns ... 619s Installing new version of config file /etc/apparmor.d/toybox ... 619s Installing new version of config file /etc/apparmor.d/transmission ... 619s Installing new version of config file /etc/apparmor.d/tunables/global ... 619s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 619s 619s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 619s 619s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 619s 620s Reloading AppArmor profiles 620s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "unpriv_unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "remmina". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 620s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 620s 621s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 621s 621s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 621s 621s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 621s 621s Error: At least one profile failed to load 621s Setting up libglib2.0-data (2.83.4-1) ... 621s Setting up vim-common (2:9.1.0967-1ubuntu2) ... 621s Setting up busybox-static (1:1.37.0-4ubuntu1) ... 621s Setting up libwrap0:armhf (7.6.q-35) ... 621s Setting up libnvme1t64 (1.11.1-2) ... 621s Setting up make (4.4.1-1) ... 621s Setting up libnspr4:armhf (2:4.36-1ubuntu1) ... 621s Setting up gnupg-l10n (2.4.4-2ubuntu22) ... 621s Setting up ed (1.21-1) ... 621s Setting up bash-completion (1:2.16.0-7) ... 621s Setting up libncurses6:armhf (6.5+20250125-2) ... 621s Setting up libdbus-1-3:armhf (1.16.0-1ubuntu1) ... 621s Setting up libfribidi0:armhf (1.0.16-1) ... 621s Setting up libpng16-16t64:armhf (1.6.46-4) ... 621s Setting up systemd-timesyncd (257.2-3ubuntu1) ... 621s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 621s Setting up libatomic1:armhf (15-20250213-1ubuntu1) ... 621s Setting up udev (257.2-3ubuntu1) ... 622s Setting up libss2:armhf (1.47.2-1ubuntu1) ... 622s Setting up usb.ids (2025.01.14-1) ... 622s Setting up dhcpcd-base (1:10.1.0-7) ... 622s Installing new version of config file /etc/dhcpcd.conf ... 622s Setting up ucf (3.0050) ... 622s Installing new version of config file /etc/ucf.conf ... 622s Setting up libncursesw6:armhf (6.5+20250125-2) ... 622s Setting up libk5crypto3:armhf (1.21.3-4ubuntu1) ... 622s Setting up busybox-initramfs (1:1.37.0-4ubuntu1) ... 622s Setting up libxtables12:armhf (1.8.11-2ubuntu1) ... 622s Setting up logsave (1.47.2-1ubuntu1) ... 622s Setting up libsasl2-2:armhf (2.1.28+dfsg1-8build1) ... 622s Setting up lsof (4.99.4+dfsg-2) ... 622s Setting up libfdisk1:armhf (2.40.2-14ubuntu1) ... 622s Setting up libicu74:armhf (74.2-1ubuntu6) ... 622s Setting up nano (8.3-1) ... 622s Installing new version of config file /etc/nanorc ... 622s Setting up libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) ... 622s Setting up whiptail (0.52.24-4ubuntu1) ... 622s Setting up python-apt-common (2.9.9) ... 622s Setting up dracut-install (106-2ubuntu1) ... 622s Setting up perl-modules-5.40 (5.40.1-2) ... 622s Setting up dmsetup (2:1.02.201-1ubuntu1) ... 622s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 624s uuidd.service is a disabled or a static unit not running, not starting it. 624s Setting up xauth (1:1.1.2-1.1) ... 624s Setting up groff-base (1.23.0-7) ... 624s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 624s Setting up dbus-session-bus-common (1.16.0-1ubuntu1) ... 624s Setting up kpartx (0.9.9-1ubuntu4) ... 624s Setting up libpcap0.8t64:armhf (1.10.5-2ubuntu1) ... 624s Setting up libcryptsetup12:armhf (2:2.7.5-1ubuntu2) ... 624s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 624s Setting up mawk (1.3.4.20250131-1) ... 624s Setting up libkrb5-3:armhf (1.21.3-4ubuntu1) ... 624s Setting up libusb-1.0-0:armhf (2:1.0.27-2) ... 624s Setting up libicu76:armhf (76.1-1ubuntu2) ... 624s Setting up linux-headers-6.12.0-15 (6.12.0-15.15) ... 624s Setting up keyboard-configuration (1.226ubuntu3) ... 624s Your console font configuration will be updated the next time your system 624s boots. If you want to update it now, run 'setupcon' from a virtual console. 624s update-initramfs: deferring update (trigger activated) 624s Setting up libbinutils:armhf (2.44-2ubuntu1) ... 624s Setting up dbus-system-bus-common (1.16.0-1ubuntu1) ... 624s Setting up openssl (3.4.1-1ubuntu1) ... 624s Installing new version of config file /etc/ssl/openssl.cnf ... 624s Setting up libgpg-error-l10n (1.51-3) ... 624s Setting up iputils-ping (3:20240905-1ubuntu1) ... 624s Setting up readline-common (8.2-6) ... 624s Setting up publicsuffix (20250108.1153-0.1) ... 624s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) ... 624s Setting up tmux (3.5a-3) ... 624s Setting up zstd (1.5.6+dfsg-2) ... 624s Setting up libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) ... 624s Setting up dbus-bin (1.16.0-1ubuntu1) ... 624s Setting up libbpf1:armhf (1:1.5.0-2) ... 624s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 624s Setting up rsync (3.4.1-0syncable1) ... 625s rsync.service is a disabled or a static unit not running, not starting it. 625s Setting up python3.13-gdbm (3.13.2-1) ... 625s Setting up ethtool (1:6.11-1) ... 625s Setting up gnupg-utils (2.4.4-2ubuntu22) ... 625s Setting up initramfs-tools-bin (0.145ubuntu2) ... 625s Setting up ncurses-term (6.5+20250125-2) ... 625s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 625s Setting up cron-daemon-common (3.0pl1-192ubuntu1) ... 625s Setting up libxkbcommon0:armhf (1.7.0-2) ... 625s Setting up libctf0:armhf (2.44-2ubuntu1) ... 625s Setting up cryptsetup-bin (2:2.7.5-1ubuntu2) ... 625s Setting up pinentry-curses (1.3.1-2ubuntu2) ... 625s Setting up python3.12-minimal (3.12.9-1) ... 627s Setting up libnftables1:armhf (1.1.1-1build1) ... 627s Setting up nftables (1.1.1-1build1) ... 627s Setting up iptables (1.8.11-2ubuntu1) ... 627s Setting up htop (3.3.0-5) ... 627s Setting up iproute2 (6.13.0-1ubuntu1) ... 627s Setting up btrfs-progs (6.12-1build1) ... 627s Setting up cron (3.0pl1-192ubuntu1) ... 628s Setting up rsyslog (8.2412.0-2ubuntu1) ... 628s Installing new version of config file /etc/apparmor.d/usr.sbin.rsyslogd ... 628s info: The user `syslog' is already a member of `adm'. 629s apparmor_parser: Unable to replace "rsyslogd". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 629s 630s Setting up inetutils-telnet (2:2.5-6ubuntu1) ... 630s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 630s update-initramfs: deferring update (trigger activated) 631s Setting up libnss3:armhf (2:3.108-1ubuntu1) ... 631s Setting up dbus-daemon (1.16.0-1ubuntu1) ... 631s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ... 631s Setting up multipath-tools (0.9.9-1ubuntu4) ... 631s Setting up libperl5.40:armhf (5.40.1-2) ... 631s Setting up libftdi1-2:armhf (1.5-8) ... 631s Setting up ca-certificates (20241223) ... 635s Updating certificates in /etc/ssl/certs... 637s rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL 637s 7 added, 1 removed; done. 637s Setting up perl (5.40.1-2) ... 637s Setting up libglib2.0-0t64:armhf (2.83.4-1) ... 637s No schema files found: doing nothing. 637s Setting up systemd-cryptsetup (257.2-3ubuntu1) ... 637s Setting up dbus (1.16.0-1ubuntu1) ... 637s A reboot is required to replace the running dbus-daemon. 637s Please reboot the system when convenient. 637s Setting up libblockdev-utils3:armhf (3.3.0-1) ... 637s Setting up linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 637s Setting up libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) ... 637s Setting up gir1.2-glib-2.0:armhf (2.83.4-1) ... 637s Setting up libdpkg-perl (1.22.11ubuntu4) ... 637s Setting up libreadline8t64:armhf (8.2-6) ... 637s Setting up libblockdev-nvme3:armhf (3.3.0-1) ... 637s Setting up libblockdev-fs3:armhf (3.3.0-1) ... 637s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 637s Setting up libplymouth5:armhf (24.004.60-2ubuntu5) ... 637s Setting up gpgconf (2.4.4-2ubuntu22) ... 637s Setting up libpam-systemd:armhf (257.2-3ubuntu1) ... 637s Setting up libgirepository-1.0-1:armhf (1.82.0-4) ... 637s Setting up initramfs-tools-core (0.145ubuntu2) ... 637s Setting up binutils-arm-linux-gnueabihf (2.44-2ubuntu1) ... 637s Setting up libarchive13t64:armhf (3.7.7-0ubuntu1) ... 637s Setting up libpython3.13-stdlib:armhf (3.13.2-1) ... 637s Setting up gpg (2.4.4-2ubuntu22) ... 637s Setting up libgudev-1.0-0:armhf (1:238-6) ... 637s Setting up libpolkit-gobject-1-0:armhf (126-2) ... 637s Setting up libgstreamer1.0-0:armhf (1.25.50-1) ... 637s Setcap worked! gst-ptp-helper is not suid! 637s Setting up libudisks2-0:armhf (2.10.1-11ubuntu2) ... 637s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 637s Setting up systemd-resolved (257.2-3ubuntu1) ... 638s Setting up gpg-agent (2.4.4-2ubuntu22) ... 639s Setting up telnet (0.17+2.5-6ubuntu1) ... 639s Setting up libpython3.12-stdlib:armhf (3.12.9-1) ... 639s Setting up initramfs-tools (0.145ubuntu2) ... 639s update-initramfs: deferring update (trigger activated) 639s Setting up libblockdev-mdraid3:armhf (3.3.0-1) ... 639s Setting up libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 639s Setting up bind9-libs:armhf (1:9.20.4-3ubuntu1) ... 639s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 639s Setting up python3.13 (3.13.2-1) ... 640s Setting up libblockdev-swap3:armhf (3.3.0-1) ... 640s Setting up plymouth (24.004.60-2ubuntu5) ... 640s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 640s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 640s Setting up python3.12 (3.12.9-1) ... 642s Setting up libblockdev-loop3:armhf (3.3.0-1) ... 642s Setting up gpgsm (2.4.4-2ubuntu22) ... 642s Setting up libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 642s Setting up libglib2.0-bin (2.83.4-1) ... 642s Setting up libpackagekit-glib2-18:armhf (1.3.0-3build1) ... 642s Setting up libappstream5:armhf (1.0.4-1) ... 642s Setting up libqmi-glib5:armhf (1.35.6-1) ... 642s Setting up python3 (3.13.1-1~exp2) ... 642s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 642s for fn in glob1(directory, "%s.*" % fname): 642s Setting up linux-headers-generic (6.12.0-15.15+1) ... 642s Setting up binutils (2.44-2ubuntu1) ... 642s Setting up libnetplan1:armhf (1.1.2-2ubuntu1) ... 642s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 643s Setting up libblockdev3:armhf (3.3.0-1) ... 643s Setting up fdisk (2.40.2-14ubuntu1) ... 643s Setting up dpkg-dev (1.22.11ubuntu4) ... 643s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 643s Setting up libblockdev-part3:armhf (3.3.0-1) ... 643s Setting up dirmngr (2.4.4-2ubuntu22) ... 643s Setting up gir1.2-packagekitglib-1.0 (1.3.0-3build1) ... 643s Setting up dbus-user-session (1.16.0-1ubuntu1) ... 643s Setting up python3-jinja2 (3.1.5-2) ... 643s Setting up python3-pygments (2.18.0+dfsg-2) ... 645s Setting up python3-chardet (5.2.0+dfsg-2) ... 646s Setting up appstream (1.0.4-1) ... 648s ✔ Metadata cache was updated successfully. 648s Setting up python3-certifi (2025.1.31+ds-1) ... 649s Setting up gir1.2-girepository-2.0:armhf (1.82.0-4) ... 649s Setting up python3-gi (3.50.0-4) ... 649s Setting up python3-idna (3.10-1) ... 649s Setting up xfsprogs (6.12.0-1ubuntu1) ... 649s update-initramfs: deferring update (trigger activated) 650s Setting up keyboxd (2.4.4-2ubuntu22) ... 650s Setting up python3-urllib3 (2.3.0-1) ... 651s Setting up python3-json-pointer (2.4-3) ... 651s Setting up gnupg (2.4.4-2ubuntu22) ... 651s Setting up python3-netplan (1.1.2-2ubuntu1) ... 651s Setting up libpolkit-agent-1-0:armhf (126-2) ... 651s Setting up libgpgme11t64:armhf (1.24.2-1ubuntu1) ... 651s Setting up curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 651s Setting up libvolume-key1:armhf (0.3.12-9) ... 651s Setting up netplan-generator (1.1.2-2ubuntu1) ... 651s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 651s Setting up bind9-host (1:9.20.4-3ubuntu1) ... 651s Setting up python3-distro-info (1.13) ... 651s Setting up polkitd (126-2) ... 652s Setting up python3-more-itertools (10.6.0-1) ... 652s Setting up python3-attr (25.1.0-1) ... 652s Setting up gpg-wks-client (2.4.4-2ubuntu22) ... 652s Setting up libblockdev-crypto3:armhf (3.3.0-1) ... 652s Setting up python3-jwt (2.10.1-2) ... 653s Setting up python3-babel (2.17.0-1) ... 653s Setting up python3-rich (13.9.4-1) ... 654s Setting up python3-gdbm:armhf (3.13.1-1) ... 654s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ... 654s Setting up python3-apt (2.9.9) ... 654s Setting up python3-jsonpatch (1.32-5) ... 655s Setting up python3-bcrypt (4.2.0-2.1) ... 655s Setting up libqmi-proxy (1.35.6-1) ... 655s Setting up libfwupd3:armhf (2.0.6-3) ... 655s Setting up ufw (0.36.2-9) ... 656s Setting up python3-lazr.uri (1.0.6-5) ... 656s Setting up netplan.io (1.1.2-2ubuntu1) ... 656s Setting up unattended-upgrades (2.12ubuntu4) ... 657s Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version 657s Setting up pollinate (4.33-4ubuntu2) ... 658s Setting up python3-cryptography (43.0.0-1) ... 658s Setting up python3-wadllib (2.0.0-2) ... 658s Setting up python3-requests (2.32.3+dfsg-4ubuntu1) ... 659s Setting up bind9-dnsutils (1:9.20.4-3ubuntu1) ... 659s Setting up ubuntu-pro-client (34.1.3) ... 659s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 659s 659s apparmor_parser: Unable to replace "apt_methods". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 659s 659s apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 659s 661s Setting up fwupd (2.0.6-3) ... 661s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 661s fwupd.service is a disabled or a static unit not running, not starting it. 662s Setting up python3-referencing (0.35.1-2ubuntu1) ... 662s Setting up python3-pkg-resources (75.6.0-1) ... 662s Setting up ubuntu-pro-client-l10n (34.1.3) ... 662s Setting up udisks2 (2.10.1-11ubuntu2) ... 662s vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/uevent': Permission denied 662s vda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda1/uevent': Permission denied 662s vda15: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda15/uevent': Permission denied 662s vda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda2/uevent': Permission denied 662s loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied 662s loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied 662s loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied 662s loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied 662s loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied 662s loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied 662s loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied 662s loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 662s loop8: Failed to write 'change' to '/sys/devices/virtual/block/loop8/uevent': Permission denied 663s Setting up python3-setuptools (75.6.0-1) ... 665s Setting up python3-openssl (25.0.0-1) ... 665s Setting up python3-launchpadlib (2.1.0-1) ... 665s Setting up ubuntu-standard (1.547) ... 665s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ... 666s Setting up python3-oauthlib (3.2.2-3) ... 666s Setting up python3-software-properties (0.109) ... 666s Setting up python3-jsonschema (4.19.2-6ubuntu1) ... 667s Setting up cloud-init-base (25.1-0ubuntu1) ... 667s Installing new version of config file /etc/cloud/templates/sources.list.debian.deb822.tmpl ... 667s Installing new version of config file /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl ... 669s Setting up cloud-init (25.1-0ubuntu1) ... 669s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ... 670s Setting up apport (2.31.0+git20250220-0ubuntu1) ... 671s apport-autoreport.service is a disabled or a static unit not running, not starting it. 671s Setting up kbd (2.7.1-2ubuntu1) ... 671s Setting up console-setup-linux (1.226ubuntu3) ... 673s Setting up console-setup (1.226ubuntu3) ... 674s update-initramfs: deferring update (trigger activated) 674s Setting up ubuntu-minimal (1.547) ... 674s Processing triggers for libc-bin (2.40-4ubuntu1) ... 674s Processing triggers for systemd (257.2-3ubuntu1) ... 674s Processing triggers for man-db (2.13.0-1) ... 675s Processing triggers for shared-mime-info (2.4-5) ... 675s Warning: program compiled against libxml 212 using older 209 676s Processing triggers for sgml-base (1.31) ... 676s Processing triggers for debianutils (5.21) ... 676s Processing triggers for install-info (7.1.1-1) ... 676s Setting up packagekit (1.3.0-3build1) ... 676s Setting up packagekit-tools (1.3.0-3build1) ... 676s Setting up software-properties-common (0.109) ... 676s Processing triggers for initramfs-tools (0.145ubuntu2) ... 676s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 676s Processing triggers for ca-certificates (20241223) ... 676s Updating certificates in /etc/ssl/certs... 678s 0 added, 0 removed; done. 678s Running hooks in /etc/ca-certificates/update.d... 678s done. 678s Processing triggers for initramfs-tools (0.145ubuntu2) ... 681s Reading package lists... 681s Building dependency tree... 681s Reading state information... 682s Starting pkgProblemResolver with broken count: 0 682s Starting 2 pkgProblemResolver with broken count: 0 682s Done 682s Solving dependencies... 683s The following packages will be REMOVED: 683s libapt-pkg6.0t64* libassuan0* libicu74* libnsl2* libpython3.12-minimal* 683s libpython3.12-stdlib* libunwind8* linux-headers-6.11.0-8* 683s linux-headers-6.11.0-8-generic* python3.12* python3.12-minimal* 684s 0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded. 684s After this operation, 154 MB disk space will be freed. 684s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 92815 files and directories currently installed.) 684s Removing libapt-pkg6.0t64:armhf (2.9.29) ... 684s Removing libassuan0:armhf (2.5.6-1build1) ... 684s Removing libicu74:armhf (74.2-1ubuntu6) ... 684s Removing python3.12 (3.12.9-1) ... 684s Removing libpython3.12-stdlib:armhf (3.12.9-1) ... 684s Removing libnsl2:armhf (1.3.0-3build3) ... 684s Removing python3.12-minimal (3.12.9-1) ... 684s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 684s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 685s Removing libpython3.12-minimal:armhf (3.12.9-1) ... 685s Removing libunwind8:armhf (1.6.2-3.1) ... 685s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 685s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 686s Processing triggers for systemd (257.2-3ubuntu1) ... 686s Processing triggers for man-db (2.13.0-1) ... 687s Processing triggers for libc-bin (2.40-4ubuntu1) ... 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 ... 60309 files and directories currently installed.) 687s Purging configuration files for python3.12-minimal (3.12.9-1) ... 687s Purging configuration files for libpython3.12-minimal:armhf (3.12.9-1) ... 689s autopkgtest [05:02:49]: rebooting testbed after setup commands that affected boot 762s Reading package lists... 762s Building dependency tree... 762s Reading state information... 763s Starting pkgProblemResolver with broken count: 0 763s Starting 2 pkgProblemResolver with broken count: 0 763s Done 764s The following NEW packages will be installed: 764s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0 764s native-architecture 764s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 764s Need to get 1071 kB of archives. 764s After this operation, 12.7 MB of additional disk space will be used. 764s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf gir1.2-glib-2.0-dev armhf 2.83.4-1 [861 kB] 765s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.5 [2082 B] 765s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libgirepository-2.0-0 armhf 2.83.4-1 [99.1 kB] 765s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf girepository-tools armhf 2.83.4-1 [109 kB] 766s Fetched 1071 kB in 1s (1219 kB/s) 766s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 766s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60307 files and directories currently installed.) 766s Preparing to unpack .../gir1.2-glib-2.0-dev_2.83.4-1_armhf.deb ... 766s Unpacking gir1.2-glib-2.0-dev:armhf (2.83.4-1) ... 766s Selecting previously unselected package native-architecture. 766s Preparing to unpack .../native-architecture_0.2.5_all.deb ... 766s Unpacking native-architecture (0.2.5) ... 766s Selecting previously unselected package libgirepository-2.0-0:armhf. 766s Preparing to unpack .../libgirepository-2.0-0_2.83.4-1_armhf.deb ... 766s Unpacking libgirepository-2.0-0:armhf (2.83.4-1) ... 766s Selecting previously unselected package girepository-tools:armhf. 766s Preparing to unpack .../girepository-tools_2.83.4-1_armhf.deb ... 766s Unpacking girepository-tools:armhf (2.83.4-1) ... 766s Setting up native-architecture (0.2.5) ... 766s Setting up libgirepository-2.0-0:armhf (2.83.4-1) ... 766s Setting up gir1.2-glib-2.0-dev:armhf (2.83.4-1) ... 766s Setting up girepository-tools:armhf (2.83.4-1) ... 766s Processing triggers for man-db (2.13.0-1) ... 766s Processing triggers for libc-bin (2.40-4ubuntu1) ... 789s autopkgtest [05:04:29]: test girepository-tools: [----------------------- 791s + cd /tmp/autopkgtest.v8E5kR/autopkgtest_tmp 791s + dpkg-architecture -qDEB_HOST_GNU_TYPE 791s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 791s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 791s + dpkg-architecture -qDEB_HOST_MULTIARCH 791s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation) 791s typelib: GLib-2.0 791s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 791s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 791s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 791s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 792s autopkgtest [05:04:32]: test girepository-tools: -----------------------] 797s girepository-tools PASS (superficial) 797s autopkgtest [05:04:37]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - - 801s autopkgtest [05:04:41]: test libgio-2.0-dev-bin: preparing testbed 855s autopkgtest [05:05:35]: testbed dpkg architecture: armhf 857s autopkgtest [05:05:37]: testbed apt version: 2.9.14ubuntu1 861s autopkgtest [05:05:41]: @@@@@@@@@@@@@@@@@@@@ test bed setup 863s autopkgtest [05:05:43]: testbed release detected to be: plucky 872s autopkgtest [05:05:52]: updating testbed package index (apt update) 874s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 875s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [249 kB] 875s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [110 kB] 875s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [110 kB] 875s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB] 875s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB] 875s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB] 875s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 875s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [125 kB] 875s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Components [26.6 kB] 875s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [760 B] 875s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Components [216 B] 875s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [424 kB] 875s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Components [213 kB] 875s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [1796 B] 875s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Components [1076 B] 875s Get:17 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 876s Get:18 http://ftpmaster.internal/ubuntu plucky/main Sources [1384 kB] 876s Get:19 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [298 kB] 876s Get:20 http://ftpmaster.internal/ubuntu plucky/restricted Sources [16.3 kB] 876s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1370 kB] 877s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf Components [401 kB] 877s Get:23 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2900 B] 877s Get:24 http://ftpmaster.internal/ubuntu plucky/restricted armhf Components [196 B] 877s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.1 MB] 880s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf Components [3953 kB] 882s Get:27 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 882s Get:28 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Components [39.8 kB] 882s Get:29 http://ftpmaster.internal/ubuntu plucky-updates/main armhf Components [208 B] 882s Get:30 http://ftpmaster.internal/ubuntu plucky-updates/restricted armhf Components [212 B] 882s Get:31 http://ftpmaster.internal/ubuntu plucky-updates/universe armhf Components [212 B] 882s Get:32 http://ftpmaster.internal/ubuntu plucky-updates/multiverse armhf Components [212 B] 882s Get:33 http://ftpmaster.internal/ubuntu plucky-security/main armhf Components [204 B] 882s Get:34 http://ftpmaster.internal/ubuntu plucky-security/restricted armhf Components [208 B] 882s Get:35 http://ftpmaster.internal/ubuntu plucky-security/universe armhf Components [208 B] 882s Get:36 http://ftpmaster.internal/ubuntu plucky-security/multiverse armhf Components [208 B] 886s Fetched 45.7 MB in 9s (5076 kB/s) 887s Reading package lists... 893s autopkgtest [05:06:13]: upgrading testbed (apt dist-upgrade and autopurge) 895s Reading package lists... 895s Building dependency tree... 895s Reading state information... 896s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 896s Starting 2 pkgProblemResolver with broken count: 0 896s Done 897s Entering ResolveByKeep 897s 898s The following packages were automatically installed and are no longer required: 898s libapt-pkg6.0t64 libassuan0 libicu74 libnsl2 libpython3.12-minimal 898s libpython3.12-stdlib libunwind8 linux-headers-6.11.0-8 898s linux-headers-6.11.0-8-generic python3.12 python3.12-minimal 898s Use 'apt autoremove' to remove them. 898s The following NEW packages will be installed: 898s gcc-15-base libapt-pkg7.0 libicu76 libjemalloc2 libpython3.13-minimal 898s libpython3.13-stdlib linux-headers-6.12.0-15 linux-headers-6.12.0-15-generic 898s login.defs openssl-provider-legacy python3-bcrypt python3.13 898s python3.13-minimal 898s The following packages will be upgraded: 898s apparmor apport apport-core-dump-handler appstream apt apt-utils base-files 898s base-passwd bash bash-completion bind9-dnsutils bind9-host bind9-libs 898s binutils binutils-arm-linux-gnueabihf binutils-common bsdextrautils bsdutils 898s btrfs-progs busybox-initramfs busybox-static ca-certificates cloud-init 898s cloud-init-base console-setup console-setup-linux coreutils cron 898s cron-daemon-common cryptsetup-bin curl dash dbus dbus-bin dbus-daemon 898s dbus-session-bus-common dbus-system-bus-common dbus-user-session dhcpcd-base 898s diffutils dirmngr distro-info dmsetup dpkg dpkg-dev dracut-install e2fsprogs 898s e2fsprogs-l10n ed eject ethtool fdisk fwupd gcc-14-base gettext-base 898s gir1.2-girepository-2.0 gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg 898s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 898s groff-base gzip htop ibverbs-providers inetutils-telnet init 898s init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core 898s iproute2 iptables iputils-ping iputils-tracepath kbd keyboard-configuration 898s keyboxd kpartx krb5-locales libapparmor1 libappstream5 libapt-pkg6.0t64 898s libarchive13t64 libatomic1 libbinutils libblkid1 libblockdev-crypto3 898s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 898s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 libbpf1 898s libc-bin libc6 libcap-ng0 libcbor0.10 libcom-err2 libcrypt1 libcryptsetup12 898s libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 libdbus-1-3 898s libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libedit2 libext2fs2t64 898s libfdisk1 libffi8 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 898s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 898s libgnutls30t64 libgpg-error-l10n libgpg-error0 libgpgme11t64 898s libgssapi-krb5-2 libgstreamer1.0-0 libgudev-1.0-0 libhogweed6t64 libibverbs1 898s libicu74 libip4tc2 libip6tc2 libjson-glib-1.0-0 libjson-glib-1.0-common 898s libk5crypto3 libkrb5-3 libkrb5support0 libldap-common libldap2 liblsof0 898s liblz4-1 libmaxminddb0 libmount1 libncurses6 libncursesw6 libnetplan1 898s libnettle8t64 libnewt0.52 libnftables1 libnftnl11 libnpth0t64 libnspr4 898s libnss-systemd libnss3 libnvme1t64 libp11-kit0 libpackagekit-glib2-18 898s libpam-systemd libpcap0.8t64 libperl5.40 libplymouth5 libpng16-16t64 898s libpolkit-agent-1-0 libpolkit-gobject-1-0 libprotobuf-c1 libpython3-stdlib 898s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 898s libreadline8t64 libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 898s libsemanage-common libsemanage2 libsframe1 libsmartcols1 libss2 libssl3t64 898s libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtinfo6 libtraceevent1 898s libtraceevent1-plugin libudev1 libudisks2-0 libunistring5 liburcu8t64 898s libusb-1.0-0 libuuid1 libvolume-key1 libwrap0 libxdmcp6 libxkbcommon0 898s libxml2 libxtables12 libxxhash0 libyaml-0-2 libzstd1 linux-headers-generic 898s locales login logsave lshw lsof lto-disabled-list make mawk motd-news-config 898s mount multipath-tools nano ncurses-base ncurses-bin ncurses-term 898s netcat-openbsd netplan-generator netplan.io nftables openssl packagekit 898s packagekit-tools passwd pci.ids perl perl-base perl-modules-5.40 898s pinentry-curses plymouth plymouth-theme-ubuntu-text polkitd pollinate 898s powermgmt-base psmisc publicsuffix python-apt-common python-babel-localedata 898s python3 python3-apport python3-apt python3-attr python3-babel 898s python3-certifi python3-chardet python3-cryptography python3-distro-info 898s python3-gdbm python3-gi python3-idna python3-jinja2 python3-json-pointer 898s python3-jsonpatch python3-jsonschema python3-jwt python3-launchpadlib 898s python3-lazr.uri python3-minimal python3-more-itertools python3-netplan 898s python3-newt python3-oauthlib python3-openssl python3-pkg-resources 898s python3-problem-report python3-pygments python3-referencing python3-requests 898s python3-rich python3-setuptools python3-software-properties python3-urllib3 898s python3-wadllib python3.12 python3.12-gdbm python3.12-minimal 898s python3.13-gdbm readline-common rsync rsyslog software-properties-common 898s systemd systemd-cryptsetup systemd-resolved systemd-sysv systemd-timesyncd 898s sysvinit-utils tar telnet tmux tzdata ubuntu-minimal ubuntu-pro-client 898s ubuntu-pro-client-l10n ubuntu-standard ucf udev udisks2 ufw 898s unattended-upgrades usb.ids util-linux uuid-runtime vim-common vim-tiny 898s whiptail xauth xfsprogs xxd zstd 898s 323 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 898s Need to get 148 MB of archives. 898s After this operation, 204 MB of additional disk space will be used. 898s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf motd-news-config all 13.6ubuntu1 [5168 B] 899s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-15-base armhf 15-20250213-1ubuntu1 [53.2 kB] 899s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 15-20250213-1ubuntu1 [40.6 kB] 899s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 899s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt1 armhf 1:4.4.38-1 [91.7 kB] 899s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf base-files armhf 13.6ubuntu1 [75.3 kB] 899s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 899s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-14ubuntu1 [110 kB] 899s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf coreutils armhf 9.5-1ubuntu1 [1275 kB] 899s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf dash armhf 0.5.12-12ubuntu1 [87.4 kB] 899s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf diffutils armhf 1:3.10-2 [172 kB] 899s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libxxhash0 armhf 0.8.3-2 [30.8 kB] 899s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf liblz4-1 armhf 1.10.0-3 [57.2 kB] 899s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.1-1ubuntu1 [29.5 kB] 899s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.1-1ubuntu1 [1771 kB] 899s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libzstd1 armhf 1.5.6+dfsg-2 [266 kB] 900s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 15-20250213-1ubuntu1 [725 kB] 900s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257.2-3ubuntu1 [42.1 kB] 900s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-session-bus-common all 1.16.0-1ubuntu1 [53.1 kB] 900s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257.2-3ubuntu1 [11.9 kB] 900s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257.2-3ubuntu1 [238 kB] 900s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-user-session armhf 1.16.0-1ubuntu1 [9684 B] 900s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libapparmor1 armhf 4.1.0~beta5-0ubuntu5 [48.7 kB] 900s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 900s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 900s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-system-bus-common all 1.16.0-1ubuntu1 [54.3 kB] 900s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-bin armhf 1.16.0-1ubuntu1 [37.9 kB] 900s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf dbus armhf 1.16.0-1ubuntu1 [28.1 kB] 900s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-daemon armhf 1.16.0-1ubuntu1 [111 kB] 900s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libdbus-1-3 armhf 1.16.0-1ubuntu1 [162 kB] 900s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257.2-3ubuntu1 [315 kB] 900s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libncurses6 armhf 6.5+20250125-2 [88.8 kB] 900s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libncursesw6 armhf 6.5+20250125-2 [118 kB] 900s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libtinfo6 armhf 6.5+20250125-2 [91.9 kB] 900s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-14ubuntu1 [94.2 kB] 900s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-14ubuntu1 [63.4 kB] 900s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-14ubuntu1 [157 kB] 900s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-14ubuntu1 [169 kB] 900s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-14ubuntu1 [194 kB] 900s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-14ubuntu1 [137 kB] 900s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-14ubuntu1 [41.0 kB] 900s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-14ubuntu1 [1190 kB] 900s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-14ubuntu1 [63.7 kB] 900s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-14ubuntu1 [217 kB] 900s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-14ubuntu1 [158 kB] 900s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 900s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 900s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257.2-3ubuntu1 [126 kB] 900s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257.2-3ubuntu1 [2203 kB] 900s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257.2-3ubuntu1 [164 kB] 900s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257.2-3ubuntu1 [3028 kB] 901s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257.2-3ubuntu1 [1402 kB] 901s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257.2-3ubuntu1 [193 kB] 901s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libdevmapper1.02.1 armhf 2:1.02.201-1ubuntu1 [137 kB] 901s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf libcryptsetup12 armhf 2:2.7.5-1ubuntu2 [246 kB] 901s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257.2-3ubuntu1 [494 kB] 901s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.29 [1086 kB] 901s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 901s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg armhf 1.22.11ubuntu4 [1242 kB] 901s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf gzip armhf 1.13-1ubuntu2 [98.1 kB] 901s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-bin armhf 6.5+20250125-2 [179 kB] 901s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf perl-modules-5.40 all 5.40.1-2 [3217 kB] 902s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf libperl5.40 armhf 5.40.1-2 [4135 kB] 903s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf perl armhf 5.40.1-2 [262 kB] 903s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf perl-base armhf 5.40.1-2 [1667 kB] 903s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 903s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 903s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf init-system-helpers all 1.68 [39.0 kB] 903s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 903s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-base all 6.5+20250125-2 [25.8 kB] 903s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-term all 6.5+20250125-2 [276 kB] 903s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf kbd armhf 2.7.1-2ubuntu1 [214 kB] 903s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup-linux all 1.226ubuntu3 [1880 kB] 904s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup all 1.226ubuntu3 [110 kB] 904s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf keyboard-configuration all 1.226ubuntu3 [212 kB] 904s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf sysvinit-utils armhf 3.14-1ubuntu1 [35.1 kB] 904s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg7.0 armhf 2.9.30ubuntu1 [1067 kB] 904s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.30ubuntu1 [1392 kB] 904s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.30ubuntu1 [214 kB] 904s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 904s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 904s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 904s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu22 [87.5 kB] 904s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu22 [347 kB] 904s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu22 [242 kB] 904s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu22 [159 kB] 904s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu22 [237 kB] 905s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu22 [525 kB] 905s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu22 [116 kB] 905s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu22 [359 kB] 905s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu22 [111 kB] 905s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-2ubuntu2 [40.6 kB] 905s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf libnettle8t64 armhf 3.10.1-1 [188 kB] 905s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf libhogweed6t64 armhf 3.10.1-1 [188 kB] 905s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libffi8 armhf 3.4.7-1 [21.1 kB] 905s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libp11-kit0 armhf 0.25.5-2ubuntu3 [261 kB] 905s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtasn1-6 armhf 4.20.0-2 [38.2 kB] 905s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 905s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.9-2ubuntu2 [961 kB] 905s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8build1 [19.0 kB] 905s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8build1 [49.9 kB] 906s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libldap-common all 2.6.9+dfsg-1~exp2ubuntu1 [33.2 kB] 906s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libldap2 armhf 2.6.9+dfsg-1~exp2ubuntu1 [177 kB] 906s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu22 [225 kB] 906s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 906s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf logsave armhf 1.47.2-1ubuntu1 [25.7 kB] 906s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-minimal armhf 1.547 [11.4 kB] 906s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools all 0.145ubuntu2 [7948 B] 906s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-core all 0.145ubuntu2 [51.5 kB] 906s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libext2fs2t64 armhf 1.47.2-1ubuntu1 [207 kB] 906s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs armhf 1.47.2-1ubuntu1 [588 kB] 906s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf dhcpcd-base armhf 1:10.1.0-7 [188 kB] 906s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf init armhf 1.68 [6296 B] 906s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 906s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf iptables armhf 1.8.11-2ubuntu1 [342 kB] 906s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf libip4tc2 armhf 1.8.11-2ubuntu1 [21.7 kB] 906s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libip6tc2 armhf 1.8.11-2ubuntu1 [22.1 kB] 906s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf libnftnl11 armhf 1.2.8-1 [53.3 kB] 906s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libxtables12 armhf 1.8.11-2ubuntu1 [33.0 kB] 906s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf iproute2 armhf 6.13.0-1ubuntu1 [1096 kB] 907s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 907s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 908s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 908s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf login armhf 1:4.16.0-2+really2.40.2-14ubuntu1 [85.0 kB] 908s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf mawk armhf 1.3.4.20250131-1 [119 kB] 908s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf netcat-openbsd armhf 1.228-1 [42.4 kB] 908s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.2-1 [868 kB] 908s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.2-1 [2012 kB] 908s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 908s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 908s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 908s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 909s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2025a-2ubuntu1 [198 kB] 909s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.2-1 [1969 kB] 909s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.2-1 [734 kB] 909s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 909s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-4 [25.3 kB] 909s Get:138 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf gir1.2-glib-2.0 armhf 2.83.4-1 [185 kB] 909s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-4 [109 kB] 910s Get:140 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-data all 2.83.4-1 [52.9 kB] 910s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-bin armhf 2.83.4-1 [92.7 kB] 910s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 15-20250213-1ubuntu1 [7938 B] 910s Get:143 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-0t64 armhf 2.83.4-1 [1453 kB] 910s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf netplan-generator armhf 1.1.2-2ubuntu1 [60.8 kB] 910s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 910s Get:146 http://ftpmaster.internal/ubuntu plucky/main armhf python3-netplan armhf 1.1.2-2ubuntu1 [24.2 kB] 910s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf netplan.io armhf 1.1.2-2ubuntu1 [67.7 kB] 910s Get:148 http://ftpmaster.internal/ubuntu plucky/main armhf libnetplan1 armhf 1.1.2-2ubuntu1 [123 kB] 910s Get:149 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 910s Get:150 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage-common all 3.7-2.1 [7198 B] 910s Get:151 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage2 armhf 3.7-2.1 [85.4 kB] 910s Get:152 http://ftpmaster.internal/ubuntu plucky/main armhf passwd armhf 1:4.16.0-7ubuntu1 [1041 kB] 911s Get:153 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client-l10n armhf 34.1.3 [18.3 kB] 911s Get:154 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.9 [21.2 kB] 911s Get:155 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.9 [173 kB] 911s Get:156 http://ftpmaster.internal/ubuntu plucky/main armhf distro-info armhf 1.13 [19.1 kB] 911s Get:157 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client armhf 34.1.3 [243 kB] 911s Get:158 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0967-1ubuntu2 [696 kB] 912s Get:159 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0967-1ubuntu2 [396 kB] 912s Get:160 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 912s Get:161 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 912s Get:162 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 912s Get:163 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 106-2ubuntu1 [38.7 kB] 912s Get:164 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-bin armhf 0.145ubuntu2 [24.5 kB] 912s Get:165 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-initramfs armhf 1:1.37.0-4ubuntu1 [188 kB] 912s Get:166 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.9-1 [671 kB] 912s Get:167 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.9-1 [1946 kB] 914s Get:168 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.9-1 [2012 kB] 915s Get:169 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.9-1 [825 kB] 915s Get:170 http://ftpmaster.internal/ubuntu plucky/main armhf cron armhf 3.0pl1-192ubuntu1 [84.2 kB] 915s Get:171 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.4.1-0syncable1 [422 kB] 915s Get:172 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lazr.uri all 1.0.6-5 [13.6 kB] 915s Get:173 http://ftpmaster.internal/ubuntu plucky/main armhf python3-launchpadlib all 2.1.0-1 [126 kB] 915s Get:174 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB] 915s Get:175 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB] 916s Get:176 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gi armhf 3.50.0-4 [260 kB] 916s Get:177 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB] 916s Get:178 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB] 916s Get:179 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-17ubuntu3 [53.6 kB] 916s Get:180 http://ftpmaster.internal/ubuntu plucky/main armhf libcom-err2 armhf 1.47.2-1ubuntu1 [25.6 kB] 916s Get:181 http://ftpmaster.internal/ubuntu plucky/main armhf libss2 armhf 1.47.2-1ubuntu1 [15.6 kB] 916s Get:182 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.1-1ubuntu1 [1152 kB] 916s Get:183 http://ftpmaster.internal/ubuntu plucky/main armhf ca-certificates all 20241223 [165 kB] 916s Get:184 http://ftpmaster.internal/ubuntu plucky/main armhf krb5-locales all 1.21.3-4ubuntu1 [14.7 kB] 916s Get:185 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 916s Get:186 http://ftpmaster.internal/ubuntu plucky/main armhf libgssapi-krb5-2 armhf 1.21.3-4ubuntu1 [121 kB] 916s Get:187 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5-3 armhf 1.21.3-4ubuntu1 [314 kB] 917s Get:188 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5support0 armhf 1.21.3-4ubuntu1 [31.8 kB] 917s Get:189 http://ftpmaster.internal/ubuntu plucky/main armhf libk5crypto3 armhf 1.21.3-4ubuntu1 [78.6 kB] 917s Get:190 http://ftpmaster.internal/ubuntu plucky/main armhf libicu74 armhf 74.2-1ubuntu6 [10.5 MB] 922s Get:191 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2ubuntu3 [599 kB] 922s Get:192 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pygments all 2.18.0+dfsg-2 [835 kB] 923s Get:193 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 923s Get:194 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0050 [43.5 kB] 923s Get:195 http://ftpmaster.internal/ubuntu plucky/main armhf rsyslog armhf 8.2412.0-2ubuntu1 [471 kB] 923s Get:196 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0967-1ubuntu2 [67.5 kB] 923s Get:197 http://ftpmaster.internal/ubuntu plucky/main armhf apparmor armhf 4.1.0~beta5-0ubuntu5 [605 kB] 924s Get:198 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-7 [214 kB] 924s Get:199 http://ftpmaster.internal/ubuntu plucky/main armhf libjemalloc2 armhf 5.3.0-2build1 [200 kB] 924s Get:200 http://ftpmaster.internal/ubuntu plucky/main armhf libmaxminddb0 armhf 1.12.2-1 [16.9 kB] 924s Get:201 http://ftpmaster.internal/ubuntu plucky/main armhf liburcu8t64 armhf 0.15.1-1 [57.1 kB] 924s Get:202 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-dnsutils armhf 1:9.20.4-3ubuntu1 [155 kB] 924s Get:203 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-host armhf 1:9.20.4-3ubuntu1 [46.4 kB] 925s Get:204 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-libs armhf 1:9.20.4-3ubuntu1 [1186 kB] 925s Get:205 http://ftpmaster.internal/ubuntu plucky/main armhf libedit2 armhf 3.1-20250104-1 [79.3 kB] 926s Get:206 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-static armhf 1:1.37.0-4ubuntu1 [857 kB] 926s Get:207 http://ftpmaster.internal/ubuntu plucky/main armhf cron-daemon-common all 3.0pl1-192ubuntu1 [14.5 kB] 926s Get:208 http://ftpmaster.internal/ubuntu plucky/main armhf dmsetup armhf 2:1.02.201-1ubuntu1 [80.4 kB] 926s Get:209 http://ftpmaster.internal/ubuntu plucky/main armhf ed armhf 1.21-1 [52.8 kB] 926s Get:210 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.23.1-1 [43.3 kB] 926s Get:211 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 927s Get:212 http://ftpmaster.internal/ubuntu plucky/main armhf libibverbs1 armhf 55.0-1ubuntu1 [58.5 kB] 927s Get:213 http://ftpmaster.internal/ubuntu plucky/main armhf ibverbs-providers armhf 55.0-1ubuntu1 [27.6 kB] 927s Get:214 http://ftpmaster.internal/ubuntu plucky/main armhf inetutils-telnet armhf 2:2.5-6ubuntu1 [94.7 kB] 927s Get:215 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 927s Get:216 http://ftpmaster.internal/ubuntu plucky/main armhf libcbor0.10 armhf 0.10.2-2ubuntu1 [22.0 kB] 927s Get:217 http://ftpmaster.internal/ubuntu plucky/main armhf nftables armhf 1.1.1-1build1 [70.8 kB] 927s Get:218 http://ftpmaster.internal/ubuntu plucky/main armhf libnftables1 armhf 1.1.1-1build1 [321 kB] 927s Get:219 http://ftpmaster.internal/ubuntu plucky/main armhf libpcap0.8t64 armhf 1.10.5-2ubuntu1 [140 kB] 927s Get:220 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.46-4 [171 kB] 927s Get:221 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 927s Get:222 http://ftpmaster.internal/ubuntu plucky/main armhf libplymouth5 armhf 24.004.60-2ubuntu5 [142 kB] 927s Get:223 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 927s Get:224 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 927s Get:225 http://ftpmaster.internal/ubuntu plucky/main armhf libusb-1.0-0 armhf 2:1.0.27-2 [49.5 kB] 927s Get:226 http://ftpmaster.internal/ubuntu plucky/main armhf libxdmcp6 armhf 1:1.1.5-1 [9060 B] 928s Get:227 http://ftpmaster.internal/ubuntu plucky/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1 [311 kB] 928s Get:228 http://ftpmaster.internal/ubuntu plucky/main armhf lsof armhf 4.99.4+dfsg-2 [239 kB] 928s Get:229 http://ftpmaster.internal/ubuntu plucky/main armhf liblsof0 armhf 4.99.4+dfsg-2 [60.8 kB] 928s Get:230 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.3-1 [277 kB] 928s Get:231 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2025.02.12-1 [284 kB] 928s Get:232 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-2ubuntu5 [9914 B] 928s Get:233 http://ftpmaster.internal/ubuntu plucky/main armhf libpackagekit-glib2-18 armhf 1.3.0-3build1 [109 kB] 928s Get:234 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit-tools armhf 1.3.0-3build1 [28.0 kB] 928s Get:235 http://ftpmaster.internal/ubuntu plucky/main armhf polkitd armhf 126-2 [92.5 kB] 928s Get:236 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-agent-1-0 armhf 126-2 [15.1 kB] 928s Get:237 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-gobject-1-0 armhf 126-2 [45.0 kB] 928s Get:238 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [330 kB] 928s Get:239 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 929s Get:240 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.25.50-1 [1164 kB] 929s Get:241 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit armhf 1.3.0-3build1 [431 kB] 929s Get:242 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth armhf 24.004.60-2ubuntu5 [143 kB] 930s Get:243 http://ftpmaster.internal/ubuntu plucky/main armhf powermgmt-base all 1.38 [7378 B] 930s Get:244 http://ftpmaster.internal/ubuntu plucky/main armhf psmisc armhf 23.7-2 [177 kB] 930s Get:245 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20250108.1153-0.1 [134 kB] 930s Get:246 http://ftpmaster.internal/ubuntu plucky/main armhf python3-distro-info all 1.13 [7798 B] 930s Get:247 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.2-1 [30.2 kB] 930s Get:248 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.9-1 [29.3 kB] 930s Get:249 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 930s Get:250 http://ftpmaster.internal/ubuntu plucky/main armhf telnet all 0.17+2.5-6ubuntu1 [3694 B] 930s Get:251 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-standard armhf 1.547 [11.4 kB] 930s Get:252 http://ftpmaster.internal/ubuntu plucky/main armhf ufw all 0.36.2-9 [170 kB] 930s Get:253 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2025.01.14-1 [223 kB] 930s Get:254 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 930s Get:255 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 930s Get:256 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.44-2ubuntu1 [74.3 kB] 930s Get:257 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.44-2ubuntu1 [77.6 kB] 930s Get:258 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.44-2ubuntu1 [995 kB] 931s Get:259 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.44-2ubuntu1 [405 kB] 931s Get:260 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.44-2ubuntu1 [3234 B] 931s Get:261 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.44-2ubuntu1 [215 kB] 931s Get:262 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.44-2ubuntu1 [12.4 kB] 931s Get:263 http://ftpmaster.internal/ubuntu plucky/main armhf btrfs-progs armhf 6.12-1build1 [884 kB] 932s Get:264 http://ftpmaster.internal/ubuntu plucky/main armhf python3-certifi all 2025.1.31+ds-1 [9816 B] 932s Get:265 http://ftpmaster.internal/ubuntu plucky/main armhf python3-chardet all 5.2.0+dfsg-2 [116 kB] 932s Get:266 http://ftpmaster.internal/ubuntu plucky/main armhf python3-idna all 3.10-1 [47.4 kB] 932s Get:267 http://ftpmaster.internal/ubuntu plucky/main armhf python3-urllib3 all 2.3.0-1 [94.0 kB] 932s Get:268 http://ftpmaster.internal/ubuntu plucky/main armhf python3-requests all 2.32.3+dfsg-4ubuntu1 [52.9 kB] 932s Get:269 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2 [109 kB] 932s Get:270 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 932s Get:271 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 932s Get:272 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 25.1.0-1 [50.4 kB] 932s Get:273 http://ftpmaster.internal/ubuntu plucky/main armhf python3-referencing all 0.35.1-2ubuntu1 [21.9 kB] 932s Get:274 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonschema all 4.19.2-6ubuntu1 [65.5 kB] 932s Get:275 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jwt all 2.10.1-2 [21.0 kB] 932s Get:276 http://ftpmaster.internal/ubuntu plucky/main armhf python3-oauthlib all 3.2.2-3 [89.9 kB] 932s Get:277 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init-base all 25.1-0ubuntu1 [616 kB] 932s Get:278 http://ftpmaster.internal/ubuntu plucky/main armhf cryptsetup-bin armhf 2:2.7.5-1ubuntu2 [220 kB] 932s Get:279 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [247 kB] 933s Get:280 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [335 kB] 933s Get:281 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-dev all 1.22.11ubuntu4 [1088 kB] 933s Get:282 http://ftpmaster.internal/ubuntu plucky/main armhf libdpkg-perl all 1.22.11ubuntu4 [279 kB] 934s Get:283 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 934s Get:284 http://ftpmaster.internal/ubuntu plucky/main armhf lto-disabled-list all 56 [12.4 kB] 934s Get:285 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive13t64 armhf 3.7.7-0ubuntu1 [335 kB] 934s Get:286 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 934s Get:287 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 934s Get:288 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.6-3 [5155 kB] 935s Get:289 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.6-3 [125 kB] 935s Get:290 http://ftpmaster.internal/ubuntu plucky/main armhf libprotobuf-c1 armhf 1.5.1-1ubuntu1 [18.1 kB] 935s Get:291 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 935s Get:292 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 935s Get:293 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-packagekitglib-1.0 armhf 1.3.0-3build1 [25.5 kB] 935s Get:294 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu22 [66.4 kB] 935s Get:295 http://ftpmaster.internal/ubuntu plucky/main armhf htop armhf 3.3.0-5 [140 kB] 935s Get:296 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-utils3 armhf 3.3.0-1 [17.5 kB] 935s Get:297 http://ftpmaster.internal/ubuntu plucky/main armhf libnspr4 armhf 2:4.36-1ubuntu1 [94.5 kB] 935s Get:298 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.108-1ubuntu1 [1317 kB] 935s Get:299 http://ftpmaster.internal/ubuntu plucky/main armhf libgpgme11t64 armhf 1.24.2-1ubuntu1 [125 kB] 935s Get:300 http://ftpmaster.internal/ubuntu plucky/main armhf libvolume-key1 armhf 0.3.12-9 [39.1 kB] 935s Get:301 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-crypto3 armhf 3.3.0-1 [22.4 kB] 935s Get:302 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-fs3 armhf 3.3.0-1 [34.5 kB] 935s Get:303 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-loop3 armhf 3.3.0-1 [6594 B] 935s Get:304 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-mdraid3 armhf 3.3.0-1 [13.4 kB] 935s Get:305 http://ftpmaster.internal/ubuntu plucky/main armhf libnvme1t64 armhf 1.11.1-2 [73.6 kB] 935s Get:306 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-nvme3 armhf 3.3.0-1 [17.7 kB] 935s Get:307 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-part3 armhf 3.3.0-1 [16.6 kB] 935s Get:308 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-swap3 armhf 3.3.0-1 [9010 B] 935s Get:309 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev3 armhf 3.3.0-1 [44.4 kB] 935s Get:310 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 935s Get:311 http://ftpmaster.internal/ubuntu plucky/main armhf libgudev-1.0-0 armhf 1:238-6 [13.7 kB] 935s Get:312 http://ftpmaster.internal/ubuntu plucky/main armhf libicu76 armhf 76.1-1ubuntu2 [10.8 MB] 938s Get:313 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules armhf 2.1.28+dfsg1-8build1 [62.7 kB] 938s Get:314 http://ftpmaster.internal/ubuntu plucky/main armhf udisks2 armhf 2.10.1-11ubuntu2 [278 kB] 938s Get:315 http://ftpmaster.internal/ubuntu plucky/main armhf libudisks2-0 armhf 2.10.1-11ubuntu2 [142 kB] 938s Get:316 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-35 [45.6 kB] 938s Get:317 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15 all 6.12.0-15.15 [14.1 MB] 939s Get:318 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15-generic armhf 6.12.0-15.15 [1414 kB] 939s Get:319 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-generic armhf 6.12.0-15.15+1 [10.8 kB] 939s Get:320 http://ftpmaster.internal/ubuntu plucky/main armhf pollinate all 4.33-4ubuntu2 [12.4 kB] 939s Get:321 http://ftpmaster.internal/ubuntu plucky/main armhf python3-babel all 2.17.0-1 [101 kB] 939s Get:322 http://ftpmaster.internal/ubuntu plucky/main armhf python-babel-localedata all 2.17.0-1 [6678 kB] 939s Get:323 http://ftpmaster.internal/ubuntu plucky/main armhf python3-more-itertools all 10.6.0-1 [57.7 kB] 939s Get:324 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 25.0.0-1 [46.1 kB] 939s Get:325 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 939s Get:326 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 940s Get:327 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.109 [16.5 kB] 940s Get:328 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.109 [31.0 kB] 940s Get:329 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 940s Get:330 http://ftpmaster.internal/ubuntu plucky/main armhf tmux armhf 3.5a-3 [406 kB] 940s Get:331 http://ftpmaster.internal/ubuntu plucky/main armhf unattended-upgrades all 2.12ubuntu4 [58.5 kB] 940s Get:332 http://ftpmaster.internal/ubuntu plucky/main armhf xfsprogs armhf 6.12.0-1ubuntu1 [958 kB] 940s Get:333 http://ftpmaster.internal/ubuntu plucky/main armhf zstd armhf 1.5.6+dfsg-2 [690 kB] 940s Get:334 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init all 25.1-0ubuntu1 [2088 B] 940s Get:335 http://ftpmaster.internal/ubuntu plucky/main armhf kpartx armhf 0.9.9-1ubuntu4 [35.0 kB] 940s Get:336 http://ftpmaster.internal/ubuntu plucky/main armhf multipath-tools armhf 0.9.9-1ubuntu4 [294 kB] 941s Preconfiguring packages ... 943s Fetched 148 MB in 41s (3560 kB/s) 943s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 943s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 943s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 943s Selecting previously unselected package gcc-15-base:armhf. 943s Preparing to unpack .../gcc-15-base_15-20250213-1ubuntu1_armhf.deb ... 943s Unpacking gcc-15-base:armhf (15-20250213-1ubuntu1) ... 943s Setting up gcc-15-base:armhf (15-20250213-1ubuntu1) ... 943s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 943s Preparing to unpack .../libgcc-s1_15-20250213-1ubuntu1_armhf.deb ... 943s Unpacking libgcc-s1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 943s Setting up libgcc-s1:armhf (15-20250213-1ubuntu1) ... 943s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 943s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 943s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 943s Setting up libc6:armhf (2.40-4ubuntu1) ... 944s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 944s Preparing to unpack .../libcrypt1_1%3a4.4.38-1_armhf.deb ... 944s Unpacking libcrypt1:armhf (1:4.4.38-1) over (1:4.4.36-5) ... 944s Setting up libcrypt1:armhf (1:4.4.38-1) ... 944s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 944s Preparing to unpack .../base-files_13.6ubuntu1_armhf.deb ... 944s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 944s Setting up base-files (13.6ubuntu1) ... 944s Updating /root/.profile to current default. 945s motd-news.service is a disabled or a static unit not running, not starting it. 945s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 945s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 945s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 945s Setting up bash (5.2.37-1ubuntu1) ... 945s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 945s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 945s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_armhf.deb ... 945s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu1) ... 945s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 945s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 945s Preparing to unpack .../coreutils_9.5-1ubuntu1_armhf.deb ... 945s Unpacking coreutils (9.5-1ubuntu1) over (9.4-3.1ubuntu1) ... 945s Setting up coreutils (9.5-1ubuntu1) ... 945s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 945s Preparing to unpack .../dash_0.5.12-12ubuntu1_armhf.deb ... 945s Unpacking dash (0.5.12-12ubuntu1) over (0.5.12-9ubuntu1) ... 945s Setting up dash (0.5.12-12ubuntu1) ... 945s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 945s Preparing to unpack .../diffutils_1%3a3.10-2_armhf.deb ... 945s Unpacking diffutils (1:3.10-2) over (1:3.10-1build1) ... 945s Setting up diffutils (1:3.10-2) ... 945s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 945s Preparing to unpack .../libxxhash0_0.8.3-2_armhf.deb ... 945s Unpacking libxxhash0:armhf (0.8.3-2) over (0.8.2-2build1) ... 945s Setting up libxxhash0:armhf (0.8.3-2) ... 945s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 945s Preparing to unpack .../liblz4-1_1.10.0-3_armhf.deb ... 945s Unpacking liblz4-1:armhf (1.10.0-3) over (1.9.4-3) ... 946s Setting up liblz4-1:armhf (1.10.0-3) ... 946s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 946s Preparing to unpack .../libssl3t64_3.4.1-1ubuntu1_armhf.deb ... 946s Unpacking libssl3t64:armhf (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 946s Selecting previously unselected package openssl-provider-legacy. 946s Preparing to unpack .../openssl-provider-legacy_3.4.1-1ubuntu1_armhf.deb ... 946s Unpacking openssl-provider-legacy (3.4.1-1ubuntu1) ... 946s Setting up libssl3t64:armhf (3.4.1-1ubuntu1) ... 946s Setting up openssl-provider-legacy (3.4.1-1ubuntu1) ... 946s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 946s Preparing to unpack .../libzstd1_1.5.6+dfsg-2_armhf.deb ... 946s Unpacking libzstd1:armhf (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 946s Setting up libzstd1:armhf (1.5.6+dfsg-2) ... 946s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 946s Preparing to unpack .../libstdc++6_15-20250213-1ubuntu1_armhf.deb ... 946s Unpacking libstdc++6:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 946s Setting up libstdc++6:armhf (15-20250213-1ubuntu1) ... 946s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 946s Preparing to unpack .../0-systemd-timesyncd_257.2-3ubuntu1_armhf.deb ... 946s Unpacking systemd-timesyncd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 946s Preparing to unpack .../1-dbus-session-bus-common_1.16.0-1ubuntu1_all.deb ... 946s Unpacking dbus-session-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 946s Preparing to unpack .../2-systemd-sysv_257.2-3ubuntu1_armhf.deb ... 946s Unpacking systemd-sysv (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 946s Preparing to unpack .../3-libpam-systemd_257.2-3ubuntu1_armhf.deb ... 946s Unpacking libpam-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 946s Preparing to unpack .../4-dbus-user-session_1.16.0-1ubuntu1_armhf.deb ... 946s Unpacking dbus-user-session (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 946s Preparing to unpack .../5-libapparmor1_4.1.0~beta5-0ubuntu5_armhf.deb ... 946s Unpacking libapparmor1:armhf (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 946s Preparing to unpack .../6-libcap-ng0_0.8.5-4_armhf.deb ... 946s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 946s Setting up libcap-ng0:armhf (0.8.5-4) ... 947s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 947s Preparing to unpack .../libselinux1_3.7-3ubuntu2_armhf.deb ... 947s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 947s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 947s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 947s Preparing to unpack .../0-dbus-system-bus-common_1.16.0-1ubuntu1_all.deb ... 947s Unpacking dbus-system-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 947s Preparing to unpack .../1-dbus-bin_1.16.0-1ubuntu1_armhf.deb ... 947s Unpacking dbus-bin (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 947s Preparing to unpack .../2-dbus_1.16.0-1ubuntu1_armhf.deb ... 947s Unpacking dbus (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 947s Preparing to unpack .../3-dbus-daemon_1.16.0-1ubuntu1_armhf.deb ... 947s Unpacking dbus-daemon (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 947s Preparing to unpack .../4-libdbus-1-3_1.16.0-1ubuntu1_armhf.deb ... 947s Unpacking libdbus-1-3:armhf (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 947s Preparing to unpack .../5-systemd-resolved_257.2-3ubuntu1_armhf.deb ... 947s Unpacking systemd-resolved (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 947s Preparing to unpack .../6-libncurses6_6.5+20250125-2_armhf.deb ... 947s Unpacking libncurses6:armhf (6.5+20250125-2) over (6.5-2) ... 947s Preparing to unpack .../7-libncursesw6_6.5+20250125-2_armhf.deb ... 947s Unpacking libncursesw6:armhf (6.5+20250125-2) over (6.5-2) ... 947s Preparing to unpack .../8-libtinfo6_6.5+20250125-2_armhf.deb ... 947s Unpacking libtinfo6:armhf (6.5+20250125-2) over (6.5-2) ... 947s Setting up libtinfo6:armhf (6.5+20250125-2) ... 947s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 947s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_armhf.deb ... 947s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 947s Preparing to unpack .../eject_2.40.2-14ubuntu1_armhf.deb ... 947s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 947s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_armhf.deb ... 947s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 947s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_armhf.deb ... 947s Unpacking libblkid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 947s Setting up libblkid1:armhf (2.40.2-14ubuntu1) ... 948s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 948s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_armhf.deb ... 948s Unpacking libmount1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 948s Setting up libmount1:armhf (2.40.2-14ubuntu1) ... 948s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 948s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_armhf.deb ... 948s Unpacking libsmartcols1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 948s Setting up libsmartcols1:armhf (2.40.2-14ubuntu1) ... 948s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 948s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_armhf.deb ... 948s Unpacking libuuid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 948s Setting up libuuid1:armhf (2.40.2-14ubuntu1) ... 948s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 948s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_armhf.deb ... 948s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 948s Setting up util-linux (2.40.2-14ubuntu1) ... 949s fstrim.service is a disabled or a static unit not running, not starting it. 949s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 949s Preparing to unpack .../0-uuid-runtime_2.40.2-14ubuntu1_armhf.deb ... 949s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 949s Preparing to unpack .../1-libfdisk1_2.40.2-14ubuntu1_armhf.deb ... 949s Unpacking libfdisk1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 949s Preparing to unpack .../2-mount_2.40.2-14ubuntu1_armhf.deb ... 949s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 949s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 949s Unpacking readline-common (8.2-6) over (8.2-5) ... 949s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 949s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 949s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 949s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 949s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 949s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 949s Preparing to unpack .../5-systemd-cryptsetup_257.2-3ubuntu1_armhf.deb ... 949s Unpacking systemd-cryptsetup (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 949s Preparing to unpack .../6-libsystemd-shared_257.2-3ubuntu1_armhf.deb ... 949s Unpacking libsystemd-shared:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 949s Preparing to unpack .../7-libnss-systemd_257.2-3ubuntu1_armhf.deb ... 949s Unpacking libnss-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 949s Setting up libsystemd-shared:armhf (257.2-3ubuntu1) ... 949s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 949s Preparing to unpack .../systemd_257.2-3ubuntu1_armhf.deb ... 949s Unpacking systemd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 950s Preparing to unpack .../udev_257.2-3ubuntu1_armhf.deb ... 950s Unpacking udev (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 950s Preparing to unpack .../libudev1_257.2-3ubuntu1_armhf.deb ... 950s Unpacking libudev1:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 950s Setting up libudev1:armhf (257.2-3ubuntu1) ... 950s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 950s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.201-1ubuntu1_armhf.deb ... 950s Unpacking libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 950s Preparing to unpack .../libcryptsetup12_2%3a2.7.5-1ubuntu2_armhf.deb ... 950s Unpacking libcryptsetup12:armhf (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 950s Preparing to unpack .../libsystemd0_257.2-3ubuntu1_armhf.deb ... 950s Unpacking libsystemd0:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 950s Setting up libsystemd0:armhf (257.2-3ubuntu1) ... 950s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 950s Preparing to unpack .../libapt-pkg6.0t64_2.9.29_armhf.deb ... 950s Unpacking libapt-pkg6.0t64:armhf (2.9.29) over (2.9.14ubuntu1) ... 950s Setting up libapt-pkg6.0t64:armhf (2.9.29) ... 950s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 950s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 950s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 951s Setting up tar (1.35+dfsg-3.1) ... 951s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 951s Preparing to unpack .../dpkg_1.22.11ubuntu4_armhf.deb ... 951s Unpacking dpkg (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 951s Setting up dpkg (1.22.11ubuntu4) ... 951s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 951s Preparing to unpack .../gzip_1.13-1ubuntu2_armhf.deb ... 951s Unpacking gzip (1.13-1ubuntu2) over (1.12-1.1ubuntu1) ... 951s Setting up gzip (1.13-1ubuntu2) ... 952s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 952s Preparing to unpack .../ncurses-bin_6.5+20250125-2_armhf.deb ... 952s Unpacking ncurses-bin (6.5+20250125-2) over (6.5-2) ... 952s Setting up ncurses-bin (6.5+20250125-2) ... 952s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 952s Preparing to unpack .../perl_5.40.1-2_armhf.deb ... 952s Unpacking perl (5.40.1-2) over (5.40.0-8) ... 952s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ... 952s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ... 952s Preparing to unpack .../libperl5.40_5.40.1-2_armhf.deb ... 952s Unpacking libperl5.40:armhf (5.40.1-2) over (5.40.0-8) ... 953s Preparing to unpack .../perl-base_5.40.1-2_armhf.deb ... 953s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ... 953s Setting up perl-base (5.40.1-2) ... 953s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 953s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 953s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 953s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 953s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 953s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 953s Unpacking base-passwd (3.6.6) over (3.6.5) ... 953s Setting up base-passwd (3.6.6) ... 953s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 953s Preparing to unpack .../init-system-helpers_1.68_all.deb ... 953s Unpacking init-system-helpers (1.68) over (1.67ubuntu1) ... 953s Setting up init-system-helpers (1.68) ... 953s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 953s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 953s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 954s Setting up libc-bin (2.40-4ubuntu1) ... 954s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 954s Preparing to unpack .../ncurses-base_6.5+20250125-2_all.deb ... 954s Unpacking ncurses-base (6.5+20250125-2) over (6.5-2) ... 954s Setting up ncurses-base (6.5+20250125-2) ... 954s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 954s Preparing to unpack .../0-ncurses-term_6.5+20250125-2_all.deb ... 954s Unpacking ncurses-term (6.5+20250125-2) over (6.5-2) ... 955s Preparing to unpack .../1-kbd_2.7.1-2ubuntu1_armhf.deb ... 955s Unpacking kbd (2.7.1-2ubuntu1) over (2.6.4-2ubuntu3) ... 955s Preparing to unpack .../2-console-setup-linux_1.226ubuntu3_all.deb ... 955s Unpacking console-setup-linux (1.226ubuntu3) over (1.226ubuntu2) ... 955s Preparing to unpack .../3-console-setup_1.226ubuntu3_all.deb ... 955s Unpacking console-setup (1.226ubuntu3) over (1.226ubuntu2) ... 955s Preparing to unpack .../4-keyboard-configuration_1.226ubuntu3_all.deb ... 955s Unpacking keyboard-configuration (1.226ubuntu3) over (1.226ubuntu2) ... 955s Preparing to unpack .../5-sysvinit-utils_3.14-1ubuntu1_armhf.deb ... 955s Unpacking sysvinit-utils (3.14-1ubuntu1) over (3.08-6ubuntu3) ... 955s Setting up sysvinit-utils (3.14-1ubuntu1) ... 955s Selecting previously unselected package libapt-pkg7.0:armhf. 955s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 955s Preparing to unpack .../libapt-pkg7.0_2.9.30ubuntu1_armhf.deb ... 955s Unpacking libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 955s Setting up libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 955s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 955s Preparing to unpack .../apt_2.9.30ubuntu1_armhf.deb ... 955s Unpacking apt (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 955s Setting up apt (2.9.30ubuntu1) ... 956s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 956s Preparing to unpack .../apt-utils_2.9.30ubuntu1_armhf.deb ... 956s Unpacking apt-utils (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 956s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 956s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 956s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 956s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 956s Setting up libgpg-error0:armhf (1.51-3) ... 956s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 956s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 956s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 956s Setting up libnpth0t64:armhf (1.8-2) ... 957s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 957s Preparing to unpack .../00-gpg-wks-client_2.4.4-2ubuntu22_armhf.deb ... 957s Unpacking gpg-wks-client (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 957s Preparing to unpack .../01-dirmngr_2.4.4-2ubuntu22_armhf.deb ... 957s Unpacking dirmngr (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 957s Preparing to unpack .../02-gpgsm_2.4.4-2ubuntu22_armhf.deb ... 957s Unpacking gpgsm (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 957s Preparing to unpack .../03-gnupg-utils_2.4.4-2ubuntu22_armhf.deb ... 957s Unpacking gnupg-utils (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 957s Preparing to unpack .../04-gpg-agent_2.4.4-2ubuntu22_armhf.deb ... 957s Unpacking gpg-agent (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 957s Preparing to unpack .../05-gpg_2.4.4-2ubuntu22_armhf.deb ... 957s Unpacking gpg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 957s Preparing to unpack .../06-gpgconf_2.4.4-2ubuntu22_armhf.deb ... 957s Unpacking gpgconf (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 957s Preparing to unpack .../07-gnupg_2.4.4-2ubuntu22_all.deb ... 957s Unpacking gnupg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 957s Preparing to unpack .../08-keyboxd_2.4.4-2ubuntu22_armhf.deb ... 957s Unpacking keyboxd (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 957s Preparing to unpack .../09-pinentry-curses_1.3.1-2ubuntu2_armhf.deb ... 957s Unpacking pinentry-curses (1.3.1-2ubuntu2) over (1.3.1-0ubuntu2) ... 957s Preparing to unpack .../10-libnettle8t64_3.10.1-1_armhf.deb ... 957s Unpacking libnettle8t64:armhf (3.10.1-1) over (3.10-1) ... 957s Setting up libnettle8t64:armhf (3.10.1-1) ... 957s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 957s Preparing to unpack .../libhogweed6t64_3.10.1-1_armhf.deb ... 957s Unpacking libhogweed6t64:armhf (3.10.1-1) over (3.10-1) ... 957s Setting up libhogweed6t64:armhf (3.10.1-1) ... 957s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 957s Preparing to unpack .../libffi8_3.4.7-1_armhf.deb ... 957s Unpacking libffi8:armhf (3.4.7-1) over (3.4.6-1build1) ... 957s Setting up libffi8:armhf (3.4.7-1) ... 958s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 958s Preparing to unpack .../libp11-kit0_0.25.5-2ubuntu3_armhf.deb ... 958s Unpacking libp11-kit0:armhf (0.25.5-2ubuntu3) over (0.25.5-2ubuntu1) ... 958s Setting up libp11-kit0:armhf (0.25.5-2ubuntu3) ... 958s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 958s Preparing to unpack .../libtasn1-6_4.20.0-2_armhf.deb ... 958s Unpacking libtasn1-6:armhf (4.20.0-2) over (4.19.0-3build1) ... 958s Setting up libtasn1-6:armhf (4.20.0-2) ... 958s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 958s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 958s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 958s Setting up libunistring5:armhf (1.3-1) ... 958s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 958s Preparing to unpack .../libgnutls30t64_3.8.9-2ubuntu2_armhf.deb ... 958s Unpacking libgnutls30t64:armhf (3.8.9-2ubuntu2) over (3.8.8-2ubuntu1) ... 958s Setting up libgnutls30t64:armhf (3.8.9-2ubuntu2) ... 958s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 958s Preparing to unpack .../libsasl2-modules-db_2.1.28+dfsg1-8build1_armhf.deb ... 958s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 958s Preparing to unpack .../libsasl2-2_2.1.28+dfsg1-8build1_armhf.deb ... 958s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 958s Preparing to unpack .../libldap-common_2.6.9+dfsg-1~exp2ubuntu1_all.deb ... 958s Unpacking libldap-common (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 958s Preparing to unpack .../libldap2_2.6.9+dfsg-1~exp2ubuntu1_armhf.deb ... 958s Unpacking libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 958s Preparing to unpack .../gpgv_2.4.4-2ubuntu22_armhf.deb ... 958s Unpacking gpgv (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 958s Setting up gpgv (2.4.4-2ubuntu22) ... 958s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 958s Preparing to unpack .../0-e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 958s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 958s Preparing to unpack .../1-logsave_1.47.2-1ubuntu1_armhf.deb ... 958s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 958s Preparing to unpack .../2-ubuntu-minimal_1.547_armhf.deb ... 958s Unpacking ubuntu-minimal (1.547) over (1.544) ... 958s Preparing to unpack .../3-initramfs-tools_0.145ubuntu2_all.deb ... 958s Unpacking initramfs-tools (0.145ubuntu2) over (0.142ubuntu35) ... 959s Preparing to unpack .../4-initramfs-tools-core_0.145ubuntu2_all.deb ... 959s Unpacking initramfs-tools-core (0.145ubuntu2) over (0.142ubuntu35) ... 959s Preparing to unpack .../5-libext2fs2t64_1.47.2-1ubuntu1_armhf.deb ... 959s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 959s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 959s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 959s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 959s Unpacking libext2fs2t64:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 959s Setting up libext2fs2t64:armhf (1.47.2-1ubuntu1) ... 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 ... 60016 files and directories currently installed.) 959s Preparing to unpack .../e2fsprogs_1.47.2-1ubuntu1_armhf.deb ... 959s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 959s Preparing to unpack .../dhcpcd-base_1%3a10.1.0-7_armhf.deb ... 959s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-2) ... 959s Setting up libapparmor1:armhf (4.1.0~beta5-0ubuntu5) ... 959s Setting up mount (2.40.2-14ubuntu1) ... 959s Setting up systemd (257.2-3ubuntu1) ... 959s Installing new version of config file /etc/systemd/logind.conf ... 959s Installing new version of config file /etc/systemd/sleep.conf ... 959s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 959s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 959s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 960s Setting up systemd-sysv (257.2-3ubuntu1) ... 960s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 960s Preparing to unpack .../00-init_1.68_armhf.deb ... 960s Unpacking init (1.68) over (1.67ubuntu1) ... 960s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 960s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 960s Preparing to unpack .../02-iptables_1.8.11-2ubuntu1_armhf.deb ... 960s Unpacking iptables (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 960s Preparing to unpack .../03-libip4tc2_1.8.11-2ubuntu1_armhf.deb ... 960s Unpacking libip4tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 960s Preparing to unpack .../04-libip6tc2_1.8.11-2ubuntu1_armhf.deb ... 960s Unpacking libip6tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 960s Preparing to unpack .../05-libnftnl11_1.2.8-1_armhf.deb ... 960s Unpacking libnftnl11:armhf (1.2.8-1) over (1.2.7-1) ... 960s Preparing to unpack .../06-libxtables12_1.8.11-2ubuntu1_armhf.deb ... 960s Unpacking libxtables12:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 960s Preparing to unpack .../07-iproute2_6.13.0-1ubuntu1_armhf.deb ... 961s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 961s Preparing to unpack .../08-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 961s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 961s Preparing to unpack .../09-locales_2.40-4ubuntu1_all.deb ... 961s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 961s Selecting previously unselected package login.defs. 961s Preparing to unpack .../10-login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 961s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 961s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 961s Setting up login.defs (1:4.16.0-7ubuntu1) ... 961s Installing new version of config file /etc/login.defs ... 961s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60022 files and directories currently installed.) 961s Preparing to unpack .../0-login_1%3a4.16.0-2+really2.40.2-14ubuntu1_armhf.deb ... 961s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 962s Preparing to unpack .../1-mawk_1.3.4.20250131-1_armhf.deb ... 962s Unpacking mawk (1.3.4.20250131-1) over (1.3.4.20240905-1) ... 962s Preparing to unpack .../2-netcat-openbsd_1.228-1_armhf.deb ... 962s Unpacking netcat-openbsd (1.228-1) over (1.226-1.1) ... 962s Selecting previously unselected package libpython3.13-minimal:armhf. 962s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-1_armhf.deb ... 962s Unpacking libpython3.13-minimal:armhf (3.13.2-1) ... 962s Selecting previously unselected package python3.13-minimal. 962s Preparing to unpack .../4-python3.13-minimal_3.13.2-1_armhf.deb ... 962s Unpacking python3.13-minimal (3.13.2-1) ... 962s Preparing to unpack .../5-python3-cryptography_43.0.0-1_armhf.deb ... 962s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 962s Setting up libpython3.13-minimal:armhf (3.13.2-1) ... 962s Setting up python3.13-minimal (3.13.2-1) ... 963s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 963s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 963s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 963s Setting up python3-minimal (3.13.1-1~exp2) ... 964s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 964s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 964s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 964s Selecting previously unselected package python3-bcrypt. 964s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 964s Unpacking python3-bcrypt (4.2.0-2.1) ... 964s Preparing to unpack .../02-tzdata_2025a-2ubuntu1_all.deb ... 964s Unpacking tzdata (2025a-2ubuntu1) over (2024b-1ubuntu2) ... 964s Selecting previously unselected package libpython3.13-stdlib:armhf. 964s Preparing to unpack .../03-libpython3.13-stdlib_3.13.2-1_armhf.deb ... 964s Unpacking libpython3.13-stdlib:armhf (3.13.2-1) ... 964s Selecting previously unselected package python3.13. 964s Preparing to unpack .../04-python3.13_3.13.2-1_armhf.deb ... 964s Unpacking python3.13 (3.13.2-1) ... 964s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 964s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 964s Preparing to unpack .../06-gir1.2-girepository-2.0_1.82.0-4_armhf.deb ... 964s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-4) over (1.82.0-2) ... 964s Preparing to unpack .../07-gir1.2-glib-2.0_2.83.4-1_armhf.deb ... 964s Unpacking gir1.2-glib-2.0:armhf (2.83.4-1) over (2.82.2-3) ... 965s Preparing to unpack .../08-libgirepository-1.0-1_1.82.0-4_armhf.deb ... 965s Unpacking libgirepository-1.0-1:armhf (1.82.0-4) over (1.82.0-2) ... 965s Preparing to unpack .../09-libglib2.0-data_2.83.4-1_all.deb ... 965s Unpacking libglib2.0-data (2.83.4-1) over (2.82.2-3) ... 965s Preparing to unpack .../10-libglib2.0-bin_2.83.4-1_armhf.deb ... 965s Unpacking libglib2.0-bin (2.83.4-1) over (2.82.2-3) ... 965s Preparing to unpack .../11-libatomic1_15-20250213-1ubuntu1_armhf.deb ... 965s Unpacking libatomic1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 965s Preparing to unpack .../12-libglib2.0-0t64_2.83.4-1_armhf.deb ... 965s Unpacking libglib2.0-0t64:armhf (2.83.4-1) over (2.82.2-3) ... 965s Preparing to unpack .../13-netplan-generator_1.1.2-2ubuntu1_armhf.deb ... 965s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 965s Unpacking netplan-generator (1.1.2-2ubuntu1) over (1.1.1-1) ... 965s Preparing to unpack .../14-libyaml-0-2_0.2.5-2_armhf.deb ... 965s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 965s Preparing to unpack .../15-python3-netplan_1.1.2-2ubuntu1_armhf.deb ... 965s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 965s for fn in glob1(directory, "%s.*" % fname): 965s Unpacking python3-netplan (1.1.2-2ubuntu1) over (1.1.1-1) ... 965s Preparing to unpack .../16-netplan.io_1.1.2-2ubuntu1_armhf.deb ... 965s Unpacking netplan.io (1.1.2-2ubuntu1) over (1.1.1-1) ... 965s Preparing to unpack .../17-libnetplan1_1.1.2-2ubuntu1_armhf.deb ... 965s Unpacking libnetplan1:armhf (1.1.2-2ubuntu1) over (1.1.1-1) ... 965s Preparing to unpack .../18-ethtool_1%3a6.11-1_armhf.deb ... 965s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 965s Preparing to unpack .../19-libsemanage-common_3.7-2.1_all.deb ... 965s Unpacking libsemanage-common (3.7-2.1) over (3.7-2build1) ... 965s Setting up libsemanage-common (3.7-2.1) ... 965s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 965s Preparing to unpack .../libsemanage2_3.7-2.1_armhf.deb ... 965s Unpacking libsemanage2:armhf (3.7-2.1) over (3.7-2build1) ... 965s Setting up libsemanage2:armhf (3.7-2.1) ... 965s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 965s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_armhf.deb ... 965s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 966s Setting up passwd (1:4.16.0-7ubuntu1) ... 966s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60762 files and directories currently installed.) 966s Preparing to unpack .../000-ubuntu-pro-client-l10n_34.1.3_armhf.deb ... 966s Unpacking ubuntu-pro-client-l10n (34.1.3) over (34.1.2) ... 966s Preparing to unpack .../001-python-apt-common_2.9.9_all.deb ... 966s Unpacking python-apt-common (2.9.9) over (2.9.0ubuntu2) ... 966s Preparing to unpack .../002-python3-apt_2.9.9_armhf.deb ... 966s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 966s for fn in glob1(directory, "%s.*" % fname): 966s Unpacking python3-apt (2.9.9) over (2.9.0ubuntu2) ... 966s Preparing to unpack .../003-distro-info_1.13_armhf.deb ... 966s Unpacking distro-info (1.13) over (1.12) ... 966s Preparing to unpack .../004-ubuntu-pro-client_34.1.3_armhf.deb ... 966s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 966s for fn in glob1(directory, "%s.*" % fname): 966s Unpacking ubuntu-pro-client (34.1.3) over (34.1.2) ... 967s Preparing to unpack .../005-vim-tiny_2%3a9.1.0967-1ubuntu2_armhf.deb ... 967s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 967s Preparing to unpack .../006-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ... 967s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 967s Preparing to unpack .../007-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 967s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 967s for fn in glob1(directory, "%s.*" % fname): 967s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 967s Preparing to unpack .../008-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 967s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 967s Preparing to unpack .../009-whiptail_0.52.24-4ubuntu1_armhf.deb ... 967s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 967s Preparing to unpack .../010-dracut-install_106-2ubuntu1_armhf.deb ... 967s Unpacking dracut-install (106-2ubuntu1) over (105-2ubuntu3) ... 967s Preparing to unpack .../011-initramfs-tools-bin_0.145ubuntu2_armhf.deb ... 967s Unpacking initramfs-tools-bin (0.145ubuntu2) over (0.142ubuntu35) ... 967s Preparing to unpack .../012-busybox-initramfs_1%3a1.37.0-4ubuntu1_armhf.deb ... 967s Unpacking busybox-initramfs (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 967s Preparing to unpack .../013-python3.12_3.12.9-1_armhf.deb ... 967s Unpacking python3.12 (3.12.9-1) over (3.12.7-3) ... 967s Preparing to unpack .../014-libpython3.12-stdlib_3.12.9-1_armhf.deb ... 967s Unpacking libpython3.12-stdlib:armhf (3.12.9-1) over (3.12.7-3) ... 968s Preparing to unpack .../015-python3.12-minimal_3.12.9-1_armhf.deb ... 968s Unpacking python3.12-minimal (3.12.9-1) over (3.12.7-3) ... 968s Preparing to unpack .../016-libpython3.12-minimal_3.12.9-1_armhf.deb ... 968s Unpacking libpython3.12-minimal:armhf (3.12.9-1) over (3.12.7-3) ... 968s Preparing to unpack .../017-cron_3.0pl1-192ubuntu1_armhf.deb ... 968s Unpacking cron (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 968s Preparing to unpack .../018-rsync_3.4.1-0syncable1_armhf.deb ... 968s Unpacking rsync (3.4.1-0syncable1) over (3.3.0-1) ... 968s Preparing to unpack .../019-python3-lazr.uri_1.0.6-5_all.deb ... 968s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 968s for fn in glob1(directory, "%s.*" % fname): 968s Unpacking python3-lazr.uri (1.0.6-5) over (1.0.6-4) ... 969s Preparing to unpack .../020-python3-launchpadlib_2.1.0-1_all.deb ... 969s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 969s for fn in glob1(directory, "%s.*" % fname): 969s Unpacking python3-launchpadlib (2.1.0-1) over (2.0.0-1) ... 969s Preparing to unpack .../021-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ... 969s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 969s for fn in glob1(directory, "%s.*" % fname): 969s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 969s Preparing to unpack .../022-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 969s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 969s for fn in glob1(directory, "%s.*" % fname): 969s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 969s Preparing to unpack .../023-python3-gi_3.50.0-4_armhf.deb ... 969s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 969s for fn in glob1(directory, "%s.*" % fname): 969s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 969s Preparing to unpack .../024-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ... 969s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 969s Preparing to unpack .../025-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 969s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 969s Preparing to unpack .../026-gcc-14-base_14.2.0-17ubuntu3_armhf.deb ... 969s Unpacking gcc-14-base:armhf (14.2.0-17ubuntu3) over (14.2.0-8ubuntu1) ... 969s Preparing to unpack .../027-libcom-err2_1.47.2-1ubuntu1_armhf.deb ... 969s Unpacking libcom-err2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 969s Preparing to unpack .../028-libss2_1.47.2-1ubuntu1_armhf.deb ... 969s Unpacking libss2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 969s Preparing to unpack .../029-openssl_3.4.1-1ubuntu1_armhf.deb ... 969s Unpacking openssl (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 970s Preparing to unpack .../030-ca-certificates_20241223_all.deb ... 970s Unpacking ca-certificates (20241223) over (20240203) ... 970s Preparing to unpack .../031-krb5-locales_1.21.3-4ubuntu1_all.deb ... 970s Unpacking krb5-locales (1.21.3-4ubuntu1) over (1.21.3-3) ... 970s Preparing to unpack .../032-libfribidi0_1.0.16-1_armhf.deb ... 970s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 970s Preparing to unpack .../033-libgssapi-krb5-2_1.21.3-4ubuntu1_armhf.deb ... 970s Unpacking libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 970s Preparing to unpack .../034-libkrb5-3_1.21.3-4ubuntu1_armhf.deb ... 970s Unpacking libkrb5-3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 970s Preparing to unpack .../035-libkrb5support0_1.21.3-4ubuntu1_armhf.deb ... 970s Unpacking libkrb5support0:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 970s Preparing to unpack .../036-libk5crypto3_1.21.3-4ubuntu1_armhf.deb ... 970s Unpacking libk5crypto3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 970s Preparing to unpack .../037-libicu74_74.2-1ubuntu6_armhf.deb ... 970s Unpacking libicu74:armhf (74.2-1ubuntu6) over (74.2-1ubuntu4) ... 970s Preparing to unpack .../038-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu3_armhf.deb ... 970s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) over (2.12.7+dfsg-3) ... 971s Preparing to unpack .../039-python3-pygments_2.18.0+dfsg-2_all.deb ... 971s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 971s for fn in glob1(directory, "%s.*" % fname): 971s Unpacking python3-pygments (2.18.0+dfsg-2) over (2.18.0+dfsg-1ubuntu1) ... 971s Preparing to unpack .../040-python3-rich_13.9.4-1_all.deb ... 971s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 971s for fn in glob1(directory, "%s.*" % fname): 971s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 971s Preparing to unpack .../041-ucf_3.0050_all.deb ... 971s Unpacking ucf (3.0050) over (3.0043+nmu1) ... 971s Preparing to unpack .../042-rsyslog_8.2412.0-2ubuntu1_armhf.deb ... 971s Unpacking rsyslog (8.2412.0-2ubuntu1) over (8.2406.0-1ubuntu2) ... 972s Preparing to unpack .../043-xxd_2%3a9.1.0967-1ubuntu2_armhf.deb ... 972s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 972s Preparing to unpack .../044-apparmor_4.1.0~beta5-0ubuntu5_armhf.deb ... 973s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 973s dpkg: warning: unable to delete old directory '/lib/apparmor': Directory not empty 973s Preparing to unpack .../045-bash-completion_1%3a2.16.0-7_all.deb ... 973s Unpacking bash-completion (1:2.16.0-7) over (1:2.14.0-2) ... 973s Selecting previously unselected package libjemalloc2:armhf. 973s Preparing to unpack .../046-libjemalloc2_5.3.0-2build1_armhf.deb ... 973s Unpacking libjemalloc2:armhf (5.3.0-2build1) ... 974s Preparing to unpack .../047-libmaxminddb0_1.12.2-1_armhf.deb ... 974s Unpacking libmaxminddb0:armhf (1.12.2-1) over (1.11.0-1) ... 974s Preparing to unpack .../048-liburcu8t64_0.15.1-1_armhf.deb ... 974s Unpacking liburcu8t64:armhf (0.15.1-1) over (0.14.1-1) ... 974s Preparing to unpack .../049-bind9-dnsutils_1%3a9.20.4-3ubuntu1_armhf.deb ... 974s Unpacking bind9-dnsutils (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 974s Preparing to unpack .../050-bind9-host_1%3a9.20.4-3ubuntu1_armhf.deb ... 974s Unpacking bind9-host (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 974s Preparing to unpack .../051-bind9-libs_1%3a9.20.4-3ubuntu1_armhf.deb ... 974s Unpacking bind9-libs:armhf (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 974s Preparing to unpack .../052-libedit2_3.1-20250104-1_armhf.deb ... 974s Unpacking libedit2:armhf (3.1-20250104-1) over (3.1-20240808-1) ... 974s Preparing to unpack .../053-busybox-static_1%3a1.37.0-4ubuntu1_armhf.deb ... 974s Unpacking busybox-static (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 974s Preparing to unpack .../054-cron-daemon-common_3.0pl1-192ubuntu1_all.deb ... 974s Unpacking cron-daemon-common (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 974s Preparing to unpack .../055-dmsetup_2%3a1.02.201-1ubuntu1_armhf.deb ... 974s Unpacking dmsetup (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 974s Preparing to unpack .../056-ed_1.21-1_armhf.deb ... 974s Unpacking ed (1.21-1) over (1.20.2-2) ... 974s Preparing to unpack .../057-gettext-base_0.23.1-1_armhf.deb ... 974s Unpacking gettext-base (0.23.1-1) over (0.22.5-2) ... 974s Preparing to unpack .../058-groff-base_1.23.0-7_armhf.deb ... 974s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 975s Preparing to unpack .../059-libibverbs1_55.0-1ubuntu1_armhf.deb ... 975s Unpacking libibverbs1:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 975s Preparing to unpack .../060-ibverbs-providers_55.0-1ubuntu1_armhf.deb ... 975s Unpacking ibverbs-providers:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 975s Preparing to unpack .../061-inetutils-telnet_2%3a2.5-6ubuntu1_armhf.deb ... 975s Unpacking inetutils-telnet (2:2.5-6ubuntu1) over (2:2.5-5ubuntu1) ... 975s Preparing to unpack .../062-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 975s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 975s Preparing to unpack .../063-libcbor0.10_0.10.2-2ubuntu1_armhf.deb ... 975s Unpacking libcbor0.10:armhf (0.10.2-2ubuntu1) over (0.10.2-1.2ubuntu2) ... 975s Preparing to unpack .../064-nftables_1.1.1-1build1_armhf.deb ... 975s Unpacking nftables (1.1.1-1build1) over (1.1.0-2) ... 975s Preparing to unpack .../065-libnftables1_1.1.1-1build1_armhf.deb ... 975s Unpacking libnftables1:armhf (1.1.1-1build1) over (1.1.0-2) ... 975s Preparing to unpack .../066-libpcap0.8t64_1.10.5-2ubuntu1_armhf.deb ... 975s Unpacking libpcap0.8t64:armhf (1.10.5-2ubuntu1) over (1.10.5-1ubuntu1) ... 975s Preparing to unpack .../067-libpng16-16t64_1.6.46-4_armhf.deb ... 975s Unpacking libpng16-16t64:armhf (1.6.46-4) over (1.6.44-2) ... 975s Preparing to unpack .../068-libxkbcommon0_1.7.0-2_armhf.deb ... 975s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 975s Preparing to unpack .../069-libplymouth5_24.004.60-2ubuntu5_armhf.deb ... 975s Unpacking libplymouth5:armhf (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 975s Preparing to unpack .../070-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 975s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 975s Preparing to unpack .../071-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 975s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 975s Preparing to unpack .../072-libusb-1.0-0_2%3a1.0.27-2_armhf.deb ... 975s Unpacking libusb-1.0-0:armhf (2:1.0.27-2) over (2:1.0.27-1) ... 976s Preparing to unpack .../073-libxdmcp6_1%3a1.1.5-1_armhf.deb ... 976s Unpacking libxdmcp6:armhf (1:1.1.5-1) over (1:1.1.3-0ubuntu6) ... 976s Preparing to unpack .../074-lshw_02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1_armhf.deb ... 976s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) over (02.19.git.2021.06.19.996aaad9c7-2ubuntu2) ... 976s Preparing to unpack .../075-lsof_4.99.4+dfsg-2_armhf.deb ... 976s Unpacking lsof (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 976s Preparing to unpack .../076-liblsof0_4.99.4+dfsg-2_armhf.deb ... 976s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 976s Preparing to unpack .../077-nano_8.3-1_armhf.deb ... 976s Unpacking nano (8.3-1) over (8.2-1) ... 976s Preparing to unpack .../078-pci.ids_0.0~2025.02.12-1_all.deb ... 976s Unpacking pci.ids (0.0~2025.02.12-1) over (0.0~2024.10.24-1) ... 976s Preparing to unpack .../079-plymouth-theme-ubuntu-text_24.004.60-2ubuntu5_armhf.deb ... 976s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 976s Preparing to unpack .../080-libpackagekit-glib2-18_1.3.0-3build1_armhf.deb ... 976s Unpacking libpackagekit-glib2-18:armhf (1.3.0-3build1) over (1.3.0-2) ... 976s Preparing to unpack .../081-packagekit-tools_1.3.0-3build1_armhf.deb ... 976s Unpacking packagekit-tools (1.3.0-3build1) over (1.3.0-2) ... 976s Preparing to unpack .../082-polkitd_126-2_armhf.deb ... 976s Unpacking polkitd (126-2) over (125-2ubuntu1) ... 976s Preparing to unpack .../083-libpolkit-agent-1-0_126-2_armhf.deb ... 976s Unpacking libpolkit-agent-1-0:armhf (126-2) over (125-2ubuntu1) ... 976s Preparing to unpack .../084-libpolkit-gobject-1-0_126-2_armhf.deb ... 976s Unpacking libpolkit-gobject-1-0:armhf (126-2) over (125-2ubuntu1) ... 976s Preparing to unpack .../085-libcurl3t64-gnutls_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 976s Unpacking libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 976s Preparing to unpack .../086-libappstream5_1.0.4-1_armhf.deb ... 976s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 976s Preparing to unpack .../087-libgstreamer1.0-0_1.25.50-1_armhf.deb ... 976s Unpacking libgstreamer1.0-0:armhf (1.25.50-1) over (1.24.9-1) ... 977s Preparing to unpack .../088-packagekit_1.3.0-3build1_armhf.deb ... 977s Unpacking packagekit (1.3.0-3build1) over (1.3.0-2) ... 977s Preparing to unpack .../089-plymouth_24.004.60-2ubuntu5_armhf.deb ... 977s Unpacking plymouth (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 977s Preparing to unpack .../090-powermgmt-base_1.38_all.deb ... 977s Unpacking powermgmt-base (1.38) over (1.37+nmu1ubuntu1) ... 977s Preparing to unpack .../091-psmisc_23.7-2_armhf.deb ... 977s Unpacking psmisc (23.7-2) over (23.7-1build1) ... 977s Preparing to unpack .../092-publicsuffix_20250108.1153-0.1_all.deb ... 977s Unpacking publicsuffix (20250108.1153-0.1) over (20231001.0357-0.1) ... 977s Preparing to unpack .../093-python3-distro-info_1.13_all.deb ... 977s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 977s for fn in glob1(directory, "%s.*" % fname): 977s Unpacking python3-distro-info (1.13) over (1.12) ... 977s Preparing to unpack .../094-python3.13-gdbm_3.13.2-1_armhf.deb ... 977s Unpacking python3.13-gdbm (3.13.2-1) over (3.13.0-2) ... 977s Preparing to unpack .../095-python3.12-gdbm_3.12.9-1_armhf.deb ... 977s Unpacking python3.12-gdbm (3.12.9-1) over (3.12.7-3) ... 977s Preparing to unpack .../096-python3-gdbm_3.13.1-1_armhf.deb ... 977s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 977s Preparing to unpack .../097-telnet_0.17+2.5-6ubuntu1_all.deb ... 977s Unpacking telnet (0.17+2.5-6ubuntu1) over (0.17+2.5-5ubuntu1) ... 977s Preparing to unpack .../098-ubuntu-standard_1.547_armhf.deb ... 977s Unpacking ubuntu-standard (1.547) over (1.544) ... 977s Preparing to unpack .../099-ufw_0.36.2-9_all.deb ... 977s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 977s for fn in glob1(directory, "%s.*" % fname): 977s Unpacking ufw (0.36.2-9) over (0.36.2-8) ... 978s Preparing to unpack .../100-usb.ids_2025.01.14-1_all.deb ... 978s Unpacking usb.ids (2025.01.14-1) over (2024.07.04-1) ... 978s Preparing to unpack .../101-xauth_1%3a1.1.2-1.1_armhf.deb ... 978s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 978s Preparing to unpack .../102-appstream_1.0.4-1_armhf.deb ... 978s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 978s Preparing to unpack .../103-libctf0_2.44-2ubuntu1_armhf.deb ... 978s Unpacking libctf0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 978s Preparing to unpack .../104-libctf-nobfd0_2.44-2ubuntu1_armhf.deb ... 978s Unpacking libctf-nobfd0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 978s Preparing to unpack .../105-binutils-arm-linux-gnueabihf_2.44-2ubuntu1_armhf.deb ... 978s Unpacking binutils-arm-linux-gnueabihf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 978s Preparing to unpack .../106-libbinutils_2.44-2ubuntu1_armhf.deb ... 978s Unpacking libbinutils:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 978s Preparing to unpack .../107-binutils_2.44-2ubuntu1_armhf.deb ... 978s Unpacking binutils (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 978s Preparing to unpack .../108-binutils-common_2.44-2ubuntu1_armhf.deb ... 978s Unpacking binutils-common:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 978s Preparing to unpack .../109-libsframe1_2.44-2ubuntu1_armhf.deb ... 978s Unpacking libsframe1:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 978s Preparing to unpack .../110-btrfs-progs_6.12-1build1_armhf.deb ... 978s Unpacking btrfs-progs (6.12-1build1) over (6.6.3-1.2) ... 978s Preparing to unpack .../111-python3-certifi_2025.1.31+ds-1_all.deb ... 979s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 979s for fn in glob1(directory, "%s.*" % fname): 979s Unpacking python3-certifi (2025.1.31+ds-1) over (2024.8.30+dfsg-1) ... 979s Preparing to unpack .../112-python3-chardet_5.2.0+dfsg-2_all.deb ... 979s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 979s for fn in glob1(directory, "%s.*" % fname): 979s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 979s Preparing to unpack .../113-python3-idna_3.10-1_all.deb ... 979s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 979s for fn in glob1(directory, "%s.*" % fname): 979s Unpacking python3-idna (3.10-1) over (3.8-2) ... 979s Preparing to unpack .../114-python3-urllib3_2.3.0-1_all.deb ... 979s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 979s for fn in glob1(directory, "%s.*" % fname): 979s Unpacking python3-urllib3 (2.3.0-1) over (2.0.7-2ubuntu0.1) ... 979s Preparing to unpack .../115-python3-requests_2.32.3+dfsg-4ubuntu1_all.deb ... 979s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 979s for fn in glob1(directory, "%s.*" % fname): 979s Unpacking python3-requests (2.32.3+dfsg-4ubuntu1) over (2.32.3+dfsg-1ubuntu1) ... 979s Preparing to unpack .../116-python3-jinja2_3.1.5-2_all.deb ... 979s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 979s for fn in glob1(directory, "%s.*" % fname): 979s Unpacking python3-jinja2 (3.1.5-2) over (3.1.3-1ubuntu1) ... 980s Preparing to unpack .../117-python3-json-pointer_2.4-3_all.deb ... 980s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 980s for fn in glob1(directory, "%s.*" % fname): 980s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 980s Preparing to unpack .../118-python3-jsonpatch_1.32-5_all.deb ... 980s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 980s for fn in glob1(directory, "%s.*" % fname): 980s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 980s Preparing to unpack .../119-python3-attr_25.1.0-1_all.deb ... 980s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 980s for fn in glob1(directory, "%s.*" % fname): 980s Unpacking python3-attr (25.1.0-1) over (23.2.0-2) ... 980s Preparing to unpack .../120-python3-referencing_0.35.1-2ubuntu1_all.deb ... 980s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 980s for fn in glob1(directory, "%s.*" % fname): 980s Unpacking python3-referencing (0.35.1-2ubuntu1) over (0.35.1-1ubuntu1) ... 980s Preparing to unpack .../121-python3-jsonschema_4.19.2-6ubuntu1_all.deb ... 980s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 980s for fn in glob1(directory, "%s.*" % fname): 980s Unpacking python3-jsonschema (4.19.2-6ubuntu1) over (4.19.2-3ubuntu1) ... 980s Preparing to unpack .../122-python3-jwt_2.10.1-2_all.deb ... 980s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 980s for fn in glob1(directory, "%s.*" % fname): 980s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 980s Preparing to unpack .../123-python3-oauthlib_3.2.2-3_all.deb ... 981s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 981s for fn in glob1(directory, "%s.*" % fname): 981s Unpacking python3-oauthlib (3.2.2-3) over (3.2.2-2) ... 981s Preparing to unpack .../124-cloud-init-base_25.1-0ubuntu1_all.deb ... 981s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 981s for fn in glob1(directory, "%s.*" % fname): 981s Unpacking cloud-init-base (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 981s dpkg: warning: unable to delete old directory '/lib/systemd/system/sshd-keygen@.service.d': Directory not empty 981s Preparing to unpack .../125-cryptsetup-bin_2%3a2.7.5-1ubuntu2_armhf.deb ... 981s Unpacking cryptsetup-bin (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 981s Preparing to unpack .../126-curl_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 981s Unpacking curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 981s Preparing to unpack .../127-libcurl4t64_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 981s Unpacking libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 981s Preparing to unpack .../128-dpkg-dev_1.22.11ubuntu4_all.deb ... 981s Unpacking dpkg-dev (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 982s Preparing to unpack .../129-libdpkg-perl_1.22.11ubuntu4_all.deb ... 982s Unpacking libdpkg-perl (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 982s Preparing to unpack .../130-make_4.4.1-1_armhf.deb ... 982s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 982s Preparing to unpack .../131-lto-disabled-list_56_all.deb ... 982s Unpacking lto-disabled-list (56) over (54) ... 982s Preparing to unpack .../132-libarchive13t64_3.7.7-0ubuntu1_armhf.deb ... 982s Unpacking libarchive13t64:armhf (3.7.7-0ubuntu1) over (3.7.4-1.1) ... 982s Preparing to unpack .../133-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 982s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 982s Preparing to unpack .../134-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 982s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 982s Preparing to unpack .../135-fwupd_2.0.6-3_armhf.deb ... 982s Unpacking fwupd (2.0.6-3) over (2.0.2-1) ... 982s Preparing to unpack .../136-libfwupd3_2.0.6-3_armhf.deb ... 982s Unpacking libfwupd3:armhf (2.0.6-3) over (2.0.2-1) ... 982s Preparing to unpack .../137-libprotobuf-c1_1.5.1-1ubuntu1_armhf.deb ... 982s Unpacking libprotobuf-c1:armhf (1.5.1-1ubuntu1) over (1.4.1-1ubuntu4) ... 982s Preparing to unpack .../138-libqmi-proxy_1.35.6-1_armhf.deb ... 982s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 982s Preparing to unpack .../139-libqmi-glib5_1.35.6-1_armhf.deb ... 982s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 983s Preparing to unpack .../140-gir1.2-packagekitglib-1.0_1.3.0-3build1_armhf.deb ... 983s Unpacking gir1.2-packagekitglib-1.0 (1.3.0-3build1) over (1.3.0-2) ... 983s Preparing to unpack .../141-gnupg-l10n_2.4.4-2ubuntu22_all.deb ... 983s Unpacking gnupg-l10n (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 983s Preparing to unpack .../142-htop_3.3.0-5_armhf.deb ... 983s Unpacking htop (3.3.0-5) over (3.3.0-4build1) ... 983s Preparing to unpack .../143-libblockdev-utils3_3.3.0-1_armhf.deb ... 983s Unpacking libblockdev-utils3:armhf (3.3.0-1) over (3.2.1-1) ... 983s Preparing to unpack .../144-libnspr4_2%3a4.36-1ubuntu1_armhf.deb ... 983s Unpacking libnspr4:armhf (2:4.36-1ubuntu1) over (2:4.35-1.1ubuntu2) ... 983s Preparing to unpack .../145-libnss3_2%3a3.108-1ubuntu1_armhf.deb ... 983s Unpacking libnss3:armhf (2:3.108-1ubuntu1) over (2:3.103-1) ... 983s Preparing to unpack .../146-libgpgme11t64_1.24.2-1ubuntu1_armhf.deb ... 983s Unpacking libgpgme11t64:armhf (1.24.2-1ubuntu1) over (1.24.0-2ubuntu1) ... 983s Preparing to unpack .../147-libvolume-key1_0.3.12-9_armhf.deb ... 983s Unpacking libvolume-key1:armhf (0.3.12-9) over (0.3.12-8) ... 983s Preparing to unpack .../148-libblockdev-crypto3_3.3.0-1_armhf.deb ... 983s Unpacking libblockdev-crypto3:armhf (3.3.0-1) over (3.2.1-1) ... 983s Preparing to unpack .../149-libblockdev-fs3_3.3.0-1_armhf.deb ... 983s Unpacking libblockdev-fs3:armhf (3.3.0-1) over (3.2.1-1) ... 983s Preparing to unpack .../150-libblockdev-loop3_3.3.0-1_armhf.deb ... 983s Unpacking libblockdev-loop3:armhf (3.3.0-1) over (3.2.1-1) ... 983s Preparing to unpack .../151-libblockdev-mdraid3_3.3.0-1_armhf.deb ... 983s Unpacking libblockdev-mdraid3:armhf (3.3.0-1) over (3.2.1-1) ... 983s Preparing to unpack .../152-libnvme1t64_1.11.1-2_armhf.deb ... 983s Unpacking libnvme1t64 (1.11.1-2) over (1.11.1-1) ... 984s Preparing to unpack .../153-libblockdev-nvme3_3.3.0-1_armhf.deb ... 984s Unpacking libblockdev-nvme3:armhf (3.3.0-1) over (3.2.1-1) ... 984s Preparing to unpack .../154-libblockdev-part3_3.3.0-1_armhf.deb ... 984s Unpacking libblockdev-part3:armhf (3.3.0-1) over (3.2.1-1) ... 984s Preparing to unpack .../155-libblockdev-swap3_3.3.0-1_armhf.deb ... 984s Unpacking libblockdev-swap3:armhf (3.3.0-1) over (3.2.1-1) ... 984s Preparing to unpack .../156-libblockdev3_3.3.0-1_armhf.deb ... 984s Unpacking libblockdev3:armhf (3.3.0-1) over (3.2.1-1) ... 984s Preparing to unpack .../157-libftdi1-2_1.5-8_armhf.deb ... 984s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 984s Preparing to unpack .../158-libgudev-1.0-0_1%3a238-6_armhf.deb ... 984s Unpacking libgudev-1.0-0:armhf (1:238-6) over (1:238-5ubuntu1) ... 984s Selecting previously unselected package libicu76:armhf. 984s Preparing to unpack .../159-libicu76_76.1-1ubuntu2_armhf.deb ... 984s Unpacking libicu76:armhf (76.1-1ubuntu2) ... 985s Preparing to unpack .../160-libsasl2-modules_2.1.28+dfsg1-8build1_armhf.deb ... 985s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 985s Preparing to unpack .../161-udisks2_2.10.1-11ubuntu2_armhf.deb ... 985s Unpacking udisks2 (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 985s Preparing to unpack .../162-libudisks2-0_2.10.1-11ubuntu2_armhf.deb ... 985s Unpacking libudisks2-0:armhf (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 985s Preparing to unpack .../163-libwrap0_7.6.q-35_armhf.deb ... 985s Unpacking libwrap0:armhf (7.6.q-35) over (7.6.q-33) ... 985s Selecting previously unselected package linux-headers-6.12.0-15. 985s Preparing to unpack .../164-linux-headers-6.12.0-15_6.12.0-15.15_all.deb ... 985s Unpacking linux-headers-6.12.0-15 (6.12.0-15.15) ... 988s Selecting previously unselected package linux-headers-6.12.0-15-generic. 988s Preparing to unpack .../165-linux-headers-6.12.0-15-generic_6.12.0-15.15_armhf.deb ... 988s Unpacking linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 990s Preparing to unpack .../166-linux-headers-generic_6.12.0-15.15+1_armhf.deb ... 990s Unpacking linux-headers-generic (6.12.0-15.15+1) over (6.11.0-8.8) ... 990s Preparing to unpack .../167-pollinate_4.33-4ubuntu2_all.deb ... 990s Unpacking pollinate (4.33-4ubuntu2) over (4.33-4ubuntu1) ... 990s Preparing to unpack .../168-python3-babel_2.17.0-1_all.deb ... 990s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 990s for fn in glob1(directory, "%s.*" % fname): 990s Unpacking python3-babel (2.17.0-1) over (2.16.0-1) ... 990s Preparing to unpack .../169-python-babel-localedata_2.17.0-1_all.deb ... 990s Unpacking python-babel-localedata (2.17.0-1) over (2.16.0-1) ... 991s Preparing to unpack .../170-python3-more-itertools_10.6.0-1_all.deb ... 991s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 991s for fn in glob1(directory, "%s.*" % fname): 991s Unpacking python3-more-itertools (10.6.0-1) over (10.5.0-1) ... 991s Preparing to unpack .../171-python3-openssl_25.0.0-1_all.deb ... 991s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 991s for fn in glob1(directory, "%s.*" % fname): 991s Unpacking python3-openssl (25.0.0-1) over (24.2.1-1) ... 991s Preparing to unpack .../172-python3-pkg-resources_75.6.0-1_all.deb ... 991s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 991s for fn in glob1(directory, "%s.*" % fname): 991s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 991s Preparing to unpack .../173-python3-setuptools_75.6.0-1_all.deb ... 991s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 991s for fn in glob1(directory, "%s.*" % fname): 991s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 991s Preparing to unpack .../174-software-properties-common_0.109_all.deb ... 992s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 992s for fn in glob1(directory, "%s.*" % fname): 992s Unpacking software-properties-common (0.109) over (0.105) ... 992s Preparing to unpack .../175-python3-software-properties_0.109_all.deb ... 992s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 992s for fn in glob1(directory, "%s.*" % fname): 992s Unpacking python3-software-properties (0.109) over (0.105) ... 992s Preparing to unpack .../176-python3-wadllib_2.0.0-2_all.deb ... 992s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 992s for fn in glob1(directory, "%s.*" % fname): 992s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 992s Preparing to unpack .../177-tmux_3.5a-3_armhf.deb ... 992s Unpacking tmux (3.5a-3) over (3.4-7) ... 992s Preparing to unpack .../178-unattended-upgrades_2.12ubuntu4_all.deb ... 992s Unpacking unattended-upgrades (2.12ubuntu4) over (2.9.1+nmu4ubuntu1) ... 992s dpkg: warning: unable to delete old directory '/lib/systemd/system-sleep': Directory not empty 992s Preparing to unpack .../179-xfsprogs_6.12.0-1ubuntu1_armhf.deb ... 992s Unpacking xfsprogs (6.12.0-1ubuntu1) over (6.8.0-2.2ubuntu2) ... 992s Preparing to unpack .../180-zstd_1.5.6+dfsg-2_armhf.deb ... 992s Unpacking zstd (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 992s Preparing to unpack .../181-cloud-init_25.1-0ubuntu1_all.deb ... 992s Unpacking cloud-init (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 992s Preparing to unpack .../182-kpartx_0.9.9-1ubuntu4_armhf.deb ... 992s Unpacking kpartx (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 992s Preparing to unpack .../183-multipath-tools_0.9.9-1ubuntu4_armhf.deb ... 992s Unpacking multipath-tools (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 993s Setting up libip4tc2:armhf (1.8.11-2ubuntu1) ... 993s Setting up powermgmt-base (1.38) ... 993s Setting up motd-news-config (13.6ubuntu1) ... 993s Setting up distro-info (1.13) ... 993s Setting up liburcu8t64:armhf (0.15.1-1) ... 993s Setting up libibverbs1:armhf (55.0-1ubuntu1) ... 993s Setting up libxdmcp6:armhf (1:1.1.5-1) ... 993s Setting up lto-disabled-list (56) ... 993s Setting up pci.ids (0.0~2025.02.12-1) ... 993s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 993s Setting up apt-utils (2.9.30ubuntu1) ... 993s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 993s Setting up init (1.68) ... 993s Setting up ibverbs-providers:armhf (55.0-1ubuntu1) ... 993s Setting up gcc-14-base:armhf (14.2.0-17ubuntu3) ... 993s Setting up psmisc (23.7-2) ... 993s Setting up libcbor0.10:armhf (0.10.2-2ubuntu1) ... 993s Setting up libyaml-0-2:armhf (0.2.5-2) ... 993s Setting up libip6tc2:armhf (1.8.11-2ubuntu1) ... 993s Setting up liblsof0 (4.99.4+dfsg-2) ... 993s Setting up libmaxminddb0:armhf (1.12.2-1) ... 993s Setting up python3.12-gdbm (3.12.9-1) ... 993s Setting up libedit2:armhf (3.1-20250104-1) ... 993s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-8build1) ... 993s Setting up netcat-openbsd (1.228-1) ... 993s Setting up libpython3.12-minimal:armhf (3.12.9-1) ... 993s Setting up binutils-common:armhf (2.44-2ubuntu1) ... 993s Setting up libctf-nobfd0:armhf (2.44-2ubuntu1) ... 993s Setting up gettext-base (0.23.1-1) ... 993s Setting up libnss-systemd:armhf (257.2-3ubuntu1) ... 993s Setting up libnftnl11:armhf (1.2.8-1) ... 993s Setting up krb5-locales (1.21.3-4ubuntu1) ... 993s Setting up libcom-err2:armhf (1.47.2-1ubuntu1) ... 993s Setting up libjemalloc2:armhf (5.3.0-2build1) ... 993s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) ... 993s Setting up locales (2.40-4ubuntu1) ... 994s Generating locales (this might take a while)... 996s en_US.UTF-8... done 996s Generation complete. 996s Setting up libldap-common (2.6.9+dfsg-1~exp2ubuntu1) ... 996s Installing new version of config file /etc/ldap/ldap.conf ... 996s Setting up libprotobuf-c1:armhf (1.5.1-1ubuntu1) ... 996s Setting up xxd (2:9.1.0967-1ubuntu2) ... 996s Setting up libsframe1:armhf (2.44-2ubuntu1) ... 996s Setting up python-babel-localedata (2.17.0-1) ... 996s Setting up libkrb5support0:armhf (1.21.3-4ubuntu1) ... 996s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) ... 996s Setting up tzdata (2025a-2ubuntu1) ... 997s 997s Current default time zone: 'Etc/UTC' 997s Local time is now: Sat Feb 22 05:07:57 UTC 2025. 997s Universal Time is now: Sat Feb 22 05:07:57 UTC 2025. 997s Run 'dpkg-reconfigure tzdata' if you wish to change it. 997s 997s Setting up eject (2.40.2-14ubuntu1) ... 997s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 997s Installing new version of config file /etc/apparmor.d/abstractions/dconf ... 997s Installing new version of config file /etc/apparmor.d/abstractions/mesa ... 997s Installing new version of config file /etc/apparmor.d/abstractions/nameservice ... 997s Installing new version of config file /etc/apparmor.d/abstractions/php ... 997s Installing new version of config file /etc/apparmor.d/abstractions/python ... 997s Installing new version of config file /etc/apparmor.d/sbuild ... 997s Installing new version of config file /etc/apparmor.d/sbuild-abort ... 997s Installing new version of config file /etc/apparmor.d/sbuild-adduser ... 997s Installing new version of config file /etc/apparmor.d/sbuild-apt ... 997s Installing new version of config file /etc/apparmor.d/sbuild-checkpackages ... 997s Installing new version of config file /etc/apparmor.d/sbuild-clean ... 997s Installing new version of config file /etc/apparmor.d/sbuild-createchroot ... 997s Installing new version of config file /etc/apparmor.d/sbuild-destroychroot ... 997s Installing new version of config file /etc/apparmor.d/sbuild-distupgrade ... 997s Installing new version of config file /etc/apparmor.d/sbuild-hold ... 997s Installing new version of config file /etc/apparmor.d/sbuild-shell ... 997s Installing new version of config file /etc/apparmor.d/sbuild-unhold ... 997s Installing new version of config file /etc/apparmor.d/sbuild-update ... 997s Installing new version of config file /etc/apparmor.d/sbuild-upgrade ... 997s Installing new version of config file /etc/apparmor.d/slirp4netns ... 997s Installing new version of config file /etc/apparmor.d/toybox ... 997s Installing new version of config file /etc/apparmor.d/transmission ... 997s Installing new version of config file /etc/apparmor.d/tunables/global ... 997s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 997s 997s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 997s 997s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 997s 998s Reloading AppArmor profiles 998s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 998s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 998s 999s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "unpriv_unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "remmina". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 999s 999s Error: At least one profile failed to load 999s Setting up libglib2.0-data (2.83.4-1) ... 999s Setting up vim-common (2:9.1.0967-1ubuntu2) ... 999s Setting up busybox-static (1:1.37.0-4ubuntu1) ... 999s Setting up libwrap0:armhf (7.6.q-35) ... 999s Setting up libnvme1t64 (1.11.1-2) ... 999s Setting up make (4.4.1-1) ... 999s Setting up libnspr4:armhf (2:4.36-1ubuntu1) ... 999s Setting up gnupg-l10n (2.4.4-2ubuntu22) ... 999s Setting up ed (1.21-1) ... 999s Setting up bash-completion (1:2.16.0-7) ... 999s Setting up libncurses6:armhf (6.5+20250125-2) ... 999s Setting up libdbus-1-3:armhf (1.16.0-1ubuntu1) ... 999s Setting up libfribidi0:armhf (1.0.16-1) ... 999s Setting up libpng16-16t64:armhf (1.6.46-4) ... 999s Setting up systemd-timesyncd (257.2-3ubuntu1) ... 999s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 999s Setting up libatomic1:armhf (15-20250213-1ubuntu1) ... 999s Setting up udev (257.2-3ubuntu1) ... 1000s Setting up libss2:armhf (1.47.2-1ubuntu1) ... 1000s Setting up usb.ids (2025.01.14-1) ... 1000s Setting up dhcpcd-base (1:10.1.0-7) ... 1000s Installing new version of config file /etc/dhcpcd.conf ... 1000s Setting up ucf (3.0050) ... 1000s Installing new version of config file /etc/ucf.conf ... 1000s Setting up libncursesw6:armhf (6.5+20250125-2) ... 1000s Setting up libk5crypto3:armhf (1.21.3-4ubuntu1) ... 1000s Setting up busybox-initramfs (1:1.37.0-4ubuntu1) ... 1000s Setting up libxtables12:armhf (1.8.11-2ubuntu1) ... 1001s Setting up logsave (1.47.2-1ubuntu1) ... 1001s Setting up libsasl2-2:armhf (2.1.28+dfsg1-8build1) ... 1001s Setting up lsof (4.99.4+dfsg-2) ... 1001s Setting up libfdisk1:armhf (2.40.2-14ubuntu1) ... 1001s Setting up libicu74:armhf (74.2-1ubuntu6) ... 1001s Setting up nano (8.3-1) ... 1001s Installing new version of config file /etc/nanorc ... 1001s Setting up libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) ... 1001s Setting up whiptail (0.52.24-4ubuntu1) ... 1001s Setting up python-apt-common (2.9.9) ... 1001s Setting up dracut-install (106-2ubuntu1) ... 1001s Setting up perl-modules-5.40 (5.40.1-2) ... 1001s Setting up dmsetup (2:1.02.201-1ubuntu1) ... 1001s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 1001s uuidd.service is a disabled or a static unit not running, not starting it. 1001s Setting up xauth (1:1.1.2-1.1) ... 1001s Setting up groff-base (1.23.0-7) ... 1001s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 1001s Setting up dbus-session-bus-common (1.16.0-1ubuntu1) ... 1001s Setting up kpartx (0.9.9-1ubuntu4) ... 1001s Setting up libpcap0.8t64:armhf (1.10.5-2ubuntu1) ... 1001s Setting up libcryptsetup12:armhf (2:2.7.5-1ubuntu2) ... 1001s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 1001s Setting up mawk (1.3.4.20250131-1) ... 1001s Setting up libkrb5-3:armhf (1.21.3-4ubuntu1) ... 1001s Setting up libusb-1.0-0:armhf (2:1.0.27-2) ... 1001s Setting up libicu76:armhf (76.1-1ubuntu2) ... 1001s Setting up linux-headers-6.12.0-15 (6.12.0-15.15) ... 1001s Setting up keyboard-configuration (1.226ubuntu3) ... 1002s Your console font configuration will be updated the next time your system 1002s boots. If you want to update it now, run 'setupcon' from a virtual console. 1002s update-initramfs: deferring update (trigger activated) 1002s Setting up libbinutils:armhf (2.44-2ubuntu1) ... 1002s Setting up dbus-system-bus-common (1.16.0-1ubuntu1) ... 1002s Setting up openssl (3.4.1-1ubuntu1) ... 1002s Installing new version of config file /etc/ssl/openssl.cnf ... 1002s Setting up libgpg-error-l10n (1.51-3) ... 1002s Setting up iputils-ping (3:20240905-1ubuntu1) ... 1002s Setting up readline-common (8.2-6) ... 1002s Setting up publicsuffix (20250108.1153-0.1) ... 1002s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) ... 1002s Setting up tmux (3.5a-3) ... 1003s Setting up zstd (1.5.6+dfsg-2) ... 1003s Setting up libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) ... 1003s Setting up dbus-bin (1.16.0-1ubuntu1) ... 1003s Setting up libbpf1:armhf (1:1.5.0-2) ... 1003s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 1003s Setting up rsync (3.4.1-0syncable1) ... 1003s rsync.service is a disabled or a static unit not running, not starting it. 1003s Setting up python3.13-gdbm (3.13.2-1) ... 1003s Setting up ethtool (1:6.11-1) ... 1003s Setting up gnupg-utils (2.4.4-2ubuntu22) ... 1003s Setting up initramfs-tools-bin (0.145ubuntu2) ... 1003s Setting up ncurses-term (6.5+20250125-2) ... 1003s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 1003s Setting up cron-daemon-common (3.0pl1-192ubuntu1) ... 1003s Setting up libxkbcommon0:armhf (1.7.0-2) ... 1003s Setting up libctf0:armhf (2.44-2ubuntu1) ... 1003s Setting up cryptsetup-bin (2:2.7.5-1ubuntu2) ... 1003s Setting up pinentry-curses (1.3.1-2ubuntu2) ... 1003s Setting up python3.12-minimal (3.12.9-1) ... 1004s Setting up libnftables1:armhf (1.1.1-1build1) ... 1004s Setting up nftables (1.1.1-1build1) ... 1005s Setting up iptables (1.8.11-2ubuntu1) ... 1005s Setting up htop (3.3.0-5) ... 1005s Setting up iproute2 (6.13.0-1ubuntu1) ... 1005s Setting up btrfs-progs (6.12-1build1) ... 1005s Setting up cron (3.0pl1-192ubuntu1) ... 1006s Setting up rsyslog (8.2412.0-2ubuntu1) ... 1006s Installing new version of config file /etc/apparmor.d/usr.sbin.rsyslogd ... 1006s info: The user `syslog' is already a member of `adm'. 1006s apparmor_parser: Unable to replace "rsyslogd". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1006s 1007s Setting up inetutils-telnet (2:2.5-6ubuntu1) ... 1007s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 1007s update-initramfs: deferring update (trigger activated) 1008s Setting up libnss3:armhf (2:3.108-1ubuntu1) ... 1008s Setting up dbus-daemon (1.16.0-1ubuntu1) ... 1008s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ... 1008s Setting up multipath-tools (0.9.9-1ubuntu4) ... 1008s Setting up libperl5.40:armhf (5.40.1-2) ... 1009s Setting up libftdi1-2:armhf (1.5-8) ... 1009s Setting up ca-certificates (20241223) ... 1012s Updating certificates in /etc/ssl/certs... 1013s rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL 1013s 7 added, 1 removed; done. 1013s Setting up perl (5.40.1-2) ... 1013s Setting up libglib2.0-0t64:armhf (2.83.4-1) ... 1013s No schema files found: doing nothing. 1013s Setting up systemd-cryptsetup (257.2-3ubuntu1) ... 1013s Setting up dbus (1.16.0-1ubuntu1) ... 1013s A reboot is required to replace the running dbus-daemon. 1013s Please reboot the system when convenient. 1014s Setting up libblockdev-utils3:armhf (3.3.0-1) ... 1014s Setting up linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 1014s Setting up libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) ... 1014s Setting up gir1.2-glib-2.0:armhf (2.83.4-1) ... 1014s Setting up libdpkg-perl (1.22.11ubuntu4) ... 1014s Setting up libreadline8t64:armhf (8.2-6) ... 1014s Setting up libblockdev-nvme3:armhf (3.3.0-1) ... 1014s Setting up libblockdev-fs3:armhf (3.3.0-1) ... 1014s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 1014s Setting up libplymouth5:armhf (24.004.60-2ubuntu5) ... 1014s Setting up gpgconf (2.4.4-2ubuntu22) ... 1014s Setting up libpam-systemd:armhf (257.2-3ubuntu1) ... 1014s Setting up libgirepository-1.0-1:armhf (1.82.0-4) ... 1014s Setting up initramfs-tools-core (0.145ubuntu2) ... 1014s Setting up binutils-arm-linux-gnueabihf (2.44-2ubuntu1) ... 1014s Setting up libarchive13t64:armhf (3.7.7-0ubuntu1) ... 1014s Setting up libpython3.13-stdlib:armhf (3.13.2-1) ... 1014s Setting up gpg (2.4.4-2ubuntu22) ... 1014s Setting up libgudev-1.0-0:armhf (1:238-6) ... 1014s Setting up libpolkit-gobject-1-0:armhf (126-2) ... 1014s Setting up libgstreamer1.0-0:armhf (1.25.50-1) ... 1014s Setcap worked! gst-ptp-helper is not suid! 1014s Setting up libudisks2-0:armhf (2.10.1-11ubuntu2) ... 1014s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 1014s Setting up systemd-resolved (257.2-3ubuntu1) ... 1015s Setting up gpg-agent (2.4.4-2ubuntu22) ... 1015s Setting up telnet (0.17+2.5-6ubuntu1) ... 1015s Setting up libpython3.12-stdlib:armhf (3.12.9-1) ... 1015s Setting up initramfs-tools (0.145ubuntu2) ... 1015s update-initramfs: deferring update (trigger activated) 1015s Setting up libblockdev-mdraid3:armhf (3.3.0-1) ... 1015s Setting up libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 1015s Setting up bind9-libs:armhf (1:9.20.4-3ubuntu1) ... 1015s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 1015s Setting up python3.13 (3.13.2-1) ... 1017s Setting up libblockdev-swap3:armhf (3.3.0-1) ... 1017s Setting up plymouth (24.004.60-2ubuntu5) ... 1017s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 1017s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 1017s Setting up python3.12 (3.12.9-1) ... 1018s Setting up libblockdev-loop3:armhf (3.3.0-1) ... 1018s Setting up gpgsm (2.4.4-2ubuntu22) ... 1018s Setting up libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 1018s Setting up libglib2.0-bin (2.83.4-1) ... 1018s Setting up libpackagekit-glib2-18:armhf (1.3.0-3build1) ... 1018s Setting up libappstream5:armhf (1.0.4-1) ... 1018s Setting up libqmi-glib5:armhf (1.35.6-1) ... 1018s Setting up python3 (3.13.1-1~exp2) ... 1018s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1018s for fn in glob1(directory, "%s.*" % fname): 1019s Setting up linux-headers-generic (6.12.0-15.15+1) ... 1019s Setting up binutils (2.44-2ubuntu1) ... 1019s Setting up libnetplan1:armhf (1.1.2-2ubuntu1) ... 1019s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 1019s Setting up libblockdev3:armhf (3.3.0-1) ... 1019s Setting up fdisk (2.40.2-14ubuntu1) ... 1019s Setting up dpkg-dev (1.22.11ubuntu4) ... 1019s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 1019s Setting up libblockdev-part3:armhf (3.3.0-1) ... 1019s Setting up dirmngr (2.4.4-2ubuntu22) ... 1019s Setting up gir1.2-packagekitglib-1.0 (1.3.0-3build1) ... 1019s Setting up dbus-user-session (1.16.0-1ubuntu1) ... 1019s Setting up python3-jinja2 (3.1.5-2) ... 1020s Setting up python3-pygments (2.18.0+dfsg-2) ... 1022s Setting up python3-chardet (5.2.0+dfsg-2) ... 1022s Setting up appstream (1.0.4-1) ... 1024s ✔ Metadata cache was updated successfully. 1024s Setting up python3-certifi (2025.1.31+ds-1) ... 1025s Setting up gir1.2-girepository-2.0:armhf (1.82.0-4) ... 1025s Setting up python3-gi (3.50.0-4) ... 1025s Setting up python3-idna (3.10-1) ... 1025s Setting up xfsprogs (6.12.0-1ubuntu1) ... 1025s update-initramfs: deferring update (trigger activated) 1026s Setting up keyboxd (2.4.4-2ubuntu22) ... 1026s Setting up python3-urllib3 (2.3.0-1) ... 1026s Setting up python3-json-pointer (2.4-3) ... 1027s Setting up gnupg (2.4.4-2ubuntu22) ... 1027s Setting up python3-netplan (1.1.2-2ubuntu1) ... 1027s Setting up libpolkit-agent-1-0:armhf (126-2) ... 1027s Setting up libgpgme11t64:armhf (1.24.2-1ubuntu1) ... 1027s Setting up curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 1027s Setting up libvolume-key1:armhf (0.3.12-9) ... 1027s Setting up netplan-generator (1.1.2-2ubuntu1) ... 1027s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 1027s Setting up bind9-host (1:9.20.4-3ubuntu1) ... 1027s Setting up python3-distro-info (1.13) ... 1027s Setting up polkitd (126-2) ... 1028s Setting up python3-more-itertools (10.6.0-1) ... 1028s Setting up python3-attr (25.1.0-1) ... 1028s Setting up gpg-wks-client (2.4.4-2ubuntu22) ... 1028s Setting up libblockdev-crypto3:armhf (3.3.0-1) ... 1028s Setting up python3-jwt (2.10.1-2) ... 1029s Setting up python3-babel (2.17.0-1) ... 1029s Setting up python3-rich (13.9.4-1) ... 1030s Setting up python3-gdbm:armhf (3.13.1-1) ... 1030s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ... 1030s Setting up python3-apt (2.9.9) ... 1030s Setting up python3-jsonpatch (1.32-5) ... 1031s Setting up python3-bcrypt (4.2.0-2.1) ... 1031s Setting up libqmi-proxy (1.35.6-1) ... 1031s Setting up libfwupd3:armhf (2.0.6-3) ... 1031s Setting up ufw (0.36.2-9) ... 1032s Setting up python3-lazr.uri (1.0.6-5) ... 1032s Setting up netplan.io (1.1.2-2ubuntu1) ... 1032s Setting up unattended-upgrades (2.12ubuntu4) ... 1032s Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version 1033s Setting up pollinate (4.33-4ubuntu2) ... 1033s Setting up python3-cryptography (43.0.0-1) ... 1034s Setting up python3-wadllib (2.0.0-2) ... 1034s Setting up python3-requests (2.32.3+dfsg-4ubuntu1) ... 1034s Setting up bind9-dnsutils (1:9.20.4-3ubuntu1) ... 1034s Setting up ubuntu-pro-client (34.1.3) ... 1034s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1034s 1035s apparmor_parser: Unable to replace "apt_methods". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1035s 1035s apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1035s 1036s Setting up fwupd (2.0.6-3) ... 1037s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 1037s fwupd.service is a disabled or a static unit not running, not starting it. 1037s Setting up python3-referencing (0.35.1-2ubuntu1) ... 1037s Setting up python3-pkg-resources (75.6.0-1) ... 1038s Setting up ubuntu-pro-client-l10n (34.1.3) ... 1038s Setting up udisks2 (2.10.1-11ubuntu2) ... 1038s vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/uevent': Permission denied 1038s vda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda1/uevent': Permission denied 1038s vda15: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda15/uevent': Permission denied 1038s vda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda2/uevent': Permission denied 1038s loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied 1038s loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied 1038s loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied 1038s loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied 1038s loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied 1038s loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied 1038s loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied 1038s loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 1038s loop8: Failed to write 'change' to '/sys/devices/virtual/block/loop8/uevent': Permission denied 1038s Setting up python3-setuptools (75.6.0-1) ... 1040s Setting up python3-openssl (25.0.0-1) ... 1040s Setting up python3-launchpadlib (2.1.0-1) ... 1041s Setting up ubuntu-standard (1.547) ... 1041s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ... 1041s Setting up python3-oauthlib (3.2.2-3) ... 1042s Setting up python3-software-properties (0.109) ... 1042s Setting up python3-jsonschema (4.19.2-6ubuntu1) ... 1042s Setting up cloud-init-base (25.1-0ubuntu1) ... 1042s Installing new version of config file /etc/cloud/templates/sources.list.debian.deb822.tmpl ... 1042s Installing new version of config file /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl ... 1045s Setting up cloud-init (25.1-0ubuntu1) ... 1045s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ... 1045s Setting up apport (2.31.0+git20250220-0ubuntu1) ... 1046s apport-autoreport.service is a disabled or a static unit not running, not starting it. 1046s Setting up kbd (2.7.1-2ubuntu1) ... 1046s Setting up console-setup-linux (1.226ubuntu3) ... 1048s Setting up console-setup (1.226ubuntu3) ... 1049s update-initramfs: deferring update (trigger activated) 1049s Setting up ubuntu-minimal (1.547) ... 1049s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1049s Processing triggers for systemd (257.2-3ubuntu1) ... 1049s Processing triggers for man-db (2.13.0-1) ... 1050s Processing triggers for shared-mime-info (2.4-5) ... 1050s Warning: program compiled against libxml 212 using older 209 1051s Processing triggers for sgml-base (1.31) ... 1051s Processing triggers for debianutils (5.21) ... 1051s Processing triggers for install-info (7.1.1-1) ... 1051s Setting up packagekit (1.3.0-3build1) ... 1051s Setting up packagekit-tools (1.3.0-3build1) ... 1051s Setting up software-properties-common (0.109) ... 1051s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1051s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 1051s Processing triggers for ca-certificates (20241223) ... 1051s Updating certificates in /etc/ssl/certs... 1052s 0 added, 0 removed; done. 1052s Running hooks in /etc/ca-certificates/update.d... 1052s done. 1052s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1056s Reading package lists... 1057s Building dependency tree... 1057s Reading state information... 1057s Starting pkgProblemResolver with broken count: 0 1057s Starting 2 pkgProblemResolver with broken count: 0 1057s Done 1058s Solving dependencies... 1058s The following packages will be REMOVED: 1058s libapt-pkg6.0t64* libassuan0* libicu74* libnsl2* libpython3.12-minimal* 1058s libpython3.12-stdlib* libunwind8* linux-headers-6.11.0-8* 1058s linux-headers-6.11.0-8-generic* python3.12* python3.12-minimal* 1059s 0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded. 1059s After this operation, 154 MB disk space will be freed. 1059s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 92815 files and directories currently installed.) 1059s Removing libapt-pkg6.0t64:armhf (2.9.29) ... 1059s Removing libassuan0:armhf (2.5.6-1build1) ... 1059s Removing libicu74:armhf (74.2-1ubuntu6) ... 1059s Removing python3.12 (3.12.9-1) ... 1059s Removing libpython3.12-stdlib:armhf (3.12.9-1) ... 1059s Removing libnsl2:armhf (1.3.0-3build3) ... 1059s Removing python3.12-minimal (3.12.9-1) ... 1059s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1059s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 1060s Removing libpython3.12-minimal:armhf (3.12.9-1) ... 1060s Removing libunwind8:armhf (1.6.2-3.1) ... 1060s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 1061s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 1062s Processing triggers for systemd (257.2-3ubuntu1) ... 1062s Processing triggers for man-db (2.13.0-1) ... 1062s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1062s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60309 files and directories currently installed.) 1062s Purging configuration files for python3.12-minimal (3.12.9-1) ... 1062s Purging configuration files for libpython3.12-minimal:armhf (3.12.9-1) ... 1065s autopkgtest [05:09:05]: rebooting testbed after setup commands that affected boot 1138s Reading package lists... 1138s Building dependency tree... 1138s Reading state information... 1139s Starting pkgProblemResolver with broken count: 0 1139s Starting 2 pkgProblemResolver with broken count: 0 1139s Done 1140s The following NEW packages will be installed: 1140s libgio-2.0-dev-bin python3-packaging 1140s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. 1140s Need to get 181 kB of archives. 1140s After this operation, 1065 kB of additional disk space will be used. 1140s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 1140s Get:2 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libgio-2.0-dev-bin armhf 2.83.4-1 [130 kB] 1141s Fetched 181 kB in 0s (398 kB/s) 1141s Selecting previously unselected package python3-packaging. 1141s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60307 files and directories currently installed.) 1141s Preparing to unpack .../python3-packaging_24.2-1_all.deb ... 1141s Unpacking python3-packaging (24.2-1) ... 1141s Selecting previously unselected package libgio-2.0-dev-bin. 1141s Preparing to unpack .../libgio-2.0-dev-bin_2.83.4-1_armhf.deb ... 1141s Unpacking libgio-2.0-dev-bin (2.83.4-1) ... 1141s Setting up python3-packaging (24.2-1) ... 1141s Setting up libgio-2.0-dev-bin (2.83.4-1) ... 1141s Processing triggers for man-db (2.13.0-1) ... 1165s autopkgtest [05:10:45]: test libgio-2.0-dev-bin: [----------------------- 1167s + gdbus-codegen --help 1167s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1167s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1167s [--c-generate-autocleanup {none,objects,all}] 1167s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1167s [--generate-rst OUTFILES] [--pragma-once] 1167s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1167s [--glib-min-required VERSION] 1167s [--glib-max-allowed VERSION] 1167s [--symbol-decorator SYMBOL_DECORATOR] 1167s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1167s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1167s [--generate-c-code OUTFILES | --header | --body | 1167s --interface-info-header | --interface-info-body] 1167s [--output FILE | --output-directory OUTDIR] 1167s FILE [FILE ...] 1167s 1167s D-Bus code and documentation generator 1167s 1167s positional arguments: 1167s FILE D-Bus introspection XML file 1167s 1167s options: 1167s -h, --help show this help message and exit 1167s --interface-prefix PREFIX 1167s String to strip from D-Bus interface names for code 1167s and docs 1167s --c-namespace NAMESPACE 1167s The namespace to use for generated C code 1167s --c-generate-object-manager 1167s Generate a GDBusObjectManagerClient subclass when 1167s generating C code 1167s --c-generate-autocleanup {none,objects,all} 1167s Generate autocleanup support 1167s --generate-docbook OUTFILES 1167s Generate Docbook in OUTFILES-org.Project.IFace.xml 1167s --generate-md OUTFILES 1167s Generate Markdown in OUTFILES-org.Project.IFace.md 1167s --generate-rst OUTFILES 1167s Generate reStructuredText in OUTFILES- 1167s org.Project.IFace.rst 1167s --pragma-once Use "pragma once" as the inclusion guard 1167s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1167s Add annotation (may be used several times) 1167s --glib-min-required VERSION 1167s Minimum version of GLib to be supported by the 1167s outputted code (default: 2.30) 1167s --glib-max-allowed VERSION 1167s Maximum version of GLib to be used by the outputted 1167s code (default: current GLib version) 1167s --symbol-decorator SYMBOL_DECORATOR 1167s Macro used to decorate a symbol in the outputted 1167s header, possibly to export symbols 1167s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1167s Additional header required for decorator specified by 1167s --symbol-decorator 1167s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1167s Additional define required for decorator specified by 1167s --symbol-decorator 1167s --generate-c-code OUTFILES 1167s Generate C code in OUTFILES.[ch] 1167s --header Generate C headers 1167s --body Generate C code 1167s --interface-info-header 1167s Generate GDBusInterfaceInfo C header 1167s --interface-info-body 1167s Generate GDBusInterfaceInfo C code 1167s --output FILE Write output into the specified file 1167s --output-directory OUTDIR 1167s Location to output generated files 1167s + glib-compile-resources --version 1167s 2.83.4 1167s + glib-genmarshal --version 1167s glib-genmarshal version 2.83.4 1167s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1167s You may redistribute copies of glib-genmarshal under the terms of 1167s the GNU General Public License which can be found in the 1167s GLib source package. Sources, examples and contact 1167s information are available at http://www.gtk.org 1167s + glib-gettextize --version 1167s /usr/bin/glib-gettextize (GNU glib) 2.83.4 1167s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1167s This is free software; see the source for copying conditions. There is NO 1167s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1167s Written by Ulrich Drepper 1167s + glib-mkenums --version 1167s glib-mkenums version 2.83.4 1167s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1167s You may redistribute copies of glib-mkenums under the terms of 1167s the GNU General Public License which can be found in the 1167s GLib source package. Sources, examples and contact 1167s information are available at http://www.gtk.org 1167s GObject 1167s + gobject-query tree 1167s gtester version 2.83.4 1167s + gtester --version 1167s + gtester-report --version 1167s gtester-report (GLib utils) version 2.83.4. 1168s autopkgtest [05:10:48]: test libgio-2.0-dev-bin: -----------------------] 1172s libgio-2.0-dev-bin PASS (superficial) 1172s autopkgtest [05:10:52]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - - 1177s autopkgtest [05:10:57]: test libglib2.0-dev: preparing testbed 1231s autopkgtest [05:11:51]: testbed dpkg architecture: armhf 1233s autopkgtest [05:11:53]: testbed apt version: 2.9.14ubuntu1 1237s autopkgtest [05:11:57]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1239s autopkgtest [05:11:59]: testbed release detected to be: plucky 1248s autopkgtest [05:12:08]: updating testbed package index (apt update) 1250s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 1250s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [249 kB] 1250s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [110 kB] 1251s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [110 kB] 1251s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB] 1251s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB] 1251s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB] 1251s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 1251s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [125 kB] 1251s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Components [26.6 kB] 1251s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [760 B] 1251s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Components [216 B] 1251s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [424 kB] 1251s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Components [213 kB] 1251s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [1796 B] 1251s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Components [1076 B] 1251s Get:17 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [298 kB] 1251s Get:18 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 1252s Get:19 http://ftpmaster.internal/ubuntu plucky/restricted Sources [16.3 kB] 1252s Get:20 http://ftpmaster.internal/ubuntu plucky/main Sources [1384 kB] 1252s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1370 kB] 1252s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf Components [401 kB] 1252s Get:23 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2900 B] 1252s Get:24 http://ftpmaster.internal/ubuntu plucky/restricted armhf Components [196 B] 1252s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.1 MB] 1252s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf Components [3953 kB] 1252s Get:27 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 1252s Get:28 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Components [39.8 kB] 1252s Get:29 http://ftpmaster.internal/ubuntu plucky-updates/main armhf Components [208 B] 1252s Get:30 http://ftpmaster.internal/ubuntu plucky-updates/restricted armhf Components [212 B] 1252s Get:31 http://ftpmaster.internal/ubuntu plucky-updates/universe armhf Components [212 B] 1252s Get:32 http://ftpmaster.internal/ubuntu plucky-updates/multiverse armhf Components [212 B] 1252s Get:33 http://ftpmaster.internal/ubuntu plucky-security/main armhf Components [204 B] 1252s Get:34 http://ftpmaster.internal/ubuntu plucky-security/restricted armhf Components [208 B] 1252s Get:35 http://ftpmaster.internal/ubuntu plucky-security/universe armhf Components [208 B] 1253s Get:36 http://ftpmaster.internal/ubuntu plucky-security/multiverse armhf Components [208 B] 1259s Fetched 45.7 MB in 7s (6486 kB/s) 1261s Reading package lists... 1267s autopkgtest [05:12:27]: upgrading testbed (apt dist-upgrade and autopurge) 1269s Reading package lists... 1270s Building dependency tree... 1270s Reading state information... 1270s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1271s Starting 2 pkgProblemResolver with broken count: 0 1271s Done 1271s Entering ResolveByKeep 1272s 1273s The following packages were automatically installed and are no longer required: 1273s libapt-pkg6.0t64 libassuan0 libicu74 libnsl2 libpython3.12-minimal 1273s libpython3.12-stdlib libunwind8 linux-headers-6.11.0-8 1273s linux-headers-6.11.0-8-generic python3.12 python3.12-minimal 1273s Use 'apt autoremove' to remove them. 1273s The following NEW packages will be installed: 1273s gcc-15-base libapt-pkg7.0 libicu76 libjemalloc2 libpython3.13-minimal 1273s libpython3.13-stdlib linux-headers-6.12.0-15 linux-headers-6.12.0-15-generic 1273s login.defs openssl-provider-legacy python3-bcrypt python3.13 1273s python3.13-minimal 1273s The following packages will be upgraded: 1273s apparmor apport apport-core-dump-handler appstream apt apt-utils base-files 1273s base-passwd bash bash-completion bind9-dnsutils bind9-host bind9-libs 1273s binutils binutils-arm-linux-gnueabihf binutils-common bsdextrautils bsdutils 1273s btrfs-progs busybox-initramfs busybox-static ca-certificates cloud-init 1273s cloud-init-base console-setup console-setup-linux coreutils cron 1273s cron-daemon-common cryptsetup-bin curl dash dbus dbus-bin dbus-daemon 1273s dbus-session-bus-common dbus-system-bus-common dbus-user-session dhcpcd-base 1273s diffutils dirmngr distro-info dmsetup dpkg dpkg-dev dracut-install e2fsprogs 1273s e2fsprogs-l10n ed eject ethtool fdisk fwupd gcc-14-base gettext-base 1273s gir1.2-girepository-2.0 gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg 1273s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1273s groff-base gzip htop ibverbs-providers inetutils-telnet init 1273s init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core 1273s iproute2 iptables iputils-ping iputils-tracepath kbd keyboard-configuration 1273s keyboxd kpartx krb5-locales libapparmor1 libappstream5 libapt-pkg6.0t64 1273s libarchive13t64 libatomic1 libbinutils libblkid1 libblockdev-crypto3 1273s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1273s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 libbpf1 1273s libc-bin libc6 libcap-ng0 libcbor0.10 libcom-err2 libcrypt1 libcryptsetup12 1273s libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 libdbus-1-3 1273s libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libedit2 libext2fs2t64 1273s libfdisk1 libffi8 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 1273s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 1273s libgnutls30t64 libgpg-error-l10n libgpg-error0 libgpgme11t64 1273s libgssapi-krb5-2 libgstreamer1.0-0 libgudev-1.0-0 libhogweed6t64 libibverbs1 1273s libicu74 libip4tc2 libip6tc2 libjson-glib-1.0-0 libjson-glib-1.0-common 1273s libk5crypto3 libkrb5-3 libkrb5support0 libldap-common libldap2 liblsof0 1273s liblz4-1 libmaxminddb0 libmount1 libncurses6 libncursesw6 libnetplan1 1273s libnettle8t64 libnewt0.52 libnftables1 libnftnl11 libnpth0t64 libnspr4 1273s libnss-systemd libnss3 libnvme1t64 libp11-kit0 libpackagekit-glib2-18 1273s libpam-systemd libpcap0.8t64 libperl5.40 libplymouth5 libpng16-16t64 1273s libpolkit-agent-1-0 libpolkit-gobject-1-0 libprotobuf-c1 libpython3-stdlib 1273s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 1273s libreadline8t64 libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 1273s libsemanage-common libsemanage2 libsframe1 libsmartcols1 libss2 libssl3t64 1273s libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtinfo6 libtraceevent1 1273s libtraceevent1-plugin libudev1 libudisks2-0 libunistring5 liburcu8t64 1273s libusb-1.0-0 libuuid1 libvolume-key1 libwrap0 libxdmcp6 libxkbcommon0 1273s libxml2 libxtables12 libxxhash0 libyaml-0-2 libzstd1 linux-headers-generic 1273s locales login logsave lshw lsof lto-disabled-list make mawk motd-news-config 1273s mount multipath-tools nano ncurses-base ncurses-bin ncurses-term 1273s netcat-openbsd netplan-generator netplan.io nftables openssl packagekit 1273s packagekit-tools passwd pci.ids perl perl-base perl-modules-5.40 1273s pinentry-curses plymouth plymouth-theme-ubuntu-text polkitd pollinate 1273s powermgmt-base psmisc publicsuffix python-apt-common python-babel-localedata 1273s python3 python3-apport python3-apt python3-attr python3-babel 1273s python3-certifi python3-chardet python3-cryptography python3-distro-info 1273s python3-gdbm python3-gi python3-idna python3-jinja2 python3-json-pointer 1273s python3-jsonpatch python3-jsonschema python3-jwt python3-launchpadlib 1273s python3-lazr.uri python3-minimal python3-more-itertools python3-netplan 1273s python3-newt python3-oauthlib python3-openssl python3-pkg-resources 1273s python3-problem-report python3-pygments python3-referencing python3-requests 1273s python3-rich python3-setuptools python3-software-properties python3-urllib3 1273s python3-wadllib python3.12 python3.12-gdbm python3.12-minimal 1273s python3.13-gdbm readline-common rsync rsyslog software-properties-common 1273s systemd systemd-cryptsetup systemd-resolved systemd-sysv systemd-timesyncd 1273s sysvinit-utils tar telnet tmux tzdata ubuntu-minimal ubuntu-pro-client 1273s ubuntu-pro-client-l10n ubuntu-standard ucf udev udisks2 ufw 1273s unattended-upgrades usb.ids util-linux uuid-runtime vim-common vim-tiny 1273s whiptail xauth xfsprogs xxd zstd 1273s 323 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 1273s Need to get 148 MB of archives. 1273s After this operation, 204 MB of additional disk space will be used. 1273s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf motd-news-config all 13.6ubuntu1 [5168 B] 1273s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-15-base armhf 15-20250213-1ubuntu1 [53.2 kB] 1273s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 15-20250213-1ubuntu1 [40.6 kB] 1273s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 1274s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt1 armhf 1:4.4.38-1 [91.7 kB] 1274s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf base-files armhf 13.6ubuntu1 [75.3 kB] 1274s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 1274s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-14ubuntu1 [110 kB] 1274s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf coreutils armhf 9.5-1ubuntu1 [1275 kB] 1274s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf dash armhf 0.5.12-12ubuntu1 [87.4 kB] 1274s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf diffutils armhf 1:3.10-2 [172 kB] 1274s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libxxhash0 armhf 0.8.3-2 [30.8 kB] 1274s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf liblz4-1 armhf 1.10.0-3 [57.2 kB] 1274s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.1-1ubuntu1 [29.5 kB] 1274s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.1-1ubuntu1 [1771 kB] 1274s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libzstd1 armhf 1.5.6+dfsg-2 [266 kB] 1274s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 15-20250213-1ubuntu1 [725 kB] 1274s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257.2-3ubuntu1 [42.1 kB] 1274s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-session-bus-common all 1.16.0-1ubuntu1 [53.1 kB] 1274s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257.2-3ubuntu1 [11.9 kB] 1274s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257.2-3ubuntu1 [238 kB] 1274s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-user-session armhf 1.16.0-1ubuntu1 [9684 B] 1274s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libapparmor1 armhf 4.1.0~beta5-0ubuntu5 [48.7 kB] 1274s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 1274s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 1274s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-system-bus-common all 1.16.0-1ubuntu1 [54.3 kB] 1274s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-bin armhf 1.16.0-1ubuntu1 [37.9 kB] 1274s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf dbus armhf 1.16.0-1ubuntu1 [28.1 kB] 1274s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-daemon armhf 1.16.0-1ubuntu1 [111 kB] 1274s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libdbus-1-3 armhf 1.16.0-1ubuntu1 [162 kB] 1274s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257.2-3ubuntu1 [315 kB] 1274s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libncurses6 armhf 6.5+20250125-2 [88.8 kB] 1274s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libncursesw6 armhf 6.5+20250125-2 [118 kB] 1274s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libtinfo6 armhf 6.5+20250125-2 [91.9 kB] 1274s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-14ubuntu1 [94.2 kB] 1274s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-14ubuntu1 [63.4 kB] 1274s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-14ubuntu1 [157 kB] 1274s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-14ubuntu1 [169 kB] 1274s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-14ubuntu1 [194 kB] 1274s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-14ubuntu1 [137 kB] 1274s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-14ubuntu1 [41.0 kB] 1274s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-14ubuntu1 [1190 kB] 1274s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-14ubuntu1 [63.7 kB] 1274s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-14ubuntu1 [217 kB] 1274s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-14ubuntu1 [158 kB] 1274s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 1274s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 1274s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257.2-3ubuntu1 [126 kB] 1274s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257.2-3ubuntu1 [2203 kB] 1274s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257.2-3ubuntu1 [164 kB] 1274s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257.2-3ubuntu1 [3028 kB] 1274s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257.2-3ubuntu1 [1402 kB] 1275s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257.2-3ubuntu1 [193 kB] 1275s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libdevmapper1.02.1 armhf 2:1.02.201-1ubuntu1 [137 kB] 1275s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf libcryptsetup12 armhf 2:2.7.5-1ubuntu2 [246 kB] 1275s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257.2-3ubuntu1 [494 kB] 1275s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.29 [1086 kB] 1275s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 1275s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg armhf 1.22.11ubuntu4 [1242 kB] 1275s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf gzip armhf 1.13-1ubuntu2 [98.1 kB] 1275s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-bin armhf 6.5+20250125-2 [179 kB] 1275s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf perl-modules-5.40 all 5.40.1-2 [3217 kB] 1275s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf libperl5.40 armhf 5.40.1-2 [4135 kB] 1275s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf perl armhf 5.40.1-2 [262 kB] 1275s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf perl-base armhf 5.40.1-2 [1667 kB] 1275s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 1275s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 1275s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf init-system-helpers all 1.68 [39.0 kB] 1275s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 1275s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-base all 6.5+20250125-2 [25.8 kB] 1275s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-term all 6.5+20250125-2 [276 kB] 1275s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf kbd armhf 2.7.1-2ubuntu1 [214 kB] 1275s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup-linux all 1.226ubuntu3 [1880 kB] 1275s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup all 1.226ubuntu3 [110 kB] 1275s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf keyboard-configuration all 1.226ubuntu3 [212 kB] 1275s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf sysvinit-utils armhf 3.14-1ubuntu1 [35.1 kB] 1275s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg7.0 armhf 2.9.30ubuntu1 [1067 kB] 1275s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.30ubuntu1 [1392 kB] 1275s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.30ubuntu1 [214 kB] 1275s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 1275s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 1275s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 1275s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu22 [87.5 kB] 1275s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu22 [347 kB] 1275s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu22 [242 kB] 1275s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu22 [159 kB] 1275s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu22 [237 kB] 1275s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu22 [525 kB] 1275s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu22 [116 kB] 1275s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu22 [359 kB] 1275s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu22 [111 kB] 1275s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-2ubuntu2 [40.6 kB] 1275s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf libnettle8t64 armhf 3.10.1-1 [188 kB] 1275s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf libhogweed6t64 armhf 3.10.1-1 [188 kB] 1275s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libffi8 armhf 3.4.7-1 [21.1 kB] 1275s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libp11-kit0 armhf 0.25.5-2ubuntu3 [261 kB] 1275s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtasn1-6 armhf 4.20.0-2 [38.2 kB] 1275s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 1275s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.9-2ubuntu2 [961 kB] 1275s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8build1 [19.0 kB] 1275s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8build1 [49.9 kB] 1276s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libldap-common all 2.6.9+dfsg-1~exp2ubuntu1 [33.2 kB] 1276s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libldap2 armhf 2.6.9+dfsg-1~exp2ubuntu1 [177 kB] 1276s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu22 [225 kB] 1276s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 1276s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf logsave armhf 1.47.2-1ubuntu1 [25.7 kB] 1276s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-minimal armhf 1.547 [11.4 kB] 1276s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools all 0.145ubuntu2 [7948 B] 1276s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-core all 0.145ubuntu2 [51.5 kB] 1276s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libext2fs2t64 armhf 1.47.2-1ubuntu1 [207 kB] 1276s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs armhf 1.47.2-1ubuntu1 [588 kB] 1276s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf dhcpcd-base armhf 1:10.1.0-7 [188 kB] 1276s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf init armhf 1.68 [6296 B] 1276s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 1276s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf iptables armhf 1.8.11-2ubuntu1 [342 kB] 1276s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf libip4tc2 armhf 1.8.11-2ubuntu1 [21.7 kB] 1276s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libip6tc2 armhf 1.8.11-2ubuntu1 [22.1 kB] 1276s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf libnftnl11 armhf 1.2.8-1 [53.3 kB] 1276s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libxtables12 armhf 1.8.11-2ubuntu1 [33.0 kB] 1276s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf iproute2 armhf 6.13.0-1ubuntu1 [1096 kB] 1276s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 1276s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 1276s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 1276s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf login armhf 1:4.16.0-2+really2.40.2-14ubuntu1 [85.0 kB] 1276s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf mawk armhf 1.3.4.20250131-1 [119 kB] 1276s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf netcat-openbsd armhf 1.228-1 [42.4 kB] 1276s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.2-1 [868 kB] 1277s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.2-1 [2012 kB] 1277s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 1277s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 1277s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 1277s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 1277s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2025a-2ubuntu1 [198 kB] 1277s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.2-1 [1969 kB] 1277s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.2-1 [734 kB] 1277s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 1277s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-4 [25.3 kB] 1277s Get:138 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf gir1.2-glib-2.0 armhf 2.83.4-1 [185 kB] 1277s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-4 [109 kB] 1277s Get:140 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-data all 2.83.4-1 [52.9 kB] 1277s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-bin armhf 2.83.4-1 [92.7 kB] 1277s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 15-20250213-1ubuntu1 [7938 B] 1277s Get:143 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-0t64 armhf 2.83.4-1 [1453 kB] 1277s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf netplan-generator armhf 1.1.2-2ubuntu1 [60.8 kB] 1277s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 1277s Get:146 http://ftpmaster.internal/ubuntu plucky/main armhf python3-netplan armhf 1.1.2-2ubuntu1 [24.2 kB] 1277s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf netplan.io armhf 1.1.2-2ubuntu1 [67.7 kB] 1277s Get:148 http://ftpmaster.internal/ubuntu plucky/main armhf libnetplan1 armhf 1.1.2-2ubuntu1 [123 kB] 1277s Get:149 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 1277s Get:150 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage-common all 3.7-2.1 [7198 B] 1277s Get:151 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage2 armhf 3.7-2.1 [85.4 kB] 1277s Get:152 http://ftpmaster.internal/ubuntu plucky/main armhf passwd armhf 1:4.16.0-7ubuntu1 [1041 kB] 1277s Get:153 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client-l10n armhf 34.1.3 [18.3 kB] 1277s Get:154 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.9 [21.2 kB] 1277s Get:155 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.9 [173 kB] 1277s Get:156 http://ftpmaster.internal/ubuntu plucky/main armhf distro-info armhf 1.13 [19.1 kB] 1277s Get:157 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client armhf 34.1.3 [243 kB] 1277s Get:158 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0967-1ubuntu2 [696 kB] 1277s Get:159 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0967-1ubuntu2 [396 kB] 1277s Get:160 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 1277s Get:161 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 1277s Get:162 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 1277s Get:163 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 106-2ubuntu1 [38.7 kB] 1277s Get:164 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-bin armhf 0.145ubuntu2 [24.5 kB] 1277s Get:165 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-initramfs armhf 1:1.37.0-4ubuntu1 [188 kB] 1277s Get:166 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.9-1 [671 kB] 1277s Get:167 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.9-1 [1946 kB] 1277s Get:168 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.9-1 [2012 kB] 1277s Get:169 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.9-1 [825 kB] 1277s Get:170 http://ftpmaster.internal/ubuntu plucky/main armhf cron armhf 3.0pl1-192ubuntu1 [84.2 kB] 1277s Get:171 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.4.1-0syncable1 [422 kB] 1277s Get:172 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lazr.uri all 1.0.6-5 [13.6 kB] 1277s Get:173 http://ftpmaster.internal/ubuntu plucky/main armhf python3-launchpadlib all 2.1.0-1 [126 kB] 1277s Get:174 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB] 1277s Get:175 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB] 1277s Get:176 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gi armhf 3.50.0-4 [260 kB] 1277s Get:177 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB] 1277s Get:178 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB] 1278s Get:179 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-17ubuntu3 [53.6 kB] 1278s Get:180 http://ftpmaster.internal/ubuntu plucky/main armhf libcom-err2 armhf 1.47.2-1ubuntu1 [25.6 kB] 1278s Get:181 http://ftpmaster.internal/ubuntu plucky/main armhf libss2 armhf 1.47.2-1ubuntu1 [15.6 kB] 1278s Get:182 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.1-1ubuntu1 [1152 kB] 1278s Get:183 http://ftpmaster.internal/ubuntu plucky/main armhf ca-certificates all 20241223 [165 kB] 1278s Get:184 http://ftpmaster.internal/ubuntu plucky/main armhf krb5-locales all 1.21.3-4ubuntu1 [14.7 kB] 1278s Get:185 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 1278s Get:186 http://ftpmaster.internal/ubuntu plucky/main armhf libgssapi-krb5-2 armhf 1.21.3-4ubuntu1 [121 kB] 1278s Get:187 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5-3 armhf 1.21.3-4ubuntu1 [314 kB] 1278s Get:188 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5support0 armhf 1.21.3-4ubuntu1 [31.8 kB] 1278s Get:189 http://ftpmaster.internal/ubuntu plucky/main armhf libk5crypto3 armhf 1.21.3-4ubuntu1 [78.6 kB] 1278s Get:190 http://ftpmaster.internal/ubuntu plucky/main armhf libicu74 armhf 74.2-1ubuntu6 [10.5 MB] 1278s Get:191 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2ubuntu3 [599 kB] 1278s Get:192 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pygments all 2.18.0+dfsg-2 [835 kB] 1278s Get:193 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 1278s Get:194 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0050 [43.5 kB] 1278s Get:195 http://ftpmaster.internal/ubuntu plucky/main armhf rsyslog armhf 8.2412.0-2ubuntu1 [471 kB] 1278s Get:196 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0967-1ubuntu2 [67.5 kB] 1278s Get:197 http://ftpmaster.internal/ubuntu plucky/main armhf apparmor armhf 4.1.0~beta5-0ubuntu5 [605 kB] 1278s Get:198 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-7 [214 kB] 1278s Get:199 http://ftpmaster.internal/ubuntu plucky/main armhf libjemalloc2 armhf 5.3.0-2build1 [200 kB] 1278s Get:200 http://ftpmaster.internal/ubuntu plucky/main armhf libmaxminddb0 armhf 1.12.2-1 [16.9 kB] 1278s Get:201 http://ftpmaster.internal/ubuntu plucky/main armhf liburcu8t64 armhf 0.15.1-1 [57.1 kB] 1278s Get:202 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-dnsutils armhf 1:9.20.4-3ubuntu1 [155 kB] 1278s Get:203 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-host armhf 1:9.20.4-3ubuntu1 [46.4 kB] 1278s Get:204 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-libs armhf 1:9.20.4-3ubuntu1 [1186 kB] 1279s Get:205 http://ftpmaster.internal/ubuntu plucky/main armhf libedit2 armhf 3.1-20250104-1 [79.3 kB] 1279s Get:206 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-static armhf 1:1.37.0-4ubuntu1 [857 kB] 1279s Get:207 http://ftpmaster.internal/ubuntu plucky/main armhf cron-daemon-common all 3.0pl1-192ubuntu1 [14.5 kB] 1279s Get:208 http://ftpmaster.internal/ubuntu plucky/main armhf dmsetup armhf 2:1.02.201-1ubuntu1 [80.4 kB] 1279s Get:209 http://ftpmaster.internal/ubuntu plucky/main armhf ed armhf 1.21-1 [52.8 kB] 1279s Get:210 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.23.1-1 [43.3 kB] 1279s Get:211 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 1279s Get:212 http://ftpmaster.internal/ubuntu plucky/main armhf libibverbs1 armhf 55.0-1ubuntu1 [58.5 kB] 1279s Get:213 http://ftpmaster.internal/ubuntu plucky/main armhf ibverbs-providers armhf 55.0-1ubuntu1 [27.6 kB] 1279s Get:214 http://ftpmaster.internal/ubuntu plucky/main armhf inetutils-telnet armhf 2:2.5-6ubuntu1 [94.7 kB] 1279s Get:215 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 1279s Get:216 http://ftpmaster.internal/ubuntu plucky/main armhf libcbor0.10 armhf 0.10.2-2ubuntu1 [22.0 kB] 1279s Get:217 http://ftpmaster.internal/ubuntu plucky/main armhf nftables armhf 1.1.1-1build1 [70.8 kB] 1279s Get:218 http://ftpmaster.internal/ubuntu plucky/main armhf libnftables1 armhf 1.1.1-1build1 [321 kB] 1279s Get:219 http://ftpmaster.internal/ubuntu plucky/main armhf libpcap0.8t64 armhf 1.10.5-2ubuntu1 [140 kB] 1279s Get:220 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.46-4 [171 kB] 1279s Get:221 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 1279s Get:222 http://ftpmaster.internal/ubuntu plucky/main armhf libplymouth5 armhf 24.004.60-2ubuntu5 [142 kB] 1279s Get:223 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 1279s Get:224 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 1279s Get:225 http://ftpmaster.internal/ubuntu plucky/main armhf libusb-1.0-0 armhf 2:1.0.27-2 [49.5 kB] 1279s Get:226 http://ftpmaster.internal/ubuntu plucky/main armhf libxdmcp6 armhf 1:1.1.5-1 [9060 B] 1279s Get:227 http://ftpmaster.internal/ubuntu plucky/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1 [311 kB] 1279s Get:228 http://ftpmaster.internal/ubuntu plucky/main armhf lsof armhf 4.99.4+dfsg-2 [239 kB] 1279s Get:229 http://ftpmaster.internal/ubuntu plucky/main armhf liblsof0 armhf 4.99.4+dfsg-2 [60.8 kB] 1279s Get:230 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.3-1 [277 kB] 1279s Get:231 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2025.02.12-1 [284 kB] 1279s Get:232 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-2ubuntu5 [9914 B] 1279s Get:233 http://ftpmaster.internal/ubuntu plucky/main armhf libpackagekit-glib2-18 armhf 1.3.0-3build1 [109 kB] 1279s Get:234 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit-tools armhf 1.3.0-3build1 [28.0 kB] 1279s Get:235 http://ftpmaster.internal/ubuntu plucky/main armhf polkitd armhf 126-2 [92.5 kB] 1279s Get:236 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-agent-1-0 armhf 126-2 [15.1 kB] 1279s Get:237 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-gobject-1-0 armhf 126-2 [45.0 kB] 1279s Get:238 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [330 kB] 1279s Get:239 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 1279s Get:240 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.25.50-1 [1164 kB] 1279s Get:241 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit armhf 1.3.0-3build1 [431 kB] 1279s Get:242 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth armhf 24.004.60-2ubuntu5 [143 kB] 1279s Get:243 http://ftpmaster.internal/ubuntu plucky/main armhf powermgmt-base all 1.38 [7378 B] 1279s Get:244 http://ftpmaster.internal/ubuntu plucky/main armhf psmisc armhf 23.7-2 [177 kB] 1279s Get:245 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20250108.1153-0.1 [134 kB] 1279s Get:246 http://ftpmaster.internal/ubuntu plucky/main armhf python3-distro-info all 1.13 [7798 B] 1279s Get:247 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.2-1 [30.2 kB] 1279s Get:248 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.9-1 [29.3 kB] 1279s Get:249 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 1279s Get:250 http://ftpmaster.internal/ubuntu plucky/main armhf telnet all 0.17+2.5-6ubuntu1 [3694 B] 1279s Get:251 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-standard armhf 1.547 [11.4 kB] 1279s Get:252 http://ftpmaster.internal/ubuntu plucky/main armhf ufw all 0.36.2-9 [170 kB] 1279s Get:253 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2025.01.14-1 [223 kB] 1279s Get:254 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 1279s Get:255 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 1279s Get:256 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.44-2ubuntu1 [74.3 kB] 1279s Get:257 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.44-2ubuntu1 [77.6 kB] 1279s Get:258 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.44-2ubuntu1 [995 kB] 1280s Get:259 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.44-2ubuntu1 [405 kB] 1280s Get:260 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.44-2ubuntu1 [3234 B] 1280s Get:261 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.44-2ubuntu1 [215 kB] 1280s Get:262 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.44-2ubuntu1 [12.4 kB] 1280s Get:263 http://ftpmaster.internal/ubuntu plucky/main armhf btrfs-progs armhf 6.12-1build1 [884 kB] 1280s Get:264 http://ftpmaster.internal/ubuntu plucky/main armhf python3-certifi all 2025.1.31+ds-1 [9816 B] 1280s Get:265 http://ftpmaster.internal/ubuntu plucky/main armhf python3-chardet all 5.2.0+dfsg-2 [116 kB] 1280s Get:266 http://ftpmaster.internal/ubuntu plucky/main armhf python3-idna all 3.10-1 [47.4 kB] 1280s Get:267 http://ftpmaster.internal/ubuntu plucky/main armhf python3-urllib3 all 2.3.0-1 [94.0 kB] 1280s Get:268 http://ftpmaster.internal/ubuntu plucky/main armhf python3-requests all 2.32.3+dfsg-4ubuntu1 [52.9 kB] 1280s Get:269 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2 [109 kB] 1280s Get:270 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 1280s Get:271 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 1280s Get:272 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 25.1.0-1 [50.4 kB] 1280s Get:273 http://ftpmaster.internal/ubuntu plucky/main armhf python3-referencing all 0.35.1-2ubuntu1 [21.9 kB] 1280s Get:274 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonschema all 4.19.2-6ubuntu1 [65.5 kB] 1280s Get:275 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jwt all 2.10.1-2 [21.0 kB] 1280s Get:276 http://ftpmaster.internal/ubuntu plucky/main armhf python3-oauthlib all 3.2.2-3 [89.9 kB] 1280s Get:277 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init-base all 25.1-0ubuntu1 [616 kB] 1280s Get:278 http://ftpmaster.internal/ubuntu plucky/main armhf cryptsetup-bin armhf 2:2.7.5-1ubuntu2 [220 kB] 1280s Get:279 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [247 kB] 1280s Get:280 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [335 kB] 1280s Get:281 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-dev all 1.22.11ubuntu4 [1088 kB] 1280s Get:282 http://ftpmaster.internal/ubuntu plucky/main armhf libdpkg-perl all 1.22.11ubuntu4 [279 kB] 1280s Get:283 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 1280s Get:284 http://ftpmaster.internal/ubuntu plucky/main armhf lto-disabled-list all 56 [12.4 kB] 1280s Get:285 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive13t64 armhf 3.7.7-0ubuntu1 [335 kB] 1280s Get:286 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 1280s Get:287 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 1280s Get:288 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.6-3 [5155 kB] 1280s Get:289 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.6-3 [125 kB] 1280s Get:290 http://ftpmaster.internal/ubuntu plucky/main armhf libprotobuf-c1 armhf 1.5.1-1ubuntu1 [18.1 kB] 1280s Get:291 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 1280s Get:292 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 1280s Get:293 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-packagekitglib-1.0 armhf 1.3.0-3build1 [25.5 kB] 1280s Get:294 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu22 [66.4 kB] 1280s Get:295 http://ftpmaster.internal/ubuntu plucky/main armhf htop armhf 3.3.0-5 [140 kB] 1280s Get:296 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-utils3 armhf 3.3.0-1 [17.5 kB] 1280s Get:297 http://ftpmaster.internal/ubuntu plucky/main armhf libnspr4 armhf 2:4.36-1ubuntu1 [94.5 kB] 1280s Get:298 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.108-1ubuntu1 [1317 kB] 1280s Get:299 http://ftpmaster.internal/ubuntu plucky/main armhf libgpgme11t64 armhf 1.24.2-1ubuntu1 [125 kB] 1280s Get:300 http://ftpmaster.internal/ubuntu plucky/main armhf libvolume-key1 armhf 0.3.12-9 [39.1 kB] 1280s Get:301 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-crypto3 armhf 3.3.0-1 [22.4 kB] 1280s Get:302 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-fs3 armhf 3.3.0-1 [34.5 kB] 1280s Get:303 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-loop3 armhf 3.3.0-1 [6594 B] 1280s Get:304 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-mdraid3 armhf 3.3.0-1 [13.4 kB] 1280s Get:305 http://ftpmaster.internal/ubuntu plucky/main armhf libnvme1t64 armhf 1.11.1-2 [73.6 kB] 1281s Get:306 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-nvme3 armhf 3.3.0-1 [17.7 kB] 1281s Get:307 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-part3 armhf 3.3.0-1 [16.6 kB] 1281s Get:308 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-swap3 armhf 3.3.0-1 [9010 B] 1281s Get:309 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev3 armhf 3.3.0-1 [44.4 kB] 1281s Get:310 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 1281s Get:311 http://ftpmaster.internal/ubuntu plucky/main armhf libgudev-1.0-0 armhf 1:238-6 [13.7 kB] 1281s Get:312 http://ftpmaster.internal/ubuntu plucky/main armhf libicu76 armhf 76.1-1ubuntu2 [10.8 MB] 1281s Get:313 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules armhf 2.1.28+dfsg1-8build1 [62.7 kB] 1281s Get:314 http://ftpmaster.internal/ubuntu plucky/main armhf udisks2 armhf 2.10.1-11ubuntu2 [278 kB] 1281s Get:315 http://ftpmaster.internal/ubuntu plucky/main armhf libudisks2-0 armhf 2.10.1-11ubuntu2 [142 kB] 1281s Get:316 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-35 [45.6 kB] 1281s Get:317 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15 all 6.12.0-15.15 [14.1 MB] 1282s Get:318 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15-generic armhf 6.12.0-15.15 [1414 kB] 1282s Get:319 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-generic armhf 6.12.0-15.15+1 [10.8 kB] 1282s Get:320 http://ftpmaster.internal/ubuntu plucky/main armhf pollinate all 4.33-4ubuntu2 [12.4 kB] 1282s Get:321 http://ftpmaster.internal/ubuntu plucky/main armhf python3-babel all 2.17.0-1 [101 kB] 1282s Get:322 http://ftpmaster.internal/ubuntu plucky/main armhf python-babel-localedata all 2.17.0-1 [6678 kB] 1282s Get:323 http://ftpmaster.internal/ubuntu plucky/main armhf python3-more-itertools all 10.6.0-1 [57.7 kB] 1282s Get:324 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 25.0.0-1 [46.1 kB] 1282s Get:325 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 1282s Get:326 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 1282s Get:327 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.109 [16.5 kB] 1282s Get:328 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.109 [31.0 kB] 1282s Get:329 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 1282s Get:330 http://ftpmaster.internal/ubuntu plucky/main armhf tmux armhf 3.5a-3 [406 kB] 1282s Get:331 http://ftpmaster.internal/ubuntu plucky/main armhf unattended-upgrades all 2.12ubuntu4 [58.5 kB] 1282s Get:332 http://ftpmaster.internal/ubuntu plucky/main armhf xfsprogs armhf 6.12.0-1ubuntu1 [958 kB] 1282s Get:333 http://ftpmaster.internal/ubuntu plucky/main armhf zstd armhf 1.5.6+dfsg-2 [690 kB] 1282s Get:334 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init all 25.1-0ubuntu1 [2088 B] 1282s Get:335 http://ftpmaster.internal/ubuntu plucky/main armhf kpartx armhf 0.9.9-1ubuntu4 [35.0 kB] 1282s Get:336 http://ftpmaster.internal/ubuntu plucky/main armhf multipath-tools armhf 0.9.9-1ubuntu4 [294 kB] 1284s Preconfiguring packages ... 1286s Fetched 148 MB in 9s (15.5 MB/s) 1286s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 1286s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 1286s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 1286s Selecting previously unselected package gcc-15-base:armhf. 1286s Preparing to unpack .../gcc-15-base_15-20250213-1ubuntu1_armhf.deb ... 1286s Unpacking gcc-15-base:armhf (15-20250213-1ubuntu1) ... 1286s Setting up gcc-15-base:armhf (15-20250213-1ubuntu1) ... 1286s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1286s Preparing to unpack .../libgcc-s1_15-20250213-1ubuntu1_armhf.deb ... 1286s Unpacking libgcc-s1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 1286s Setting up libgcc-s1:armhf (15-20250213-1ubuntu1) ... 1286s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1286s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 1286s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1287s Setting up libc6:armhf (2.40-4ubuntu1) ... 1287s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1287s Preparing to unpack .../libcrypt1_1%3a4.4.38-1_armhf.deb ... 1287s Unpacking libcrypt1:armhf (1:4.4.38-1) over (1:4.4.36-5) ... 1287s Setting up libcrypt1:armhf (1:4.4.38-1) ... 1287s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1287s Preparing to unpack .../base-files_13.6ubuntu1_armhf.deb ... 1287s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 1287s Setting up base-files (13.6ubuntu1) ... 1287s Updating /root/.profile to current default. 1288s motd-news.service is a disabled or a static unit not running, not starting it. 1288s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1288s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 1288s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 1288s Setting up bash (5.2.37-1ubuntu1) ... 1288s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 1288s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1288s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_armhf.deb ... 1288s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu1) ... 1288s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 1288s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1288s Preparing to unpack .../coreutils_9.5-1ubuntu1_armhf.deb ... 1288s Unpacking coreutils (9.5-1ubuntu1) over (9.4-3.1ubuntu1) ... 1289s Setting up coreutils (9.5-1ubuntu1) ... 1289s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1289s Preparing to unpack .../dash_0.5.12-12ubuntu1_armhf.deb ... 1289s Unpacking dash (0.5.12-12ubuntu1) over (0.5.12-9ubuntu1) ... 1289s Setting up dash (0.5.12-12ubuntu1) ... 1289s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1289s Preparing to unpack .../diffutils_1%3a3.10-2_armhf.deb ... 1289s Unpacking diffutils (1:3.10-2) over (1:3.10-1build1) ... 1289s Setting up diffutils (1:3.10-2) ... 1289s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1289s Preparing to unpack .../libxxhash0_0.8.3-2_armhf.deb ... 1289s Unpacking libxxhash0:armhf (0.8.3-2) over (0.8.2-2build1) ... 1289s Setting up libxxhash0:armhf (0.8.3-2) ... 1289s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1289s Preparing to unpack .../liblz4-1_1.10.0-3_armhf.deb ... 1289s Unpacking liblz4-1:armhf (1.10.0-3) over (1.9.4-3) ... 1289s Setting up liblz4-1:armhf (1.10.0-3) ... 1289s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1289s Preparing to unpack .../libssl3t64_3.4.1-1ubuntu1_armhf.deb ... 1289s Unpacking libssl3t64:armhf (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 1289s Selecting previously unselected package openssl-provider-legacy. 1289s Preparing to unpack .../openssl-provider-legacy_3.4.1-1ubuntu1_armhf.deb ... 1289s Unpacking openssl-provider-legacy (3.4.1-1ubuntu1) ... 1289s Setting up libssl3t64:armhf (3.4.1-1ubuntu1) ... 1289s Setting up openssl-provider-legacy (3.4.1-1ubuntu1) ... 1289s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 1289s Preparing to unpack .../libzstd1_1.5.6+dfsg-2_armhf.deb ... 1289s Unpacking libzstd1:armhf (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 1290s Setting up libzstd1:armhf (1.5.6+dfsg-2) ... 1290s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 1290s Preparing to unpack .../libstdc++6_15-20250213-1ubuntu1_armhf.deb ... 1290s Unpacking libstdc++6:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 1290s Setting up libstdc++6:armhf (15-20250213-1ubuntu1) ... 1290s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 1290s Preparing to unpack .../0-systemd-timesyncd_257.2-3ubuntu1_armhf.deb ... 1290s Unpacking systemd-timesyncd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1290s Preparing to unpack .../1-dbus-session-bus-common_1.16.0-1ubuntu1_all.deb ... 1290s Unpacking dbus-session-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1290s Preparing to unpack .../2-systemd-sysv_257.2-3ubuntu1_armhf.deb ... 1290s Unpacking systemd-sysv (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1290s Preparing to unpack .../3-libpam-systemd_257.2-3ubuntu1_armhf.deb ... 1290s Unpacking libpam-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1290s Preparing to unpack .../4-dbus-user-session_1.16.0-1ubuntu1_armhf.deb ... 1290s Unpacking dbus-user-session (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1290s Preparing to unpack .../5-libapparmor1_4.1.0~beta5-0ubuntu5_armhf.deb ... 1290s Unpacking libapparmor1:armhf (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 1290s Preparing to unpack .../6-libcap-ng0_0.8.5-4_armhf.deb ... 1290s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 1290s Setting up libcap-ng0:armhf (0.8.5-4) ... 1290s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 1290s Preparing to unpack .../libselinux1_3.7-3ubuntu2_armhf.deb ... 1290s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 1290s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 1290s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 1290s Preparing to unpack .../0-dbus-system-bus-common_1.16.0-1ubuntu1_all.deb ... 1290s Unpacking dbus-system-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1290s Preparing to unpack .../1-dbus-bin_1.16.0-1ubuntu1_armhf.deb ... 1290s Unpacking dbus-bin (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1290s Preparing to unpack .../2-dbus_1.16.0-1ubuntu1_armhf.deb ... 1290s Unpacking dbus (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1290s Preparing to unpack .../3-dbus-daemon_1.16.0-1ubuntu1_armhf.deb ... 1290s Unpacking dbus-daemon (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1291s Preparing to unpack .../4-libdbus-1-3_1.16.0-1ubuntu1_armhf.deb ... 1291s Unpacking libdbus-1-3:armhf (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1291s Preparing to unpack .../5-systemd-resolved_257.2-3ubuntu1_armhf.deb ... 1291s Unpacking systemd-resolved (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1291s Preparing to unpack .../6-libncurses6_6.5+20250125-2_armhf.deb ... 1291s Unpacking libncurses6:armhf (6.5+20250125-2) over (6.5-2) ... 1291s Preparing to unpack .../7-libncursesw6_6.5+20250125-2_armhf.deb ... 1291s Unpacking libncursesw6:armhf (6.5+20250125-2) over (6.5-2) ... 1291s Preparing to unpack .../8-libtinfo6_6.5+20250125-2_armhf.deb ... 1291s Unpacking libtinfo6:armhf (6.5+20250125-2) over (6.5-2) ... 1291s Setting up libtinfo6:armhf (6.5+20250125-2) ... 1291s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 1291s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_armhf.deb ... 1291s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1291s Preparing to unpack .../eject_2.40.2-14ubuntu1_armhf.deb ... 1291s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1291s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_armhf.deb ... 1291s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1291s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_armhf.deb ... 1291s Unpacking libblkid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1291s Setting up libblkid1:armhf (2.40.2-14ubuntu1) ... 1291s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 1291s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_armhf.deb ... 1291s Unpacking libmount1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1291s Setting up libmount1:armhf (2.40.2-14ubuntu1) ... 1291s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 1291s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_armhf.deb ... 1291s Unpacking libsmartcols1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1291s Setting up libsmartcols1:armhf (2.40.2-14ubuntu1) ... 1291s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 1291s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_armhf.deb ... 1291s Unpacking libuuid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1291s Setting up libuuid1:armhf (2.40.2-14ubuntu1) ... 1291s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 1292s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_armhf.deb ... 1292s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1292s Setting up util-linux (2.40.2-14ubuntu1) ... 1292s fstrim.service is a disabled or a static unit not running, not starting it. 1292s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 1292s Preparing to unpack .../0-uuid-runtime_2.40.2-14ubuntu1_armhf.deb ... 1292s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1293s Preparing to unpack .../1-libfdisk1_2.40.2-14ubuntu1_armhf.deb ... 1293s Unpacking libfdisk1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1293s Preparing to unpack .../2-mount_2.40.2-14ubuntu1_armhf.deb ... 1293s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1293s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 1293s Unpacking readline-common (8.2-6) over (8.2-5) ... 1293s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 1293s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 1293s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 1293s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 1293s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 1293s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 1293s Preparing to unpack .../5-systemd-cryptsetup_257.2-3ubuntu1_armhf.deb ... 1293s Unpacking systemd-cryptsetup (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1293s Preparing to unpack .../6-libsystemd-shared_257.2-3ubuntu1_armhf.deb ... 1293s Unpacking libsystemd-shared:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1293s Preparing to unpack .../7-libnss-systemd_257.2-3ubuntu1_armhf.deb ... 1293s Unpacking libnss-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1293s Setting up libsystemd-shared:armhf (257.2-3ubuntu1) ... 1293s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 1293s Preparing to unpack .../systemd_257.2-3ubuntu1_armhf.deb ... 1293s Unpacking systemd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1294s Preparing to unpack .../udev_257.2-3ubuntu1_armhf.deb ... 1294s Unpacking udev (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1294s Preparing to unpack .../libudev1_257.2-3ubuntu1_armhf.deb ... 1294s Unpacking libudev1:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1294s Setting up libudev1:armhf (257.2-3ubuntu1) ... 1294s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1294s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.201-1ubuntu1_armhf.deb ... 1294s Unpacking libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 1294s Preparing to unpack .../libcryptsetup12_2%3a2.7.5-1ubuntu2_armhf.deb ... 1294s Unpacking libcryptsetup12:armhf (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 1294s Preparing to unpack .../libsystemd0_257.2-3ubuntu1_armhf.deb ... 1294s Unpacking libsystemd0:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1294s Setting up libsystemd0:armhf (257.2-3ubuntu1) ... 1294s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1294s Preparing to unpack .../libapt-pkg6.0t64_2.9.29_armhf.deb ... 1294s Unpacking libapt-pkg6.0t64:armhf (2.9.29) over (2.9.14ubuntu1) ... 1294s Setting up libapt-pkg6.0t64:armhf (2.9.29) ... 1294s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1294s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 1294s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 1294s Setting up tar (1.35+dfsg-3.1) ... 1294s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1294s Preparing to unpack .../dpkg_1.22.11ubuntu4_armhf.deb ... 1294s Unpacking dpkg (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 1294s Setting up dpkg (1.22.11ubuntu4) ... 1295s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1295s Preparing to unpack .../gzip_1.13-1ubuntu2_armhf.deb ... 1295s Unpacking gzip (1.13-1ubuntu2) over (1.12-1.1ubuntu1) ... 1295s Setting up gzip (1.13-1ubuntu2) ... 1295s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1295s Preparing to unpack .../ncurses-bin_6.5+20250125-2_armhf.deb ... 1295s Unpacking ncurses-bin (6.5+20250125-2) over (6.5-2) ... 1295s Setting up ncurses-bin (6.5+20250125-2) ... 1295s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1295s Preparing to unpack .../perl_5.40.1-2_armhf.deb ... 1295s Unpacking perl (5.40.1-2) over (5.40.0-8) ... 1295s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ... 1295s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ... 1296s Preparing to unpack .../libperl5.40_5.40.1-2_armhf.deb ... 1296s Unpacking libperl5.40:armhf (5.40.1-2) over (5.40.0-8) ... 1296s Preparing to unpack .../perl-base_5.40.1-2_armhf.deb ... 1296s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ... 1297s Setting up perl-base (5.40.1-2) ... 1297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1297s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 1297s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 1297s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 1297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1297s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 1297s Unpacking base-passwd (3.6.6) over (3.6.5) ... 1297s Setting up base-passwd (3.6.6) ... 1297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1297s Preparing to unpack .../init-system-helpers_1.68_all.deb ... 1297s Unpacking init-system-helpers (1.68) over (1.67ubuntu1) ... 1297s Setting up init-system-helpers (1.68) ... 1297s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1297s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 1297s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1297s Setting up libc-bin (2.40-4ubuntu1) ... 1298s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1298s Preparing to unpack .../ncurses-base_6.5+20250125-2_all.deb ... 1298s Unpacking ncurses-base (6.5+20250125-2) over (6.5-2) ... 1298s Setting up ncurses-base (6.5+20250125-2) ... 1298s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1298s Preparing to unpack .../0-ncurses-term_6.5+20250125-2_all.deb ... 1298s Unpacking ncurses-term (6.5+20250125-2) over (6.5-2) ... 1298s Preparing to unpack .../1-kbd_2.7.1-2ubuntu1_armhf.deb ... 1298s Unpacking kbd (2.7.1-2ubuntu1) over (2.6.4-2ubuntu3) ... 1298s Preparing to unpack .../2-console-setup-linux_1.226ubuntu3_all.deb ... 1298s Unpacking console-setup-linux (1.226ubuntu3) over (1.226ubuntu2) ... 1299s Preparing to unpack .../3-console-setup_1.226ubuntu3_all.deb ... 1299s Unpacking console-setup (1.226ubuntu3) over (1.226ubuntu2) ... 1299s Preparing to unpack .../4-keyboard-configuration_1.226ubuntu3_all.deb ... 1299s Unpacking keyboard-configuration (1.226ubuntu3) over (1.226ubuntu2) ... 1299s Preparing to unpack .../5-sysvinit-utils_3.14-1ubuntu1_armhf.deb ... 1299s Unpacking sysvinit-utils (3.14-1ubuntu1) over (3.08-6ubuntu3) ... 1299s Setting up sysvinit-utils (3.14-1ubuntu1) ... 1299s Selecting previously unselected package libapt-pkg7.0:armhf. 1299s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 1299s Preparing to unpack .../libapt-pkg7.0_2.9.30ubuntu1_armhf.deb ... 1299s Unpacking libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 1299s Setting up libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 1299s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 1299s Preparing to unpack .../apt_2.9.30ubuntu1_armhf.deb ... 1299s Unpacking apt (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 1299s Setting up apt (2.9.30ubuntu1) ... 1300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1300s Preparing to unpack .../apt-utils_2.9.30ubuntu1_armhf.deb ... 1300s Unpacking apt-utils (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 1300s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 1300s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 1300s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 1300s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 1300s Setting up libgpg-error0:armhf (1.51-3) ... 1300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1300s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 1300s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 1300s Setting up libnpth0t64:armhf (1.8-2) ... 1300s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1300s Preparing to unpack .../00-gpg-wks-client_2.4.4-2ubuntu22_armhf.deb ... 1300s Unpacking gpg-wks-client (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1300s Preparing to unpack .../01-dirmngr_2.4.4-2ubuntu22_armhf.deb ... 1300s Unpacking dirmngr (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1301s Preparing to unpack .../02-gpgsm_2.4.4-2ubuntu22_armhf.deb ... 1301s Unpacking gpgsm (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1301s Preparing to unpack .../03-gnupg-utils_2.4.4-2ubuntu22_armhf.deb ... 1301s Unpacking gnupg-utils (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1301s Preparing to unpack .../04-gpg-agent_2.4.4-2ubuntu22_armhf.deb ... 1301s Unpacking gpg-agent (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1301s Preparing to unpack .../05-gpg_2.4.4-2ubuntu22_armhf.deb ... 1301s Unpacking gpg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1301s Preparing to unpack .../06-gpgconf_2.4.4-2ubuntu22_armhf.deb ... 1301s Unpacking gpgconf (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1301s Preparing to unpack .../07-gnupg_2.4.4-2ubuntu22_all.deb ... 1301s Unpacking gnupg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1301s Preparing to unpack .../08-keyboxd_2.4.4-2ubuntu22_armhf.deb ... 1301s Unpacking keyboxd (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1301s Preparing to unpack .../09-pinentry-curses_1.3.1-2ubuntu2_armhf.deb ... 1301s Unpacking pinentry-curses (1.3.1-2ubuntu2) over (1.3.1-0ubuntu2) ... 1301s Preparing to unpack .../10-libnettle8t64_3.10.1-1_armhf.deb ... 1301s Unpacking libnettle8t64:armhf (3.10.1-1) over (3.10-1) ... 1301s Setting up libnettle8t64:armhf (3.10.1-1) ... 1301s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1301s Preparing to unpack .../libhogweed6t64_3.10.1-1_armhf.deb ... 1301s Unpacking libhogweed6t64:armhf (3.10.1-1) over (3.10-1) ... 1301s Setting up libhogweed6t64:armhf (3.10.1-1) ... 1301s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1301s Preparing to unpack .../libffi8_3.4.7-1_armhf.deb ... 1301s Unpacking libffi8:armhf (3.4.7-1) over (3.4.6-1build1) ... 1301s Setting up libffi8:armhf (3.4.7-1) ... 1301s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1301s Preparing to unpack .../libp11-kit0_0.25.5-2ubuntu3_armhf.deb ... 1301s Unpacking libp11-kit0:armhf (0.25.5-2ubuntu3) over (0.25.5-2ubuntu1) ... 1301s Setting up libp11-kit0:armhf (0.25.5-2ubuntu3) ... 1302s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1302s Preparing to unpack .../libtasn1-6_4.20.0-2_armhf.deb ... 1302s Unpacking libtasn1-6:armhf (4.20.0-2) over (4.19.0-3build1) ... 1302s Setting up libtasn1-6:armhf (4.20.0-2) ... 1302s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1302s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 1302s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 1302s Setting up libunistring5:armhf (1.3-1) ... 1302s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1302s Preparing to unpack .../libgnutls30t64_3.8.9-2ubuntu2_armhf.deb ... 1302s Unpacking libgnutls30t64:armhf (3.8.9-2ubuntu2) over (3.8.8-2ubuntu1) ... 1302s Setting up libgnutls30t64:armhf (3.8.9-2ubuntu2) ... 1302s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1302s Preparing to unpack .../libsasl2-modules-db_2.1.28+dfsg1-8build1_armhf.deb ... 1302s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 1302s Preparing to unpack .../libsasl2-2_2.1.28+dfsg1-8build1_armhf.deb ... 1302s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 1302s Preparing to unpack .../libldap-common_2.6.9+dfsg-1~exp2ubuntu1_all.deb ... 1302s Unpacking libldap-common (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 1302s Preparing to unpack .../libldap2_2.6.9+dfsg-1~exp2ubuntu1_armhf.deb ... 1302s Unpacking libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 1302s Preparing to unpack .../gpgv_2.4.4-2ubuntu22_armhf.deb ... 1302s Unpacking gpgv (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1302s Setting up gpgv (2.4.4-2ubuntu22) ... 1302s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 1302s Preparing to unpack .../0-e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 1302s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1302s Preparing to unpack .../1-logsave_1.47.2-1ubuntu1_armhf.deb ... 1302s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1302s Preparing to unpack .../2-ubuntu-minimal_1.547_armhf.deb ... 1302s Unpacking ubuntu-minimal (1.547) over (1.544) ... 1302s Preparing to unpack .../3-initramfs-tools_0.145ubuntu2_all.deb ... 1302s Unpacking initramfs-tools (0.145ubuntu2) over (0.142ubuntu35) ... 1302s Preparing to unpack .../4-initramfs-tools-core_0.145ubuntu2_all.deb ... 1302s Unpacking initramfs-tools-core (0.145ubuntu2) over (0.142ubuntu35) ... 1303s Preparing to unpack .../5-libext2fs2t64_1.47.2-1ubuntu1_armhf.deb ... 1303s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 1303s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 1303s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 1303s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 1303s Unpacking libext2fs2t64:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1303s Setting up libext2fs2t64:armhf (1.47.2-1ubuntu1) ... 1303s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 1303s Preparing to unpack .../e2fsprogs_1.47.2-1ubuntu1_armhf.deb ... 1303s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1303s Preparing to unpack .../dhcpcd-base_1%3a10.1.0-7_armhf.deb ... 1303s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-2) ... 1303s Setting up libapparmor1:armhf (4.1.0~beta5-0ubuntu5) ... 1303s Setting up mount (2.40.2-14ubuntu1) ... 1303s Setting up systemd (257.2-3ubuntu1) ... 1303s Installing new version of config file /etc/systemd/logind.conf ... 1303s Installing new version of config file /etc/systemd/sleep.conf ... 1303s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1303s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 1303s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1304s Setting up systemd-sysv (257.2-3ubuntu1) ... 1304s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 1304s Preparing to unpack .../00-init_1.68_armhf.deb ... 1304s Unpacking init (1.68) over (1.67ubuntu1) ... 1304s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 1304s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 1304s Preparing to unpack .../02-iptables_1.8.11-2ubuntu1_armhf.deb ... 1304s Unpacking iptables (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 1304s Preparing to unpack .../03-libip4tc2_1.8.11-2ubuntu1_armhf.deb ... 1304s Unpacking libip4tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 1304s Preparing to unpack .../04-libip6tc2_1.8.11-2ubuntu1_armhf.deb ... 1304s Unpacking libip6tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 1304s Preparing to unpack .../05-libnftnl11_1.2.8-1_armhf.deb ... 1304s Unpacking libnftnl11:armhf (1.2.8-1) over (1.2.7-1) ... 1304s Preparing to unpack .../06-libxtables12_1.8.11-2ubuntu1_armhf.deb ... 1304s Unpacking libxtables12:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 1304s Preparing to unpack .../07-iproute2_6.13.0-1ubuntu1_armhf.deb ... 1305s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 1305s Preparing to unpack .../08-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 1305s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1305s Preparing to unpack .../09-locales_2.40-4ubuntu1_all.deb ... 1305s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1305s Selecting previously unselected package login.defs. 1305s Preparing to unpack .../10-login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 1305s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 1305s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 1305s Setting up login.defs (1:4.16.0-7ubuntu1) ... 1305s Installing new version of config file /etc/login.defs ... 1305s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60022 files and directories currently installed.) 1305s Preparing to unpack .../0-login_1%3a4.16.0-2+really2.40.2-14ubuntu1_armhf.deb ... 1306s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 1306s Preparing to unpack .../1-mawk_1.3.4.20250131-1_armhf.deb ... 1306s Unpacking mawk (1.3.4.20250131-1) over (1.3.4.20240905-1) ... 1306s Preparing to unpack .../2-netcat-openbsd_1.228-1_armhf.deb ... 1306s Unpacking netcat-openbsd (1.228-1) over (1.226-1.1) ... 1306s Selecting previously unselected package libpython3.13-minimal:armhf. 1306s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-1_armhf.deb ... 1306s Unpacking libpython3.13-minimal:armhf (3.13.2-1) ... 1306s Selecting previously unselected package python3.13-minimal. 1306s Preparing to unpack .../4-python3.13-minimal_3.13.2-1_armhf.deb ... 1306s Unpacking python3.13-minimal (3.13.2-1) ... 1306s Preparing to unpack .../5-python3-cryptography_43.0.0-1_armhf.deb ... 1306s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 1306s Setting up libpython3.13-minimal:armhf (3.13.2-1) ... 1306s Setting up python3.13-minimal (3.13.2-1) ... 1308s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 1308s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 1308s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1308s Setting up python3-minimal (3.13.1-1~exp2) ... 1308s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 1308s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 1308s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1308s Selecting previously unselected package python3-bcrypt. 1308s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 1308s Unpacking python3-bcrypt (4.2.0-2.1) ... 1308s Preparing to unpack .../02-tzdata_2025a-2ubuntu1_all.deb ... 1308s Unpacking tzdata (2025a-2ubuntu1) over (2024b-1ubuntu2) ... 1308s Selecting previously unselected package libpython3.13-stdlib:armhf. 1308s Preparing to unpack .../03-libpython3.13-stdlib_3.13.2-1_armhf.deb ... 1308s Unpacking libpython3.13-stdlib:armhf (3.13.2-1) ... 1309s Selecting previously unselected package python3.13. 1309s Preparing to unpack .../04-python3.13_3.13.2-1_armhf.deb ... 1309s Unpacking python3.13 (3.13.2-1) ... 1309s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 1309s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1309s Preparing to unpack .../06-gir1.2-girepository-2.0_1.82.0-4_armhf.deb ... 1309s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-4) over (1.82.0-2) ... 1309s Preparing to unpack .../07-gir1.2-glib-2.0_2.83.4-1_armhf.deb ... 1309s Unpacking gir1.2-glib-2.0:armhf (2.83.4-1) over (2.82.2-3) ... 1309s Preparing to unpack .../08-libgirepository-1.0-1_1.82.0-4_armhf.deb ... 1309s Unpacking libgirepository-1.0-1:armhf (1.82.0-4) over (1.82.0-2) ... 1309s Preparing to unpack .../09-libglib2.0-data_2.83.4-1_all.deb ... 1309s Unpacking libglib2.0-data (2.83.4-1) over (2.82.2-3) ... 1309s Preparing to unpack .../10-libglib2.0-bin_2.83.4-1_armhf.deb ... 1309s Unpacking libglib2.0-bin (2.83.4-1) over (2.82.2-3) ... 1309s Preparing to unpack .../11-libatomic1_15-20250213-1ubuntu1_armhf.deb ... 1309s Unpacking libatomic1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 1309s Preparing to unpack .../12-libglib2.0-0t64_2.83.4-1_armhf.deb ... 1309s Unpacking libglib2.0-0t64:armhf (2.83.4-1) over (2.82.2-3) ... 1309s Preparing to unpack .../13-netplan-generator_1.1.2-2ubuntu1_armhf.deb ... 1309s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 1309s Unpacking netplan-generator (1.1.2-2ubuntu1) over (1.1.1-1) ... 1309s Preparing to unpack .../14-libyaml-0-2_0.2.5-2_armhf.deb ... 1309s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 1309s Preparing to unpack .../15-python3-netplan_1.1.2-2ubuntu1_armhf.deb ... 1309s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1309s for fn in glob1(directory, "%s.*" % fname): 1309s Unpacking python3-netplan (1.1.2-2ubuntu1) over (1.1.1-1) ... 1309s Preparing to unpack .../16-netplan.io_1.1.2-2ubuntu1_armhf.deb ... 1309s Unpacking netplan.io (1.1.2-2ubuntu1) over (1.1.1-1) ... 1310s Preparing to unpack .../17-libnetplan1_1.1.2-2ubuntu1_armhf.deb ... 1310s Unpacking libnetplan1:armhf (1.1.2-2ubuntu1) over (1.1.1-1) ... 1310s Preparing to unpack .../18-ethtool_1%3a6.11-1_armhf.deb ... 1310s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 1310s Preparing to unpack .../19-libsemanage-common_3.7-2.1_all.deb ... 1310s Unpacking libsemanage-common (3.7-2.1) over (3.7-2build1) ... 1310s Setting up libsemanage-common (3.7-2.1) ... 1310s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 1310s Preparing to unpack .../libsemanage2_3.7-2.1_armhf.deb ... 1310s Unpacking libsemanage2:armhf (3.7-2.1) over (3.7-2build1) ... 1310s Setting up libsemanage2:armhf (3.7-2.1) ... 1310s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 1310s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_armhf.deb ... 1310s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 1310s Setting up passwd (1:4.16.0-7ubuntu1) ... 1310s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60762 files and directories currently installed.) 1310s Preparing to unpack .../000-ubuntu-pro-client-l10n_34.1.3_armhf.deb ... 1310s Unpacking ubuntu-pro-client-l10n (34.1.3) over (34.1.2) ... 1310s Preparing to unpack .../001-python-apt-common_2.9.9_all.deb ... 1310s Unpacking python-apt-common (2.9.9) over (2.9.0ubuntu2) ... 1310s Preparing to unpack .../002-python3-apt_2.9.9_armhf.deb ... 1310s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1310s for fn in glob1(directory, "%s.*" % fname): 1310s Unpacking python3-apt (2.9.9) over (2.9.0ubuntu2) ... 1311s Preparing to unpack .../003-distro-info_1.13_armhf.deb ... 1311s Unpacking distro-info (1.13) over (1.12) ... 1311s Preparing to unpack .../004-ubuntu-pro-client_34.1.3_armhf.deb ... 1311s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1311s for fn in glob1(directory, "%s.*" % fname): 1311s Unpacking ubuntu-pro-client (34.1.3) over (34.1.2) ... 1311s Preparing to unpack .../005-vim-tiny_2%3a9.1.0967-1ubuntu2_armhf.deb ... 1311s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 1311s Preparing to unpack .../006-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ... 1311s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 1311s Preparing to unpack .../007-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 1311s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1311s for fn in glob1(directory, "%s.*" % fname): 1311s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1311s Preparing to unpack .../008-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 1311s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1311s Preparing to unpack .../009-whiptail_0.52.24-4ubuntu1_armhf.deb ... 1311s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1311s Preparing to unpack .../010-dracut-install_106-2ubuntu1_armhf.deb ... 1311s Unpacking dracut-install (106-2ubuntu1) over (105-2ubuntu3) ... 1311s Preparing to unpack .../011-initramfs-tools-bin_0.145ubuntu2_armhf.deb ... 1311s Unpacking initramfs-tools-bin (0.145ubuntu2) over (0.142ubuntu35) ... 1311s Preparing to unpack .../012-busybox-initramfs_1%3a1.37.0-4ubuntu1_armhf.deb ... 1311s Unpacking busybox-initramfs (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 1311s Preparing to unpack .../013-python3.12_3.12.9-1_armhf.deb ... 1312s Unpacking python3.12 (3.12.9-1) over (3.12.7-3) ... 1312s Preparing to unpack .../014-libpython3.12-stdlib_3.12.9-1_armhf.deb ... 1312s Unpacking libpython3.12-stdlib:armhf (3.12.9-1) over (3.12.7-3) ... 1312s Preparing to unpack .../015-python3.12-minimal_3.12.9-1_armhf.deb ... 1312s Unpacking python3.12-minimal (3.12.9-1) over (3.12.7-3) ... 1312s Preparing to unpack .../016-libpython3.12-minimal_3.12.9-1_armhf.deb ... 1312s Unpacking libpython3.12-minimal:armhf (3.12.9-1) over (3.12.7-3) ... 1312s Preparing to unpack .../017-cron_3.0pl1-192ubuntu1_armhf.deb ... 1312s Unpacking cron (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 1312s Preparing to unpack .../018-rsync_3.4.1-0syncable1_armhf.deb ... 1312s Unpacking rsync (3.4.1-0syncable1) over (3.3.0-1) ... 1312s Preparing to unpack .../019-python3-lazr.uri_1.0.6-5_all.deb ... 1313s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1313s for fn in glob1(directory, "%s.*" % fname): 1313s Unpacking python3-lazr.uri (1.0.6-5) over (1.0.6-4) ... 1313s Preparing to unpack .../020-python3-launchpadlib_2.1.0-1_all.deb ... 1313s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1313s for fn in glob1(directory, "%s.*" % fname): 1313s Unpacking python3-launchpadlib (2.1.0-1) over (2.0.0-1) ... 1313s Preparing to unpack .../021-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ... 1313s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1313s for fn in glob1(directory, "%s.*" % fname): 1313s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 1313s Preparing to unpack .../022-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 1313s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1313s for fn in glob1(directory, "%s.*" % fname): 1313s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 1313s Preparing to unpack .../023-python3-gi_3.50.0-4_armhf.deb ... 1313s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1313s for fn in glob1(directory, "%s.*" % fname): 1313s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 1313s Preparing to unpack .../024-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ... 1313s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 1313s Preparing to unpack .../025-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 1313s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 1313s Preparing to unpack .../026-gcc-14-base_14.2.0-17ubuntu3_armhf.deb ... 1313s Unpacking gcc-14-base:armhf (14.2.0-17ubuntu3) over (14.2.0-8ubuntu1) ... 1313s Preparing to unpack .../027-libcom-err2_1.47.2-1ubuntu1_armhf.deb ... 1313s Unpacking libcom-err2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1314s Preparing to unpack .../028-libss2_1.47.2-1ubuntu1_armhf.deb ... 1314s Unpacking libss2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1314s Preparing to unpack .../029-openssl_3.4.1-1ubuntu1_armhf.deb ... 1314s Unpacking openssl (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 1314s Preparing to unpack .../030-ca-certificates_20241223_all.deb ... 1314s Unpacking ca-certificates (20241223) over (20240203) ... 1314s Preparing to unpack .../031-krb5-locales_1.21.3-4ubuntu1_all.deb ... 1314s Unpacking krb5-locales (1.21.3-4ubuntu1) over (1.21.3-3) ... 1314s Preparing to unpack .../032-libfribidi0_1.0.16-1_armhf.deb ... 1314s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 1314s Preparing to unpack .../033-libgssapi-krb5-2_1.21.3-4ubuntu1_armhf.deb ... 1314s Unpacking libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 1314s Preparing to unpack .../034-libkrb5-3_1.21.3-4ubuntu1_armhf.deb ... 1314s Unpacking libkrb5-3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 1314s Preparing to unpack .../035-libkrb5support0_1.21.3-4ubuntu1_armhf.deb ... 1314s Unpacking libkrb5support0:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 1314s Preparing to unpack .../036-libk5crypto3_1.21.3-4ubuntu1_armhf.deb ... 1314s Unpacking libk5crypto3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 1314s Preparing to unpack .../037-libicu74_74.2-1ubuntu6_armhf.deb ... 1314s Unpacking libicu74:armhf (74.2-1ubuntu6) over (74.2-1ubuntu4) ... 1315s Preparing to unpack .../038-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu3_armhf.deb ... 1315s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) over (2.12.7+dfsg-3) ... 1315s Preparing to unpack .../039-python3-pygments_2.18.0+dfsg-2_all.deb ... 1315s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1315s for fn in glob1(directory, "%s.*" % fname): 1315s Unpacking python3-pygments (2.18.0+dfsg-2) over (2.18.0+dfsg-1ubuntu1) ... 1315s Preparing to unpack .../040-python3-rich_13.9.4-1_all.deb ... 1315s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1315s for fn in glob1(directory, "%s.*" % fname): 1315s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 1315s Preparing to unpack .../041-ucf_3.0050_all.deb ... 1315s Unpacking ucf (3.0050) over (3.0043+nmu1) ... 1315s Preparing to unpack .../042-rsyslog_8.2412.0-2ubuntu1_armhf.deb ... 1315s Unpacking rsyslog (8.2412.0-2ubuntu1) over (8.2406.0-1ubuntu2) ... 1316s Preparing to unpack .../043-xxd_2%3a9.1.0967-1ubuntu2_armhf.deb ... 1316s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 1316s Preparing to unpack .../044-apparmor_4.1.0~beta5-0ubuntu5_armhf.deb ... 1317s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 1318s dpkg: warning: unable to delete old directory '/lib/apparmor': Directory not empty 1318s Preparing to unpack .../045-bash-completion_1%3a2.16.0-7_all.deb ... 1318s Unpacking bash-completion (1:2.16.0-7) over (1:2.14.0-2) ... 1318s Selecting previously unselected package libjemalloc2:armhf. 1318s Preparing to unpack .../046-libjemalloc2_5.3.0-2build1_armhf.deb ... 1318s Unpacking libjemalloc2:armhf (5.3.0-2build1) ... 1318s Preparing to unpack .../047-libmaxminddb0_1.12.2-1_armhf.deb ... 1318s Unpacking libmaxminddb0:armhf (1.12.2-1) over (1.11.0-1) ... 1318s Preparing to unpack .../048-liburcu8t64_0.15.1-1_armhf.deb ... 1318s Unpacking liburcu8t64:armhf (0.15.1-1) over (0.14.1-1) ... 1318s Preparing to unpack .../049-bind9-dnsutils_1%3a9.20.4-3ubuntu1_armhf.deb ... 1318s Unpacking bind9-dnsutils (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 1318s Preparing to unpack .../050-bind9-host_1%3a9.20.4-3ubuntu1_armhf.deb ... 1318s Unpacking bind9-host (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 1318s Preparing to unpack .../051-bind9-libs_1%3a9.20.4-3ubuntu1_armhf.deb ... 1318s Unpacking bind9-libs:armhf (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 1318s Preparing to unpack .../052-libedit2_3.1-20250104-1_armhf.deb ... 1318s Unpacking libedit2:armhf (3.1-20250104-1) over (3.1-20240808-1) ... 1318s Preparing to unpack .../053-busybox-static_1%3a1.37.0-4ubuntu1_armhf.deb ... 1318s Unpacking busybox-static (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 1318s Preparing to unpack .../054-cron-daemon-common_3.0pl1-192ubuntu1_all.deb ... 1318s Unpacking cron-daemon-common (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 1318s Preparing to unpack .../055-dmsetup_2%3a1.02.201-1ubuntu1_armhf.deb ... 1318s Unpacking dmsetup (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 1318s Preparing to unpack .../056-ed_1.21-1_armhf.deb ... 1318s Unpacking ed (1.21-1) over (1.20.2-2) ... 1319s Preparing to unpack .../057-gettext-base_0.23.1-1_armhf.deb ... 1319s Unpacking gettext-base (0.23.1-1) over (0.22.5-2) ... 1319s Preparing to unpack .../058-groff-base_1.23.0-7_armhf.deb ... 1319s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 1319s Preparing to unpack .../059-libibverbs1_55.0-1ubuntu1_armhf.deb ... 1319s Unpacking libibverbs1:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 1319s Preparing to unpack .../060-ibverbs-providers_55.0-1ubuntu1_armhf.deb ... 1319s Unpacking ibverbs-providers:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 1319s Preparing to unpack .../061-inetutils-telnet_2%3a2.5-6ubuntu1_armhf.deb ... 1319s Unpacking inetutils-telnet (2:2.5-6ubuntu1) over (2:2.5-5ubuntu1) ... 1319s Preparing to unpack .../062-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 1319s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1319s Preparing to unpack .../063-libcbor0.10_0.10.2-2ubuntu1_armhf.deb ... 1319s Unpacking libcbor0.10:armhf (0.10.2-2ubuntu1) over (0.10.2-1.2ubuntu2) ... 1319s Preparing to unpack .../064-nftables_1.1.1-1build1_armhf.deb ... 1319s Unpacking nftables (1.1.1-1build1) over (1.1.0-2) ... 1319s Preparing to unpack .../065-libnftables1_1.1.1-1build1_armhf.deb ... 1319s Unpacking libnftables1:armhf (1.1.1-1build1) over (1.1.0-2) ... 1319s Preparing to unpack .../066-libpcap0.8t64_1.10.5-2ubuntu1_armhf.deb ... 1319s Unpacking libpcap0.8t64:armhf (1.10.5-2ubuntu1) over (1.10.5-1ubuntu1) ... 1319s Preparing to unpack .../067-libpng16-16t64_1.6.46-4_armhf.deb ... 1319s Unpacking libpng16-16t64:armhf (1.6.46-4) over (1.6.44-2) ... 1319s Preparing to unpack .../068-libxkbcommon0_1.7.0-2_armhf.deb ... 1319s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 1319s Preparing to unpack .../069-libplymouth5_24.004.60-2ubuntu5_armhf.deb ... 1319s Unpacking libplymouth5:armhf (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 1320s Preparing to unpack .../070-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 1320s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1320s Preparing to unpack .../071-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 1320s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1320s Preparing to unpack .../072-libusb-1.0-0_2%3a1.0.27-2_armhf.deb ... 1320s Unpacking libusb-1.0-0:armhf (2:1.0.27-2) over (2:1.0.27-1) ... 1320s Preparing to unpack .../073-libxdmcp6_1%3a1.1.5-1_armhf.deb ... 1320s Unpacking libxdmcp6:armhf (1:1.1.5-1) over (1:1.1.3-0ubuntu6) ... 1320s Preparing to unpack .../074-lshw_02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1_armhf.deb ... 1320s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) over (02.19.git.2021.06.19.996aaad9c7-2ubuntu2) ... 1320s Preparing to unpack .../075-lsof_4.99.4+dfsg-2_armhf.deb ... 1320s Unpacking lsof (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 1320s Preparing to unpack .../076-liblsof0_4.99.4+dfsg-2_armhf.deb ... 1320s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 1320s Preparing to unpack .../077-nano_8.3-1_armhf.deb ... 1320s Unpacking nano (8.3-1) over (8.2-1) ... 1320s Preparing to unpack .../078-pci.ids_0.0~2025.02.12-1_all.deb ... 1320s Unpacking pci.ids (0.0~2025.02.12-1) over (0.0~2024.10.24-1) ... 1320s Preparing to unpack .../079-plymouth-theme-ubuntu-text_24.004.60-2ubuntu5_armhf.deb ... 1320s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 1320s Preparing to unpack .../080-libpackagekit-glib2-18_1.3.0-3build1_armhf.deb ... 1320s Unpacking libpackagekit-glib2-18:armhf (1.3.0-3build1) over (1.3.0-2) ... 1320s Preparing to unpack .../081-packagekit-tools_1.3.0-3build1_armhf.deb ... 1320s Unpacking packagekit-tools (1.3.0-3build1) over (1.3.0-2) ... 1320s Preparing to unpack .../082-polkitd_126-2_armhf.deb ... 1321s Unpacking polkitd (126-2) over (125-2ubuntu1) ... 1321s Preparing to unpack .../083-libpolkit-agent-1-0_126-2_armhf.deb ... 1321s Unpacking libpolkit-agent-1-0:armhf (126-2) over (125-2ubuntu1) ... 1321s Preparing to unpack .../084-libpolkit-gobject-1-0_126-2_armhf.deb ... 1321s Unpacking libpolkit-gobject-1-0:armhf (126-2) over (125-2ubuntu1) ... 1321s Preparing to unpack .../085-libcurl3t64-gnutls_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 1321s Unpacking libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 1321s Preparing to unpack .../086-libappstream5_1.0.4-1_armhf.deb ... 1321s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 1321s Preparing to unpack .../087-libgstreamer1.0-0_1.25.50-1_armhf.deb ... 1321s Unpacking libgstreamer1.0-0:armhf (1.25.50-1) over (1.24.9-1) ... 1321s Preparing to unpack .../088-packagekit_1.3.0-3build1_armhf.deb ... 1321s Unpacking packagekit (1.3.0-3build1) over (1.3.0-2) ... 1321s Preparing to unpack .../089-plymouth_24.004.60-2ubuntu5_armhf.deb ... 1321s Unpacking plymouth (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 1321s Preparing to unpack .../090-powermgmt-base_1.38_all.deb ... 1321s Unpacking powermgmt-base (1.38) over (1.37+nmu1ubuntu1) ... 1321s Preparing to unpack .../091-psmisc_23.7-2_armhf.deb ... 1321s Unpacking psmisc (23.7-2) over (23.7-1build1) ... 1321s Preparing to unpack .../092-publicsuffix_20250108.1153-0.1_all.deb ... 1321s Unpacking publicsuffix (20250108.1153-0.1) over (20231001.0357-0.1) ... 1321s Preparing to unpack .../093-python3-distro-info_1.13_all.deb ... 1321s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1321s for fn in glob1(directory, "%s.*" % fname): 1321s Unpacking python3-distro-info (1.13) over (1.12) ... 1321s Preparing to unpack .../094-python3.13-gdbm_3.13.2-1_armhf.deb ... 1321s Unpacking python3.13-gdbm (3.13.2-1) over (3.13.0-2) ... 1322s Preparing to unpack .../095-python3.12-gdbm_3.12.9-1_armhf.deb ... 1322s Unpacking python3.12-gdbm (3.12.9-1) over (3.12.7-3) ... 1322s Preparing to unpack .../096-python3-gdbm_3.13.1-1_armhf.deb ... 1322s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 1322s Preparing to unpack .../097-telnet_0.17+2.5-6ubuntu1_all.deb ... 1322s Unpacking telnet (0.17+2.5-6ubuntu1) over (0.17+2.5-5ubuntu1) ... 1322s Preparing to unpack .../098-ubuntu-standard_1.547_armhf.deb ... 1322s Unpacking ubuntu-standard (1.547) over (1.544) ... 1322s Preparing to unpack .../099-ufw_0.36.2-9_all.deb ... 1322s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1322s for fn in glob1(directory, "%s.*" % fname): 1322s Unpacking ufw (0.36.2-9) over (0.36.2-8) ... 1322s Preparing to unpack .../100-usb.ids_2025.01.14-1_all.deb ... 1322s Unpacking usb.ids (2025.01.14-1) over (2024.07.04-1) ... 1322s Preparing to unpack .../101-xauth_1%3a1.1.2-1.1_armhf.deb ... 1322s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1322s Preparing to unpack .../102-appstream_1.0.4-1_armhf.deb ... 1322s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 1322s Preparing to unpack .../103-libctf0_2.44-2ubuntu1_armhf.deb ... 1322s Unpacking libctf0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1322s Preparing to unpack .../104-libctf-nobfd0_2.44-2ubuntu1_armhf.deb ... 1322s Unpacking libctf-nobfd0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1322s Preparing to unpack .../105-binutils-arm-linux-gnueabihf_2.44-2ubuntu1_armhf.deb ... 1322s Unpacking binutils-arm-linux-gnueabihf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1322s Preparing to unpack .../106-libbinutils_2.44-2ubuntu1_armhf.deb ... 1322s Unpacking libbinutils:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1322s Preparing to unpack .../107-binutils_2.44-2ubuntu1_armhf.deb ... 1322s Unpacking binutils (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1322s Preparing to unpack .../108-binutils-common_2.44-2ubuntu1_armhf.deb ... 1322s Unpacking binutils-common:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1322s Preparing to unpack .../109-libsframe1_2.44-2ubuntu1_armhf.deb ... 1322s Unpacking libsframe1:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1323s Preparing to unpack .../110-btrfs-progs_6.12-1build1_armhf.deb ... 1323s Unpacking btrfs-progs (6.12-1build1) over (6.6.3-1.2) ... 1323s Preparing to unpack .../111-python3-certifi_2025.1.31+ds-1_all.deb ... 1323s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1323s for fn in glob1(directory, "%s.*" % fname): 1323s Unpacking python3-certifi (2025.1.31+ds-1) over (2024.8.30+dfsg-1) ... 1323s Preparing to unpack .../112-python3-chardet_5.2.0+dfsg-2_all.deb ... 1323s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1323s for fn in glob1(directory, "%s.*" % fname): 1323s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 1323s Preparing to unpack .../113-python3-idna_3.10-1_all.deb ... 1323s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1323s for fn in glob1(directory, "%s.*" % fname): 1323s Unpacking python3-idna (3.10-1) over (3.8-2) ... 1323s Preparing to unpack .../114-python3-urllib3_2.3.0-1_all.deb ... 1323s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1323s for fn in glob1(directory, "%s.*" % fname): 1323s Unpacking python3-urllib3 (2.3.0-1) over (2.0.7-2ubuntu0.1) ... 1323s Preparing to unpack .../115-python3-requests_2.32.3+dfsg-4ubuntu1_all.deb ... 1324s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1324s for fn in glob1(directory, "%s.*" % fname): 1324s Unpacking python3-requests (2.32.3+dfsg-4ubuntu1) over (2.32.3+dfsg-1ubuntu1) ... 1324s Preparing to unpack .../116-python3-jinja2_3.1.5-2_all.deb ... 1324s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1324s for fn in glob1(directory, "%s.*" % fname): 1324s Unpacking python3-jinja2 (3.1.5-2) over (3.1.3-1ubuntu1) ... 1324s Preparing to unpack .../117-python3-json-pointer_2.4-3_all.deb ... 1324s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1324s for fn in glob1(directory, "%s.*" % fname): 1324s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 1324s Preparing to unpack .../118-python3-jsonpatch_1.32-5_all.deb ... 1324s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1324s for fn in glob1(directory, "%s.*" % fname): 1324s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 1324s Preparing to unpack .../119-python3-attr_25.1.0-1_all.deb ... 1324s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1324s for fn in glob1(directory, "%s.*" % fname): 1324s Unpacking python3-attr (25.1.0-1) over (23.2.0-2) ... 1324s Preparing to unpack .../120-python3-referencing_0.35.1-2ubuntu1_all.deb ... 1324s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1324s for fn in glob1(directory, "%s.*" % fname): 1324s Unpacking python3-referencing (0.35.1-2ubuntu1) over (0.35.1-1ubuntu1) ... 1325s Preparing to unpack .../121-python3-jsonschema_4.19.2-6ubuntu1_all.deb ... 1325s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1325s for fn in glob1(directory, "%s.*" % fname): 1325s Unpacking python3-jsonschema (4.19.2-6ubuntu1) over (4.19.2-3ubuntu1) ... 1325s Preparing to unpack .../122-python3-jwt_2.10.1-2_all.deb ... 1325s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1325s for fn in glob1(directory, "%s.*" % fname): 1325s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 1325s Preparing to unpack .../123-python3-oauthlib_3.2.2-3_all.deb ... 1325s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1325s for fn in glob1(directory, "%s.*" % fname): 1325s Unpacking python3-oauthlib (3.2.2-3) over (3.2.2-2) ... 1325s Preparing to unpack .../124-cloud-init-base_25.1-0ubuntu1_all.deb ... 1325s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1325s for fn in glob1(directory, "%s.*" % fname): 1325s Unpacking cloud-init-base (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 1325s dpkg: warning: unable to delete old directory '/lib/systemd/system/sshd-keygen@.service.d': Directory not empty 1325s Preparing to unpack .../125-cryptsetup-bin_2%3a2.7.5-1ubuntu2_armhf.deb ... 1326s Unpacking cryptsetup-bin (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 1326s Preparing to unpack .../126-curl_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 1326s Unpacking curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 1326s Preparing to unpack .../127-libcurl4t64_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 1326s Unpacking libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 1326s Preparing to unpack .../128-dpkg-dev_1.22.11ubuntu4_all.deb ... 1326s Unpacking dpkg-dev (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 1326s Preparing to unpack .../129-libdpkg-perl_1.22.11ubuntu4_all.deb ... 1326s Unpacking libdpkg-perl (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 1326s Preparing to unpack .../130-make_4.4.1-1_armhf.deb ... 1326s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 1326s Preparing to unpack .../131-lto-disabled-list_56_all.deb ... 1326s Unpacking lto-disabled-list (56) over (54) ... 1326s Preparing to unpack .../132-libarchive13t64_3.7.7-0ubuntu1_armhf.deb ... 1326s Unpacking libarchive13t64:armhf (3.7.7-0ubuntu1) over (3.7.4-1.1) ... 1326s Preparing to unpack .../133-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 1326s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 1326s Preparing to unpack .../134-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 1326s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 1326s Preparing to unpack .../135-fwupd_2.0.6-3_armhf.deb ... 1326s Unpacking fwupd (2.0.6-3) over (2.0.2-1) ... 1326s Preparing to unpack .../136-libfwupd3_2.0.6-3_armhf.deb ... 1326s Unpacking libfwupd3:armhf (2.0.6-3) over (2.0.2-1) ... 1326s Preparing to unpack .../137-libprotobuf-c1_1.5.1-1ubuntu1_armhf.deb ... 1326s Unpacking libprotobuf-c1:armhf (1.5.1-1ubuntu1) over (1.4.1-1ubuntu4) ... 1326s Preparing to unpack .../138-libqmi-proxy_1.35.6-1_armhf.deb ... 1326s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 1327s Preparing to unpack .../139-libqmi-glib5_1.35.6-1_armhf.deb ... 1327s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 1327s Preparing to unpack .../140-gir1.2-packagekitglib-1.0_1.3.0-3build1_armhf.deb ... 1327s Unpacking gir1.2-packagekitglib-1.0 (1.3.0-3build1) over (1.3.0-2) ... 1327s Preparing to unpack .../141-gnupg-l10n_2.4.4-2ubuntu22_all.deb ... 1327s Unpacking gnupg-l10n (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1327s Preparing to unpack .../142-htop_3.3.0-5_armhf.deb ... 1327s Unpacking htop (3.3.0-5) over (3.3.0-4build1) ... 1327s Preparing to unpack .../143-libblockdev-utils3_3.3.0-1_armhf.deb ... 1327s Unpacking libblockdev-utils3:armhf (3.3.0-1) over (3.2.1-1) ... 1327s Preparing to unpack .../144-libnspr4_2%3a4.36-1ubuntu1_armhf.deb ... 1327s Unpacking libnspr4:armhf (2:4.36-1ubuntu1) over (2:4.35-1.1ubuntu2) ... 1327s Preparing to unpack .../145-libnss3_2%3a3.108-1ubuntu1_armhf.deb ... 1327s Unpacking libnss3:armhf (2:3.108-1ubuntu1) over (2:3.103-1) ... 1327s Preparing to unpack .../146-libgpgme11t64_1.24.2-1ubuntu1_armhf.deb ... 1327s Unpacking libgpgme11t64:armhf (1.24.2-1ubuntu1) over (1.24.0-2ubuntu1) ... 1327s Preparing to unpack .../147-libvolume-key1_0.3.12-9_armhf.deb ... 1327s Unpacking libvolume-key1:armhf (0.3.12-9) over (0.3.12-8) ... 1327s Preparing to unpack .../148-libblockdev-crypto3_3.3.0-1_armhf.deb ... 1327s Unpacking libblockdev-crypto3:armhf (3.3.0-1) over (3.2.1-1) ... 1327s Preparing to unpack .../149-libblockdev-fs3_3.3.0-1_armhf.deb ... 1327s Unpacking libblockdev-fs3:armhf (3.3.0-1) over (3.2.1-1) ... 1327s Preparing to unpack .../150-libblockdev-loop3_3.3.0-1_armhf.deb ... 1327s Unpacking libblockdev-loop3:armhf (3.3.0-1) over (3.2.1-1) ... 1327s Preparing to unpack .../151-libblockdev-mdraid3_3.3.0-1_armhf.deb ... 1327s Unpacking libblockdev-mdraid3:armhf (3.3.0-1) over (3.2.1-1) ... 1327s Preparing to unpack .../152-libnvme1t64_1.11.1-2_armhf.deb ... 1327s Unpacking libnvme1t64 (1.11.1-2) over (1.11.1-1) ... 1327s Preparing to unpack .../153-libblockdev-nvme3_3.3.0-1_armhf.deb ... 1327s Unpacking libblockdev-nvme3:armhf (3.3.0-1) over (3.2.1-1) ... 1327s Preparing to unpack .../154-libblockdev-part3_3.3.0-1_armhf.deb ... 1327s Unpacking libblockdev-part3:armhf (3.3.0-1) over (3.2.1-1) ... 1327s Preparing to unpack .../155-libblockdev-swap3_3.3.0-1_armhf.deb ... 1327s Unpacking libblockdev-swap3:armhf (3.3.0-1) over (3.2.1-1) ... 1327s Preparing to unpack .../156-libblockdev3_3.3.0-1_armhf.deb ... 1327s Unpacking libblockdev3:armhf (3.3.0-1) over (3.2.1-1) ... 1327s Preparing to unpack .../157-libftdi1-2_1.5-8_armhf.deb ... 1327s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 1327s Preparing to unpack .../158-libgudev-1.0-0_1%3a238-6_armhf.deb ... 1327s Unpacking libgudev-1.0-0:armhf (1:238-6) over (1:238-5ubuntu1) ... 1328s Selecting previously unselected package libicu76:armhf. 1328s Preparing to unpack .../159-libicu76_76.1-1ubuntu2_armhf.deb ... 1328s Unpacking libicu76:armhf (76.1-1ubuntu2) ... 1328s Preparing to unpack .../160-libsasl2-modules_2.1.28+dfsg1-8build1_armhf.deb ... 1328s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 1328s Preparing to unpack .../161-udisks2_2.10.1-11ubuntu2_armhf.deb ... 1328s Unpacking udisks2 (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 1328s Preparing to unpack .../162-libudisks2-0_2.10.1-11ubuntu2_armhf.deb ... 1328s Unpacking libudisks2-0:armhf (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 1328s Preparing to unpack .../163-libwrap0_7.6.q-35_armhf.deb ... 1328s Unpacking libwrap0:armhf (7.6.q-35) over (7.6.q-33) ... 1328s Selecting previously unselected package linux-headers-6.12.0-15. 1328s Preparing to unpack .../164-linux-headers-6.12.0-15_6.12.0-15.15_all.deb ... 1328s Unpacking linux-headers-6.12.0-15 (6.12.0-15.15) ... 1331s Selecting previously unselected package linux-headers-6.12.0-15-generic. 1331s Preparing to unpack .../165-linux-headers-6.12.0-15-generic_6.12.0-15.15_armhf.deb ... 1331s Unpacking linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 1333s Preparing to unpack .../166-linux-headers-generic_6.12.0-15.15+1_armhf.deb ... 1333s Unpacking linux-headers-generic (6.12.0-15.15+1) over (6.11.0-8.8) ... 1333s Preparing to unpack .../167-pollinate_4.33-4ubuntu2_all.deb ... 1333s Unpacking pollinate (4.33-4ubuntu2) over (4.33-4ubuntu1) ... 1333s Preparing to unpack .../168-python3-babel_2.17.0-1_all.deb ... 1333s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1333s for fn in glob1(directory, "%s.*" % fname): 1333s Unpacking python3-babel (2.17.0-1) over (2.16.0-1) ... 1333s Preparing to unpack .../169-python-babel-localedata_2.17.0-1_all.deb ... 1333s Unpacking python-babel-localedata (2.17.0-1) over (2.16.0-1) ... 1334s Preparing to unpack .../170-python3-more-itertools_10.6.0-1_all.deb ... 1334s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1334s for fn in glob1(directory, "%s.*" % fname): 1334s Unpacking python3-more-itertools (10.6.0-1) over (10.5.0-1) ... 1334s Preparing to unpack .../171-python3-openssl_25.0.0-1_all.deb ... 1334s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1334s for fn in glob1(directory, "%s.*" % fname): 1334s Unpacking python3-openssl (25.0.0-1) over (24.2.1-1) ... 1334s Preparing to unpack .../172-python3-pkg-resources_75.6.0-1_all.deb ... 1334s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1334s for fn in glob1(directory, "%s.*" % fname): 1334s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 1334s Preparing to unpack .../173-python3-setuptools_75.6.0-1_all.deb ... 1334s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1334s for fn in glob1(directory, "%s.*" % fname): 1334s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 1335s Preparing to unpack .../174-software-properties-common_0.109_all.deb ... 1335s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1335s for fn in glob1(directory, "%s.*" % fname): 1335s Unpacking software-properties-common (0.109) over (0.105) ... 1335s Preparing to unpack .../175-python3-software-properties_0.109_all.deb ... 1335s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1335s for fn in glob1(directory, "%s.*" % fname): 1335s Unpacking python3-software-properties (0.109) over (0.105) ... 1335s Preparing to unpack .../176-python3-wadllib_2.0.0-2_all.deb ... 1335s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1335s for fn in glob1(directory, "%s.*" % fname): 1335s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 1335s Preparing to unpack .../177-tmux_3.5a-3_armhf.deb ... 1335s Unpacking tmux (3.5a-3) over (3.4-7) ... 1335s Preparing to unpack .../178-unattended-upgrades_2.12ubuntu4_all.deb ... 1335s Unpacking unattended-upgrades (2.12ubuntu4) over (2.9.1+nmu4ubuntu1) ... 1335s dpkg: warning: unable to delete old directory '/lib/systemd/system-sleep': Directory not empty 1335s Preparing to unpack .../179-xfsprogs_6.12.0-1ubuntu1_armhf.deb ... 1335s Unpacking xfsprogs (6.12.0-1ubuntu1) over (6.8.0-2.2ubuntu2) ... 1335s Preparing to unpack .../180-zstd_1.5.6+dfsg-2_armhf.deb ... 1335s Unpacking zstd (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 1335s Preparing to unpack .../181-cloud-init_25.1-0ubuntu1_all.deb ... 1335s Unpacking cloud-init (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 1335s Preparing to unpack .../182-kpartx_0.9.9-1ubuntu4_armhf.deb ... 1335s Unpacking kpartx (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 1335s Preparing to unpack .../183-multipath-tools_0.9.9-1ubuntu4_armhf.deb ... 1335s Unpacking multipath-tools (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 1336s Setting up libip4tc2:armhf (1.8.11-2ubuntu1) ... 1336s Setting up powermgmt-base (1.38) ... 1336s Setting up motd-news-config (13.6ubuntu1) ... 1336s Setting up distro-info (1.13) ... 1336s Setting up liburcu8t64:armhf (0.15.1-1) ... 1336s Setting up libibverbs1:armhf (55.0-1ubuntu1) ... 1336s Setting up libxdmcp6:armhf (1:1.1.5-1) ... 1336s Setting up lto-disabled-list (56) ... 1336s Setting up pci.ids (0.0~2025.02.12-1) ... 1336s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 1336s Setting up apt-utils (2.9.30ubuntu1) ... 1336s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 1336s Setting up init (1.68) ... 1336s Setting up ibverbs-providers:armhf (55.0-1ubuntu1) ... 1336s Setting up gcc-14-base:armhf (14.2.0-17ubuntu3) ... 1336s Setting up psmisc (23.7-2) ... 1336s Setting up libcbor0.10:armhf (0.10.2-2ubuntu1) ... 1336s Setting up libyaml-0-2:armhf (0.2.5-2) ... 1336s Setting up libip6tc2:armhf (1.8.11-2ubuntu1) ... 1336s Setting up liblsof0 (4.99.4+dfsg-2) ... 1336s Setting up libmaxminddb0:armhf (1.12.2-1) ... 1336s Setting up python3.12-gdbm (3.12.9-1) ... 1336s Setting up libedit2:armhf (3.1-20250104-1) ... 1336s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-8build1) ... 1336s Setting up netcat-openbsd (1.228-1) ... 1336s Setting up libpython3.12-minimal:armhf (3.12.9-1) ... 1336s Setting up binutils-common:armhf (2.44-2ubuntu1) ... 1336s Setting up libctf-nobfd0:armhf (2.44-2ubuntu1) ... 1336s Setting up gettext-base (0.23.1-1) ... 1336s Setting up libnss-systemd:armhf (257.2-3ubuntu1) ... 1336s Setting up libnftnl11:armhf (1.2.8-1) ... 1336s Setting up krb5-locales (1.21.3-4ubuntu1) ... 1336s Setting up libcom-err2:armhf (1.47.2-1ubuntu1) ... 1336s Setting up libjemalloc2:armhf (5.3.0-2build1) ... 1336s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) ... 1336s Setting up locales (2.40-4ubuntu1) ... 1337s Generating locales (this might take a while)... 1339s en_US.UTF-8... done 1339s Generation complete. 1339s Setting up libldap-common (2.6.9+dfsg-1~exp2ubuntu1) ... 1339s Installing new version of config file /etc/ldap/ldap.conf ... 1339s Setting up libprotobuf-c1:armhf (1.5.1-1ubuntu1) ... 1339s Setting up xxd (2:9.1.0967-1ubuntu2) ... 1339s Setting up libsframe1:armhf (2.44-2ubuntu1) ... 1339s Setting up python-babel-localedata (2.17.0-1) ... 1339s Setting up libkrb5support0:armhf (1.21.3-4ubuntu1) ... 1339s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) ... 1339s Setting up tzdata (2025a-2ubuntu1) ... 1339s 1339s Current default time zone: 'Etc/UTC' 1339s Local time is now: Sat Feb 22 05:13:39 UTC 2025. 1339s Universal Time is now: Sat Feb 22 05:13:39 UTC 2025. 1339s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1339s 1339s Setting up eject (2.40.2-14ubuntu1) ... 1339s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 1339s Installing new version of config file /etc/apparmor.d/abstractions/dconf ... 1339s Installing new version of config file /etc/apparmor.d/abstractions/mesa ... 1339s Installing new version of config file /etc/apparmor.d/abstractions/nameservice ... 1339s Installing new version of config file /etc/apparmor.d/abstractions/php ... 1339s Installing new version of config file /etc/apparmor.d/abstractions/python ... 1339s Installing new version of config file /etc/apparmor.d/sbuild ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-abort ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-adduser ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-apt ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-checkpackages ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-clean ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-createchroot ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-destroychroot ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-distupgrade ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-hold ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-shell ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-unhold ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-update ... 1339s Installing new version of config file /etc/apparmor.d/sbuild-upgrade ... 1339s Installing new version of config file /etc/apparmor.d/slirp4netns ... 1339s Installing new version of config file /etc/apparmor.d/toybox ... 1339s Installing new version of config file /etc/apparmor.d/transmission ... 1339s Installing new version of config file /etc/apparmor.d/tunables/global ... 1339s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1339s 1339s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1339s 1339s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1339s 1340s Reloading AppArmor profiles 1340s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1340s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1340s 1341s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "unpriv_unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "remmina". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1341s 1341s Error: At least one profile failed to load 1341s Setting up libglib2.0-data (2.83.4-1) ... 1341s Setting up vim-common (2:9.1.0967-1ubuntu2) ... 1341s Setting up busybox-static (1:1.37.0-4ubuntu1) ... 1341s Setting up libwrap0:armhf (7.6.q-35) ... 1341s Setting up libnvme1t64 (1.11.1-2) ... 1341s Setting up make (4.4.1-1) ... 1341s Setting up libnspr4:armhf (2:4.36-1ubuntu1) ... 1341s Setting up gnupg-l10n (2.4.4-2ubuntu22) ... 1341s Setting up ed (1.21-1) ... 1341s Setting up bash-completion (1:2.16.0-7) ... 1341s Setting up libncurses6:armhf (6.5+20250125-2) ... 1341s Setting up libdbus-1-3:armhf (1.16.0-1ubuntu1) ... 1341s Setting up libfribidi0:armhf (1.0.16-1) ... 1341s Setting up libpng16-16t64:armhf (1.6.46-4) ... 1341s Setting up systemd-timesyncd (257.2-3ubuntu1) ... 1342s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 1342s Setting up libatomic1:armhf (15-20250213-1ubuntu1) ... 1342s Setting up udev (257.2-3ubuntu1) ... 1343s Setting up libss2:armhf (1.47.2-1ubuntu1) ... 1343s Setting up usb.ids (2025.01.14-1) ... 1343s Setting up dhcpcd-base (1:10.1.0-7) ... 1343s Installing new version of config file /etc/dhcpcd.conf ... 1343s Setting up ucf (3.0050) ... 1343s Installing new version of config file /etc/ucf.conf ... 1343s Setting up libncursesw6:armhf (6.5+20250125-2) ... 1343s Setting up libk5crypto3:armhf (1.21.3-4ubuntu1) ... 1343s Setting up busybox-initramfs (1:1.37.0-4ubuntu1) ... 1343s Setting up libxtables12:armhf (1.8.11-2ubuntu1) ... 1343s Setting up logsave (1.47.2-1ubuntu1) ... 1343s Setting up libsasl2-2:armhf (2.1.28+dfsg1-8build1) ... 1343s Setting up lsof (4.99.4+dfsg-2) ... 1343s Setting up libfdisk1:armhf (2.40.2-14ubuntu1) ... 1343s Setting up libicu74:armhf (74.2-1ubuntu6) ... 1343s Setting up nano (8.3-1) ... 1343s Installing new version of config file /etc/nanorc ... 1343s Setting up libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) ... 1343s Setting up whiptail (0.52.24-4ubuntu1) ... 1343s Setting up python-apt-common (2.9.9) ... 1343s Setting up dracut-install (106-2ubuntu1) ... 1343s Setting up perl-modules-5.40 (5.40.1-2) ... 1343s Setting up dmsetup (2:1.02.201-1ubuntu1) ... 1343s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 1344s uuidd.service is a disabled or a static unit not running, not starting it. 1344s Setting up xauth (1:1.1.2-1.1) ... 1344s Setting up groff-base (1.23.0-7) ... 1344s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 1344s Setting up dbus-session-bus-common (1.16.0-1ubuntu1) ... 1344s Setting up kpartx (0.9.9-1ubuntu4) ... 1344s Setting up libpcap0.8t64:armhf (1.10.5-2ubuntu1) ... 1344s Setting up libcryptsetup12:armhf (2:2.7.5-1ubuntu2) ... 1344s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 1344s Setting up mawk (1.3.4.20250131-1) ... 1344s Setting up libkrb5-3:armhf (1.21.3-4ubuntu1) ... 1344s Setting up libusb-1.0-0:armhf (2:1.0.27-2) ... 1344s Setting up libicu76:armhf (76.1-1ubuntu2) ... 1344s Setting up linux-headers-6.12.0-15 (6.12.0-15.15) ... 1344s Setting up keyboard-configuration (1.226ubuntu3) ... 1345s Your console font configuration will be updated the next time your system 1345s boots. If you want to update it now, run 'setupcon' from a virtual console. 1345s update-initramfs: deferring update (trigger activated) 1345s Setting up libbinutils:armhf (2.44-2ubuntu1) ... 1345s Setting up dbus-system-bus-common (1.16.0-1ubuntu1) ... 1345s Setting up openssl (3.4.1-1ubuntu1) ... 1345s Installing new version of config file /etc/ssl/openssl.cnf ... 1345s Setting up libgpg-error-l10n (1.51-3) ... 1345s Setting up iputils-ping (3:20240905-1ubuntu1) ... 1345s Setting up readline-common (8.2-6) ... 1345s Setting up publicsuffix (20250108.1153-0.1) ... 1345s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) ... 1345s Setting up tmux (3.5a-3) ... 1345s Setting up zstd (1.5.6+dfsg-2) ... 1345s Setting up libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) ... 1345s Setting up dbus-bin (1.16.0-1ubuntu1) ... 1345s Setting up libbpf1:armhf (1:1.5.0-2) ... 1345s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 1345s Setting up rsync (3.4.1-0syncable1) ... 1346s rsync.service is a disabled or a static unit not running, not starting it. 1346s Setting up python3.13-gdbm (3.13.2-1) ... 1346s Setting up ethtool (1:6.11-1) ... 1346s Setting up gnupg-utils (2.4.4-2ubuntu22) ... 1346s Setting up initramfs-tools-bin (0.145ubuntu2) ... 1346s Setting up ncurses-term (6.5+20250125-2) ... 1346s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 1346s Setting up cron-daemon-common (3.0pl1-192ubuntu1) ... 1346s Setting up libxkbcommon0:armhf (1.7.0-2) ... 1346s Setting up libctf0:armhf (2.44-2ubuntu1) ... 1346s Setting up cryptsetup-bin (2:2.7.5-1ubuntu2) ... 1346s Setting up pinentry-curses (1.3.1-2ubuntu2) ... 1346s Setting up python3.12-minimal (3.12.9-1) ... 1347s Setting up libnftables1:armhf (1.1.1-1build1) ... 1347s Setting up nftables (1.1.1-1build1) ... 1347s Setting up iptables (1.8.11-2ubuntu1) ... 1347s Setting up htop (3.3.0-5) ... 1347s Setting up iproute2 (6.13.0-1ubuntu1) ... 1348s Setting up btrfs-progs (6.12-1build1) ... 1348s Setting up cron (3.0pl1-192ubuntu1) ... 1348s Setting up rsyslog (8.2412.0-2ubuntu1) ... 1348s Installing new version of config file /etc/apparmor.d/usr.sbin.rsyslogd ... 1349s info: The user `syslog' is already a member of `adm'. 1349s apparmor_parser: Unable to replace "rsyslogd". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1349s 1350s Setting up inetutils-telnet (2:2.5-6ubuntu1) ... 1350s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 1350s update-initramfs: deferring update (trigger activated) 1350s Setting up libnss3:armhf (2:3.108-1ubuntu1) ... 1350s Setting up dbus-daemon (1.16.0-1ubuntu1) ... 1350s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ... 1350s Setting up multipath-tools (0.9.9-1ubuntu4) ... 1351s Setting up libperl5.40:armhf (5.40.1-2) ... 1351s Setting up libftdi1-2:armhf (1.5-8) ... 1351s Setting up ca-certificates (20241223) ... 1354s Updating certificates in /etc/ssl/certs... 1356s rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL 1356s 7 added, 1 removed; done. 1356s Setting up perl (5.40.1-2) ... 1356s Setting up libglib2.0-0t64:armhf (2.83.4-1) ... 1356s No schema files found: doing nothing. 1356s Setting up systemd-cryptsetup (257.2-3ubuntu1) ... 1356s Setting up dbus (1.16.0-1ubuntu1) ... 1356s A reboot is required to replace the running dbus-daemon. 1356s Please reboot the system when convenient. 1356s Setting up libblockdev-utils3:armhf (3.3.0-1) ... 1356s Setting up linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 1356s Setting up libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) ... 1357s Setting up gir1.2-glib-2.0:armhf (2.83.4-1) ... 1357s Setting up libdpkg-perl (1.22.11ubuntu4) ... 1357s Setting up libreadline8t64:armhf (8.2-6) ... 1357s Setting up libblockdev-nvme3:armhf (3.3.0-1) ... 1357s Setting up libblockdev-fs3:armhf (3.3.0-1) ... 1357s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 1357s Setting up libplymouth5:armhf (24.004.60-2ubuntu5) ... 1357s Setting up gpgconf (2.4.4-2ubuntu22) ... 1357s Setting up libpam-systemd:armhf (257.2-3ubuntu1) ... 1357s Setting up libgirepository-1.0-1:armhf (1.82.0-4) ... 1357s Setting up initramfs-tools-core (0.145ubuntu2) ... 1357s Setting up binutils-arm-linux-gnueabihf (2.44-2ubuntu1) ... 1357s Setting up libarchive13t64:armhf (3.7.7-0ubuntu1) ... 1357s Setting up libpython3.13-stdlib:armhf (3.13.2-1) ... 1357s Setting up gpg (2.4.4-2ubuntu22) ... 1357s Setting up libgudev-1.0-0:armhf (1:238-6) ... 1357s Setting up libpolkit-gobject-1-0:armhf (126-2) ... 1357s Setting up libgstreamer1.0-0:armhf (1.25.50-1) ... 1357s Setcap worked! gst-ptp-helper is not suid! 1357s Setting up libudisks2-0:armhf (2.10.1-11ubuntu2) ... 1357s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 1357s Setting up systemd-resolved (257.2-3ubuntu1) ... 1357s Setting up gpg-agent (2.4.4-2ubuntu22) ... 1358s Setting up telnet (0.17+2.5-6ubuntu1) ... 1358s Setting up libpython3.12-stdlib:armhf (3.12.9-1) ... 1358s Setting up initramfs-tools (0.145ubuntu2) ... 1358s update-initramfs: deferring update (trigger activated) 1358s Setting up libblockdev-mdraid3:armhf (3.3.0-1) ... 1358s Setting up libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 1358s Setting up bind9-libs:armhf (1:9.20.4-3ubuntu1) ... 1358s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 1358s Setting up python3.13 (3.13.2-1) ... 1359s Setting up libblockdev-swap3:armhf (3.3.0-1) ... 1359s Setting up plymouth (24.004.60-2ubuntu5) ... 1359s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 1360s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 1360s Setting up python3.12 (3.12.9-1) ... 1361s Setting up libblockdev-loop3:armhf (3.3.0-1) ... 1361s Setting up gpgsm (2.4.4-2ubuntu22) ... 1361s Setting up libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 1361s Setting up libglib2.0-bin (2.83.4-1) ... 1361s Setting up libpackagekit-glib2-18:armhf (1.3.0-3build1) ... 1361s Setting up libappstream5:armhf (1.0.4-1) ... 1361s Setting up libqmi-glib5:armhf (1.35.6-1) ... 1361s Setting up python3 (3.13.1-1~exp2) ... 1361s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1361s for fn in glob1(directory, "%s.*" % fname): 1361s Setting up linux-headers-generic (6.12.0-15.15+1) ... 1361s Setting up binutils (2.44-2ubuntu1) ... 1361s Setting up libnetplan1:armhf (1.1.2-2ubuntu1) ... 1361s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 1362s Setting up libblockdev3:armhf (3.3.0-1) ... 1362s Setting up fdisk (2.40.2-14ubuntu1) ... 1362s Setting up dpkg-dev (1.22.11ubuntu4) ... 1362s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 1362s Setting up libblockdev-part3:armhf (3.3.0-1) ... 1362s Setting up dirmngr (2.4.4-2ubuntu22) ... 1362s Setting up gir1.2-packagekitglib-1.0 (1.3.0-3build1) ... 1362s Setting up dbus-user-session (1.16.0-1ubuntu1) ... 1362s Setting up python3-jinja2 (3.1.5-2) ... 1362s Setting up python3-pygments (2.18.0+dfsg-2) ... 1364s Setting up python3-chardet (5.2.0+dfsg-2) ... 1365s Setting up appstream (1.0.4-1) ... 1367s ✔ Metadata cache was updated successfully. 1367s Setting up python3-certifi (2025.1.31+ds-1) ... 1367s Setting up gir1.2-girepository-2.0:armhf (1.82.0-4) ... 1367s Setting up python3-gi (3.50.0-4) ... 1368s Setting up python3-idna (3.10-1) ... 1368s Setting up xfsprogs (6.12.0-1ubuntu1) ... 1368s update-initramfs: deferring update (trigger activated) 1369s Setting up keyboxd (2.4.4-2ubuntu22) ... 1369s Setting up python3-urllib3 (2.3.0-1) ... 1369s Setting up python3-json-pointer (2.4-3) ... 1369s Setting up gnupg (2.4.4-2ubuntu22) ... 1369s Setting up python3-netplan (1.1.2-2ubuntu1) ... 1370s Setting up libpolkit-agent-1-0:armhf (126-2) ... 1370s Setting up libgpgme11t64:armhf (1.24.2-1ubuntu1) ... 1370s Setting up curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 1370s Setting up libvolume-key1:armhf (0.3.12-9) ... 1370s Setting up netplan-generator (1.1.2-2ubuntu1) ... 1370s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 1370s Setting up bind9-host (1:9.20.4-3ubuntu1) ... 1370s Setting up python3-distro-info (1.13) ... 1370s Setting up polkitd (126-2) ... 1370s Setting up python3-more-itertools (10.6.0-1) ... 1371s Setting up python3-attr (25.1.0-1) ... 1371s Setting up gpg-wks-client (2.4.4-2ubuntu22) ... 1371s Setting up libblockdev-crypto3:armhf (3.3.0-1) ... 1371s Setting up python3-jwt (2.10.1-2) ... 1371s Setting up python3-babel (2.17.0-1) ... 1372s Setting up python3-rich (13.9.4-1) ... 1373s Setting up python3-gdbm:armhf (3.13.1-1) ... 1373s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ... 1373s Setting up python3-apt (2.9.9) ... 1373s Setting up python3-jsonpatch (1.32-5) ... 1373s Setting up python3-bcrypt (4.2.0-2.1) ... 1374s Setting up libqmi-proxy (1.35.6-1) ... 1374s Setting up libfwupd3:armhf (2.0.6-3) ... 1374s Setting up ufw (0.36.2-9) ... 1375s Setting up python3-lazr.uri (1.0.6-5) ... 1375s Setting up netplan.io (1.1.2-2ubuntu1) ... 1375s Setting up unattended-upgrades (2.12ubuntu4) ... 1375s Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version 1376s Setting up pollinate (4.33-4ubuntu2) ... 1376s Setting up python3-cryptography (43.0.0-1) ... 1377s Setting up python3-wadllib (2.0.0-2) ... 1377s Setting up python3-requests (2.32.3+dfsg-4ubuntu1) ... 1377s Setting up bind9-dnsutils (1:9.20.4-3ubuntu1) ... 1377s Setting up ubuntu-pro-client (34.1.3) ... 1378s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1378s 1378s apparmor_parser: Unable to replace "apt_methods". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1378s 1378s apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1378s 1380s Setting up fwupd (2.0.6-3) ... 1380s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 1380s fwupd.service is a disabled or a static unit not running, not starting it. 1380s Setting up python3-referencing (0.35.1-2ubuntu1) ... 1381s Setting up python3-pkg-resources (75.6.0-1) ... 1381s Setting up ubuntu-pro-client-l10n (34.1.3) ... 1381s Setting up udisks2 (2.10.1-11ubuntu2) ... 1381s vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/uevent': Permission denied 1381s vda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda1/uevent': Permission denied 1381s vda15: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda15/uevent': Permission denied 1381s vda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda2/uevent': Permission denied 1381s loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied 1381s loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied 1381s loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied 1381s loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied 1381s loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied 1381s loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied 1381s loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied 1381s loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 1381s loop8: Failed to write 'change' to '/sys/devices/virtual/block/loop8/uevent': Permission denied 1382s Setting up python3-setuptools (75.6.0-1) ... 1384s Setting up python3-openssl (25.0.0-1) ... 1384s Setting up python3-launchpadlib (2.1.0-1) ... 1384s Setting up ubuntu-standard (1.547) ... 1384s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ... 1385s Setting up python3-oauthlib (3.2.2-3) ... 1385s Setting up python3-software-properties (0.109) ... 1385s Setting up python3-jsonschema (4.19.2-6ubuntu1) ... 1386s Setting up cloud-init-base (25.1-0ubuntu1) ... 1386s Installing new version of config file /etc/cloud/templates/sources.list.debian.deb822.tmpl ... 1386s Installing new version of config file /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl ... 1388s Setting up cloud-init (25.1-0ubuntu1) ... 1388s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ... 1389s Setting up apport (2.31.0+git20250220-0ubuntu1) ... 1390s apport-autoreport.service is a disabled or a static unit not running, not starting it. 1390s Setting up kbd (2.7.1-2ubuntu1) ... 1390s Setting up console-setup-linux (1.226ubuntu3) ... 1391s Setting up console-setup (1.226ubuntu3) ... 1392s update-initramfs: deferring update (trigger activated) 1392s Setting up ubuntu-minimal (1.547) ... 1392s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1392s Processing triggers for systemd (257.2-3ubuntu1) ... 1392s Processing triggers for man-db (2.13.0-1) ... 1394s Processing triggers for shared-mime-info (2.4-5) ... 1394s Warning: program compiled against libxml 212 using older 209 1394s Processing triggers for sgml-base (1.31) ... 1394s Processing triggers for debianutils (5.21) ... 1394s Processing triggers for install-info (7.1.1-1) ... 1394s Setting up packagekit (1.3.0-3build1) ... 1394s Setting up packagekit-tools (1.3.0-3build1) ... 1394s Setting up software-properties-common (0.109) ... 1395s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1395s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 1395s Processing triggers for ca-certificates (20241223) ... 1395s Updating certificates in /etc/ssl/certs... 1396s 0 added, 0 removed; done. 1396s Running hooks in /etc/ca-certificates/update.d... 1396s done. 1396s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1399s Reading package lists... 1400s Building dependency tree... 1400s Reading state information... 1400s Starting pkgProblemResolver with broken count: 0 1400s Starting 2 pkgProblemResolver with broken count: 0 1400s Done 1401s Solving dependencies... 1401s The following packages will be REMOVED: 1401s libapt-pkg6.0t64* libassuan0* libicu74* libnsl2* libpython3.12-minimal* 1401s libpython3.12-stdlib* libunwind8* linux-headers-6.11.0-8* 1401s linux-headers-6.11.0-8-generic* python3.12* python3.12-minimal* 1402s 0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded. 1402s After this operation, 154 MB disk space will be freed. 1402s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 92815 files and directories currently installed.) 1402s Removing libapt-pkg6.0t64:armhf (2.9.29) ... 1402s Removing libassuan0:armhf (2.5.6-1build1) ... 1402s Removing libicu74:armhf (74.2-1ubuntu6) ... 1402s Removing python3.12 (3.12.9-1) ... 1402s Removing libpython3.12-stdlib:armhf (3.12.9-1) ... 1402s Removing libnsl2:armhf (1.3.0-3build3) ... 1402s Removing python3.12-minimal (3.12.9-1) ... 1402s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1402s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 1403s Removing libpython3.12-minimal:armhf (3.12.9-1) ... 1403s Removing libunwind8:armhf (1.6.2-3.1) ... 1403s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 1404s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 1405s Processing triggers for systemd (257.2-3ubuntu1) ... 1405s Processing triggers for man-db (2.13.0-1) ... 1405s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1405s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60309 files and directories currently installed.) 1405s Purging configuration files for python3.12-minimal (3.12.9-1) ... 1405s Purging configuration files for libpython3.12-minimal:armhf (3.12.9-1) ... 1407s autopkgtest [05:14:47]: rebooting testbed after setup commands that affected boot 1479s Reading package lists... 1480s Building dependency tree... 1480s Reading state information... 1480s Starting pkgProblemResolver with broken count: 0 1480s Starting 2 pkgProblemResolver with broken count: 0 1480s Done 1482s The following NEW packages will be installed: 1482s build-essential cpp cpp-14 cpp-14-arm-linux-gnueabihf 1482s cpp-arm-linux-gnueabihf g++ g++-14 g++-14-arm-linux-gnueabihf 1482s g++-arm-linux-gnueabihf gcc gcc-14 gcc-14-arm-linux-gnueabihf 1482s gcc-arm-linux-gnueabihf gir1.2-glib-2.0-dev girepository-tools libasan8 1482s libblkid-dev libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libffi-dev 1482s libgcc-14-dev libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 1482s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libmount-dev libmpc3 1482s libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3 1482s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev 1482s libubsan1 linux-libc-dev native-architecture pkgconf pkgconf-bin 1482s python3-packaging rpcsvc-proto uuid-dev zlib1g-dev 1482s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded. 1482s Need to get 55.8 MB of archives. 1482s After this operation, 175 MB of additional disk space will be used. 1482s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libc-dev-bin armhf 2.40-4ubuntu1 [19.2 kB] 1482s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf linux-libc-dev armhf 6.12.0-15.15 [1697 kB] 1482s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt-dev armhf 1:4.4.38-1 [120 kB] 1482s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf rpcsvc-proto armhf 1.4.2-0ubuntu7 [62.2 kB] 1482s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libc6-dev armhf 2.40-4ubuntu1 [1358 kB] 1482s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf libisl23 armhf 0.27-1 [546 kB] 1482s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf libmpc3 armhf 1.3.1-1build2 [47.1 kB] 1482s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [9220 kB] 1482s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-14 armhf 14.2.0-17ubuntu3 [1030 B] 1482s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf cpp-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [5578 B] 1482s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf cpp armhf 4:14.2.0-1ubuntu1 [22.4 kB] 1482s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libcc1-0 armhf 15-20250213-1ubuntu1 [38.9 kB] 1482s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libgomp1 armhf 15-20250213-1ubuntu1 [128 kB] 1482s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libasan8 armhf 15-20250213-1ubuntu1 [2956 kB] 1483s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libubsan1 armhf 15-20250213-1ubuntu1 [1190 kB] 1483s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-14-dev armhf 14.2.0-17ubuntu3 [897 kB] 1483s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [18.0 MB] 1483s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14 armhf 14.2.0-17ubuntu3 [506 kB] 1483s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [1218 B] 1483s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf gcc armhf 4:14.2.0-1ubuntu1 [5004 B] 1483s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++-14-dev armhf 14.2.0-17ubuntu3 [2573 kB] 1483s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14-arm-linux-gnueabihf armhf 14.2.0-17ubuntu3 [10.5 MB] 1483s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf g++-14 armhf 14.2.0-17ubuntu3 [21.8 kB] 1483s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf g++-arm-linux-gnueabihf armhf 4:14.2.0-1ubuntu1 [966 B] 1483s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf g++ armhf 4:14.2.0-1ubuntu1 [1084 B] 1483s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf build-essential armhf 12.10ubuntu1 [4928 B] 1483s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf gir1.2-glib-2.0-dev armhf 2.83.4-1 [861 kB] 1483s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.5 [2082 B] 1483s Get:29 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libgirepository-2.0-0 armhf 2.83.4-1 [99.1 kB] 1483s Get:30 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf girepository-tools armhf 2.83.4-1 [109 kB] 1483s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libffi-dev armhf 3.4.7-1 [57.2 kB] 1483s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-dev armhf 2.40.2-14ubuntu1 [52.6 kB] 1483s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid-dev armhf 2.40.2-14ubuntu1 [218 kB] 1483s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libsepol-dev armhf 3.7-1 [381 kB] 1483s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-16-0 armhf 10.42-4ubuntu3 [186 kB] 1483s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-32-0 armhf 10.42-4ubuntu3 [176 kB] 1483s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-posix3 armhf 10.42-4ubuntu3 [6178 B] 1483s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libpcre2-dev armhf 10.42-4ubuntu3 [679 kB] 1483s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1-dev armhf 3.7-3ubuntu2 [160 kB] 1483s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libmount-dev armhf 2.40.2-14ubuntu1 [34.6 kB] 1483s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libsysprof-capture-4-dev armhf 48~beta-2 [49.2 kB] 1484s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libpkgconf3 armhf 1.8.1-4 [26.6 kB] 1484s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf-bin armhf 1.8.1-4 [21.2 kB] 1484s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf pkgconf armhf 1.8.1-4 [16.8 kB] 1484s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf zlib1g-dev armhf 1:1.3.dfsg+really1.3.1-1ubuntu1 [880 kB] 1484s Get:46 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libgio-2.0-dev armhf 2.83.4-1 [1713 kB] 1484s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 1484s Get:48 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libgio-2.0-dev-bin armhf 2.83.4-1 [130 kB] 1484s Get:49 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-dev-bin armhf 2.83.4-1 [18.1 kB] 1484s Get:50 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-dev armhf 2.83.4-1 [18.9 kB] 1484s Fetched 55.8 MB in 2s (24.6 MB/s) 1484s Selecting previously unselected package libc-dev-bin. 1484s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60307 files and directories currently installed.) 1484s Preparing to unpack .../00-libc-dev-bin_2.40-4ubuntu1_armhf.deb ... 1484s Unpacking libc-dev-bin (2.40-4ubuntu1) ... 1484s Selecting previously unselected package linux-libc-dev:armhf. 1484s Preparing to unpack .../01-linux-libc-dev_6.12.0-15.15_armhf.deb ... 1484s Unpacking linux-libc-dev:armhf (6.12.0-15.15) ... 1485s Selecting previously unselected package libcrypt-dev:armhf. 1485s Preparing to unpack .../02-libcrypt-dev_1%3a4.4.38-1_armhf.deb ... 1485s Unpacking libcrypt-dev:armhf (1:4.4.38-1) ... 1485s Selecting previously unselected package rpcsvc-proto. 1485s Preparing to unpack .../03-rpcsvc-proto_1.4.2-0ubuntu7_armhf.deb ... 1485s Unpacking rpcsvc-proto (1.4.2-0ubuntu7) ... 1485s Selecting previously unselected package libc6-dev:armhf. 1485s Preparing to unpack .../04-libc6-dev_2.40-4ubuntu1_armhf.deb ... 1485s Unpacking libc6-dev:armhf (2.40-4ubuntu1) ... 1485s Selecting previously unselected package libisl23:armhf. 1485s Preparing to unpack .../05-libisl23_0.27-1_armhf.deb ... 1485s Unpacking libisl23:armhf (0.27-1) ... 1485s Selecting previously unselected package libmpc3:armhf. 1485s Preparing to unpack .../06-libmpc3_1.3.1-1build2_armhf.deb ... 1485s Unpacking libmpc3:armhf (1.3.1-1build2) ... 1485s Selecting previously unselected package cpp-14-arm-linux-gnueabihf. 1485s Preparing to unpack .../07-cpp-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 1485s Unpacking cpp-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 1485s Selecting previously unselected package cpp-14. 1485s Preparing to unpack .../08-cpp-14_14.2.0-17ubuntu3_armhf.deb ... 1485s Unpacking cpp-14 (14.2.0-17ubuntu3) ... 1485s Selecting previously unselected package cpp-arm-linux-gnueabihf. 1485s Preparing to unpack .../09-cpp-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 1485s Unpacking cpp-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 1485s Selecting previously unselected package cpp. 1485s Preparing to unpack .../10-cpp_4%3a14.2.0-1ubuntu1_armhf.deb ... 1485s Unpacking cpp (4:14.2.0-1ubuntu1) ... 1485s Selecting previously unselected package libcc1-0:armhf. 1485s Preparing to unpack .../11-libcc1-0_15-20250213-1ubuntu1_armhf.deb ... 1485s Unpacking libcc1-0:armhf (15-20250213-1ubuntu1) ... 1485s Selecting previously unselected package libgomp1:armhf. 1485s Preparing to unpack .../12-libgomp1_15-20250213-1ubuntu1_armhf.deb ... 1485s Unpacking libgomp1:armhf (15-20250213-1ubuntu1) ... 1485s Selecting previously unselected package libasan8:armhf. 1485s Preparing to unpack .../13-libasan8_15-20250213-1ubuntu1_armhf.deb ... 1485s Unpacking libasan8:armhf (15-20250213-1ubuntu1) ... 1485s Selecting previously unselected package libubsan1:armhf. 1485s Preparing to unpack .../14-libubsan1_15-20250213-1ubuntu1_armhf.deb ... 1485s Unpacking libubsan1:armhf (15-20250213-1ubuntu1) ... 1485s Selecting previously unselected package libgcc-14-dev:armhf. 1485s Preparing to unpack .../15-libgcc-14-dev_14.2.0-17ubuntu3_armhf.deb ... 1485s Unpacking libgcc-14-dev:armhf (14.2.0-17ubuntu3) ... 1486s Selecting previously unselected package gcc-14-arm-linux-gnueabihf. 1486s Preparing to unpack .../16-gcc-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 1486s Unpacking gcc-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 1486s Selecting previously unselected package gcc-14. 1486s Preparing to unpack .../17-gcc-14_14.2.0-17ubuntu3_armhf.deb ... 1486s Unpacking gcc-14 (14.2.0-17ubuntu3) ... 1486s Selecting previously unselected package gcc-arm-linux-gnueabihf. 1486s Preparing to unpack .../18-gcc-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 1486s Unpacking gcc-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 1486s Selecting previously unselected package gcc. 1486s Preparing to unpack .../19-gcc_4%3a14.2.0-1ubuntu1_armhf.deb ... 1486s Unpacking gcc (4:14.2.0-1ubuntu1) ... 1486s Selecting previously unselected package libstdc++-14-dev:armhf. 1486s Preparing to unpack .../20-libstdc++-14-dev_14.2.0-17ubuntu3_armhf.deb ... 1486s Unpacking libstdc++-14-dev:armhf (14.2.0-17ubuntu3) ... 1486s Selecting previously unselected package g++-14-arm-linux-gnueabihf. 1486s Preparing to unpack .../21-g++-14-arm-linux-gnueabihf_14.2.0-17ubuntu3_armhf.deb ... 1486s Unpacking g++-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 1487s Selecting previously unselected package g++-14. 1487s Preparing to unpack .../22-g++-14_14.2.0-17ubuntu3_armhf.deb ... 1487s Unpacking g++-14 (14.2.0-17ubuntu3) ... 1487s Selecting previously unselected package g++-arm-linux-gnueabihf. 1487s Preparing to unpack .../23-g++-arm-linux-gnueabihf_4%3a14.2.0-1ubuntu1_armhf.deb ... 1487s Unpacking g++-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 1487s Selecting previously unselected package g++. 1487s Preparing to unpack .../24-g++_4%3a14.2.0-1ubuntu1_armhf.deb ... 1487s Unpacking g++ (4:14.2.0-1ubuntu1) ... 1487s Selecting previously unselected package build-essential. 1487s Preparing to unpack .../25-build-essential_12.10ubuntu1_armhf.deb ... 1487s Unpacking build-essential (12.10ubuntu1) ... 1487s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 1487s Preparing to unpack .../26-gir1.2-glib-2.0-dev_2.83.4-1_armhf.deb ... 1487s Unpacking gir1.2-glib-2.0-dev:armhf (2.83.4-1) ... 1487s Selecting previously unselected package native-architecture. 1487s Preparing to unpack .../27-native-architecture_0.2.5_all.deb ... 1487s Unpacking native-architecture (0.2.5) ... 1487s Selecting previously unselected package libgirepository-2.0-0:armhf. 1487s Preparing to unpack .../28-libgirepository-2.0-0_2.83.4-1_armhf.deb ... 1487s Unpacking libgirepository-2.0-0:armhf (2.83.4-1) ... 1487s Selecting previously unselected package girepository-tools:armhf. 1487s Preparing to unpack .../29-girepository-tools_2.83.4-1_armhf.deb ... 1487s Unpacking girepository-tools:armhf (2.83.4-1) ... 1487s Selecting previously unselected package libffi-dev:armhf. 1487s Preparing to unpack .../30-libffi-dev_3.4.7-1_armhf.deb ... 1487s Unpacking libffi-dev:armhf (3.4.7-1) ... 1487s Selecting previously unselected package uuid-dev:armhf. 1487s Preparing to unpack .../31-uuid-dev_2.40.2-14ubuntu1_armhf.deb ... 1487s Unpacking uuid-dev:armhf (2.40.2-14ubuntu1) ... 1487s Selecting previously unselected package libblkid-dev:armhf. 1487s Preparing to unpack .../32-libblkid-dev_2.40.2-14ubuntu1_armhf.deb ... 1487s Unpacking libblkid-dev:armhf (2.40.2-14ubuntu1) ... 1487s Selecting previously unselected package libsepol-dev:armhf. 1487s Preparing to unpack .../33-libsepol-dev_3.7-1_armhf.deb ... 1487s Unpacking libsepol-dev:armhf (3.7-1) ... 1487s Selecting previously unselected package libpcre2-16-0:armhf. 1487s Preparing to unpack .../34-libpcre2-16-0_10.42-4ubuntu3_armhf.deb ... 1487s Unpacking libpcre2-16-0:armhf (10.42-4ubuntu3) ... 1487s Selecting previously unselected package libpcre2-32-0:armhf. 1487s Preparing to unpack .../35-libpcre2-32-0_10.42-4ubuntu3_armhf.deb ... 1487s Unpacking libpcre2-32-0:armhf (10.42-4ubuntu3) ... 1487s Selecting previously unselected package libpcre2-posix3:armhf. 1487s Preparing to unpack .../36-libpcre2-posix3_10.42-4ubuntu3_armhf.deb ... 1487s Unpacking libpcre2-posix3:armhf (10.42-4ubuntu3) ... 1487s Selecting previously unselected package libpcre2-dev:armhf. 1487s Preparing to unpack .../37-libpcre2-dev_10.42-4ubuntu3_armhf.deb ... 1487s Unpacking libpcre2-dev:armhf (10.42-4ubuntu3) ... 1488s Selecting previously unselected package libselinux1-dev:armhf. 1488s Preparing to unpack .../38-libselinux1-dev_3.7-3ubuntu2_armhf.deb ... 1488s Unpacking libselinux1-dev:armhf (3.7-3ubuntu2) ... 1488s Selecting previously unselected package libmount-dev:armhf. 1488s Preparing to unpack .../39-libmount-dev_2.40.2-14ubuntu1_armhf.deb ... 1488s Unpacking libmount-dev:armhf (2.40.2-14ubuntu1) ... 1488s Selecting previously unselected package libsysprof-capture-4-dev:armhf. 1488s Preparing to unpack .../40-libsysprof-capture-4-dev_48~beta-2_armhf.deb ... 1488s Unpacking libsysprof-capture-4-dev:armhf (48~beta-2) ... 1488s Selecting previously unselected package libpkgconf3:armhf. 1488s Preparing to unpack .../41-libpkgconf3_1.8.1-4_armhf.deb ... 1488s Unpacking libpkgconf3:armhf (1.8.1-4) ... 1488s Selecting previously unselected package pkgconf-bin. 1488s Preparing to unpack .../42-pkgconf-bin_1.8.1-4_armhf.deb ... 1488s Unpacking pkgconf-bin (1.8.1-4) ... 1488s Selecting previously unselected package pkgconf:armhf. 1488s Preparing to unpack .../43-pkgconf_1.8.1-4_armhf.deb ... 1488s Unpacking pkgconf:armhf (1.8.1-4) ... 1488s Selecting previously unselected package zlib1g-dev:armhf. 1488s Preparing to unpack .../44-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_armhf.deb ... 1488s Unpacking zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1488s Selecting previously unselected package libgio-2.0-dev:armhf. 1488s Preparing to unpack .../45-libgio-2.0-dev_2.83.4-1_armhf.deb ... 1488s Unpacking libgio-2.0-dev:armhf (2.83.4-1) ... 1488s Selecting previously unselected package python3-packaging. 1488s Preparing to unpack .../46-python3-packaging_24.2-1_all.deb ... 1488s Unpacking python3-packaging (24.2-1) ... 1488s Selecting previously unselected package libgio-2.0-dev-bin. 1488s Preparing to unpack .../47-libgio-2.0-dev-bin_2.83.4-1_armhf.deb ... 1488s Unpacking libgio-2.0-dev-bin (2.83.4-1) ... 1488s Selecting previously unselected package libglib2.0-dev-bin. 1488s Preparing to unpack .../48-libglib2.0-dev-bin_2.83.4-1_armhf.deb ... 1488s Unpacking libglib2.0-dev-bin (2.83.4-1) ... 1488s Selecting previously unselected package libglib2.0-dev:armhf. 1488s Preparing to unpack .../49-libglib2.0-dev_2.83.4-1_armhf.deb ... 1488s Unpacking libglib2.0-dev:armhf (2.83.4-1) ... 1488s Setting up native-architecture (0.2.5) ... 1488s Setting up libgirepository-2.0-0:armhf (2.83.4-1) ... 1488s Setting up linux-libc-dev:armhf (6.12.0-15.15) ... 1488s Setting up libgomp1:armhf (15-20250213-1ubuntu1) ... 1488s Setting up libffi-dev:armhf (3.4.7-1) ... 1488s Setting up libpcre2-16-0:armhf (10.42-4ubuntu3) ... 1488s Setting up libsysprof-capture-4-dev:armhf (48~beta-2) ... 1488s Setting up libpcre2-32-0:armhf (10.42-4ubuntu3) ... 1488s Setting up python3-packaging (24.2-1) ... 1488s Setting up libpkgconf3:armhf (1.8.1-4) ... 1488s Setting up rpcsvc-proto (1.4.2-0ubuntu7) ... 1488s Setting up libmpc3:armhf (1.3.1-1build2) ... 1488s Setting up libsepol-dev:armhf (3.7-1) ... 1488s Setting up pkgconf-bin (1.8.1-4) ... 1488s Setting up libubsan1:armhf (15-20250213-1ubuntu1) ... 1488s Setting up libpcre2-posix3:armhf (10.42-4ubuntu3) ... 1488s Setting up gir1.2-glib-2.0-dev:armhf (2.83.4-1) ... 1488s Setting up libcrypt-dev:armhf (1:4.4.38-1) ... 1488s Setting up libasan8:armhf (15-20250213-1ubuntu1) ... 1488s Setting up libgcc-14-dev:armhf (14.2.0-17ubuntu3) ... 1488s Setting up libisl23:armhf (0.27-1) ... 1488s Setting up libc-dev-bin (2.40-4ubuntu1) ... 1488s Setting up libcc1-0:armhf (15-20250213-1ubuntu1) ... 1488s Setting up cpp-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 1489s Setting up libgio-2.0-dev-bin (2.83.4-1) ... 1489s Setting up girepository-tools:armhf (2.83.4-1) ... 1489s Setting up gcc-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 1489s Setting up pkgconf:armhf (1.8.1-4) ... 1489s Setting up cpp-14 (14.2.0-17ubuntu3) ... 1489s Setting up libc6-dev:armhf (2.40-4ubuntu1) ... 1489s Setting up libstdc++-14-dev:armhf (14.2.0-17ubuntu3) ... 1489s Setting up cpp-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 1489s Setting up gcc-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 1489s Setting up libglib2.0-dev-bin (2.83.4-1) ... 1489s Setting up g++-14-arm-linux-gnueabihf (14.2.0-17ubuntu3) ... 1489s Setting up libpcre2-dev:armhf (10.42-4ubuntu3) ... 1489s Setting up libselinux1-dev:armhf (3.7-3ubuntu2) ... 1489s Setting up gcc-14 (14.2.0-17ubuntu3) ... 1489s Setting up uuid-dev:armhf (2.40.2-14ubuntu1) ... 1489s Setting up zlib1g-dev:armhf (1:1.3.dfsg+really1.3.1-1ubuntu1) ... 1489s Setting up cpp (4:14.2.0-1ubuntu1) ... 1489s Setting up g++-14 (14.2.0-17ubuntu3) ... 1489s Setting up g++-arm-linux-gnueabihf (4:14.2.0-1ubuntu1) ... 1489s Setting up libblkid-dev:armhf (2.40.2-14ubuntu1) ... 1489s Setting up gcc (4:14.2.0-1ubuntu1) ... 1489s Setting up g++ (4:14.2.0-1ubuntu1) ... 1489s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode 1489s Setting up build-essential (12.10ubuntu1) ... 1489s Setting up libmount-dev:armhf (2.40.2-14ubuntu1) ... 1489s Setting up libgio-2.0-dev:armhf (2.83.4-1) ... 1489s Processing triggers for install-info (7.1.1-1) ... 1489s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1489s Processing triggers for man-db (2.13.0-1) ... 1490s Processing triggers for libglib2.0-0t64:armhf (2.83.4-1) ... 1490s No schema files found: doing nothing. 1490s Setting up libglib2.0-dev:armhf (2.83.4-1) ... 1509s autopkgtest [05:16:29]: test libglib2.0-dev: [----------------------- 1512s + debian/tests/build 1512s + mode=dynamic 1512s + getopt -o --long static -n debian/tests/build -- 1512s + getopt_temp= -- 1512s + eval set -- -- 1512s + set -- -- 1512s + true 1512s + shift 1512s + break 1512s + mktemp -d 1512s + WORKDIR=/tmp/tmp.PWRjJwabJ5 1512s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1512s + cd /tmp/tmp.PWRjJwabJ5 1512s + [ -n ] 1512s + CROSS_COMPILE= 1512s + cat 1512s + cat 1512s + cat 1512s + cat 1512s + cat 1512s + cat 1512s + cflags= 1512s + pcflags= 1512s + packages=glib-2.0 1512s + pkg-config --cflags --libs glib-2.0 1512s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 1512s + echo build (glib, dynamic): OK 1512s + [ -x glib-dynamic ] 1512s + foo=bar ./glib-dynamic 1512s build (glib, dynamic): OK 1512s + echo run (glib, dynamic): OK 1512s + cflags= 1512s + pcflags= 1512s + packages=gobject-2.0 1512s run (glib, dynamic): OK 1512s + pkg-config --cflags --libs gobject-2.0 1512s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 1512s + echo build (gobject, dynamic): OK 1512s + [ -x gobject-dynamic ] 1512s + foo=bar ./gobject-dynamic 1512s + echo run (gobject, dynamic): OK 1512s + cflags= 1512s + pcflags= 1512s + packages=gio-2.0 1512s + pkg-config --cflags --libs gio-2.0 1512s build (gobject, dynamic): OK 1512s run (gobject, dynamic): OK 1512s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1512s + echo build (gio, dynamic): OK 1512s + [ -x gio-dynamic ] 1512s + foo=bar ./gio-dynamic 1512s build (gio, dynamic): OK 1512s + echo run (gio, dynamic): OK 1512s + cflags= 1512s + pcflags= 1512s + packages=gio-unix-2.0 1512s run (gio, dynamic): OK 1512s + pkg-config --cflags --libs gio-unix-2.0 1512s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0 1512s build (gio-unix, dynamic): OK 1512s run (gio-unix, dynamic): OK 1512s + echo build (gio-unix, dynamic): OK 1512s + [ -x gio-unix-dynamic ] 1512s + foo=bar ./gio-unix-dynamic 1512s + echo run (gio-unix, dynamic): OK 1512s + cflags= 1512s + pcflags= 1512s + packages=gmodule-2.0 1512s + pkg-config --cflags --libs gmodule-2.0 1512s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 1512s + echo build (gmodule, dynamic): OK 1512s + [ -x gmodule-dynamic ] 1512s + foo=bar ./gmodule-dynamic 1512s + echo run (gmodule, dynamic): OK 1512s + cflags= 1512s + pcflags= 1512s + packages=gthread-2.0 1512s + pkg-config --cflags --libs gthread-2.0 1512s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 1512s build (gmodule, dynamic): OK 1512s run (gmodule, dynamic): OK 1513s + echo build (gthread, dynamic): OK 1513s + [ -x gthread-dynamic ] 1513s + foo=bar ./gthread-dynamic 1513s build (gthread, dynamic): OK 1513s run (gthread, dynamic): OK 1513s + echo run (gthread, dynamic): OK 1513s + rm -rf /tmp/tmp.PWRjJwabJ5 1513s + debian/tests/build-static 1513s + mode=dynamic 1513s + getopt -o --long static -n debian/tests/build -- --static 1513s + getopt_temp= --static -- 1513s + eval set -- --static -- 1513s + set -- --static -- 1513s + true 1513s + mode=static 1513s + shift 1513s + continue 1513s + true 1513s + shift 1513s + break 1513s + mktemp -d 1513s + WORKDIR=/tmp/tmp.3rGsJ5L0Hy 1513s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM 1513s + cd /tmp/tmp.3rGsJ5L0Hy 1513s + [ -n ] 1513s + CROSS_COMPILE= 1513s + cat 1513s + cat 1513s + cat 1513s + cat 1513s + cat 1513s + cat 1513s + cflags= 1513s + pcflags= 1513s + packages=glib-2.0 1513s + cflags=-static 1513s + pcflags=--static 1513s + pkg-config --static --cflags --libs glib-2.0 1513s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1513s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1513s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1513s /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 1513s /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 1513s + echo build (glib, static): OK 1513s + [ -x glib-static ] 1513s + foo=bar ./glib-static 1513s + echo run (glib, static): OK 1513s + cflags= 1513s + pcflags= 1513s + packages=gobject-2.0 1513s + cflags=-static 1513s + pcflags=--static 1513s + pkg-config --static --cflags --libs gobject-2.0 1513s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi 1513s build (glib, static): OK 1513s run (glib, static): OK 1513s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1513s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1513s /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 1513s /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 1513s + echo build (gobject, static): OK 1513s + [ -x gobject-static ] 1513s + foo=bar ./gobject-static 1513s build (gobject, static): OK 1513s + echo run (gobject, static): OK 1513s + cflags= 1513s + pcflags= 1513s + packages=gio-2.0 1513s + cflags=-static 1513s + pcflags=--static 1513s + continue 1513s + cflags= 1513s + pcflags= 1513s + packages=gio-unix-2.0 1513s + cflags=-static 1513s + pcflags=--static 1513s + continue 1513s + cflags= 1513s + pcflags= 1513s + packages=gmodule-2.0 1513s + cflags=-static 1513s + pcflags=--static 1513s + pkg-config --static --cflags --libs gmodule-2.0 1513s run (gobject, static): OK 1513s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1513s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full': 1513s (.text+0x412): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1513s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1513s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1513s /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 1513s /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 1513s + echo build (gmodule, static): OK 1513s + [ -x gmodule-static ] 1513s + foo=bar ./gmodule-static 1513s + echo run (gmodule, static): OK 1513s + cflags= 1513s + pcflags= 1513s + packages=gthread-2.0 1513s + cflags=-static 1513s + pcflags=--static 1513s + pkg-config --static --cflags --libs gthread-2.0 1513s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 1513s build (gmodule, static): OK 1513s run (gmodule, static): OK 1513s /usr/bin/ld: /usr/lib/gcc/arm-linux-gnueabihf/14/../../../arm-linux-gnueabihf/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry': 1513s (.text+0x9a): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking 1513s /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 1513s /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 1513s + echo build (gthread, static): OK 1513s + [ -x gthread-static ] 1513s + foo=bar ./gthread-static 1513s build (gthread, static): OK 1513s + echo run (gthread, static): OK 1513s + rm -rf /tmp/tmp.3rGsJ5L0Hy 1513s run (gthread, static): OK 1513s + debian/tests/girepository-tools 1513s + cd /tmp/autopkgtest.v8E5kR/autopkgtest_tmp 1513s + dpkg-architecture -qDEB_HOST_GNU_TYPE 1514s + DEB_HOST_GNU_TYPE=arm-linux-gnueabihf 1514s + dpkg-architecture -qDEB_HOST_MULTIARCH 1514s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 1514s + arm-linux-gnueabihf-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1514s typelib: GLib-2.0 1514s + arm-linux-gnueabihf-gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 1514s + arm-linux-gnueabihf-gi-decompile-typelib -o GLib.gir GLib.typelib 1514s + debian/tests/libgio-2.0-dev-bin 1514s + gdbus-codegen --help 1514s usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 1514s [--c-namespace NAMESPACE] [--c-generate-object-manager] 1514s [--c-generate-autocleanup {none,objects,all}] 1514s [--generate-docbook OUTFILES] [--generate-md OUTFILES] 1514s [--generate-rst OUTFILES] [--pragma-once] 1514s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 1514s [--glib-min-required VERSION] 1514s [--glib-max-allowed VERSION] 1514s [--symbol-decorator SYMBOL_DECORATOR] 1514s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 1514s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 1514s [--generate-c-code OUTFILES | --header | --body | 1514s --interface-info-header | --interface-info-body] 1514s [--output FILE | --output-directory OUTDIR] 1514s FILE [FILE ...] 1514s 1514s D-Bus code and documentation generator 1514s 1514s positional arguments: 1514s FILE D-Bus introspection XML file 1514s 1514s options: 1514s -h, --help show this help message and exit 1514s --interface-prefix PREFIX 1514s String to strip from D-Bus interface names for code 1514s and docs 1514s --c-namespace NAMESPACE 1514s The namespace to use for generated C code 1514s --c-generate-object-manager 1514s Generate a GDBusObjectManagerClient subclass when 1514s generating C code 1514s --c-generate-autocleanup {none,objects,all} 1514s Generate autocleanup support 1514s --generate-docbook OUTFILES 1514s Generate Docbook in OUTFILES-org.Project.IFace.xml 1514s --generate-md OUTFILES 1514s Generate Markdown in OUTFILES-org.Project.IFace.md 1514s --generate-rst OUTFILES 1514s Generate reStructuredText in OUTFILES- 1514s org.Project.IFace.rst 1514s --pragma-once Use "pragma once" as the inclusion guard 1514s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 1514s Add annotation (may be used several times) 1514s --glib-min-required VERSION 1514s Minimum version of GLib to be supported by the 1514s outputted code (default: 2.30) 1514s --glib-max-allowed VERSION 1514s Maximum version of GLib to be used by the outputted 1514s code (default: current GLib version) 1514s --symbol-decorator SYMBOL_DECORATOR 1514s Macro used to decorate a symbol in the outputted 1514s header, possibly to export symbols 1514s --symbol-decorator-header SYMBOL_DECORATOR_HEADER 1514s Additional header required for decorator specified by 1514s --symbol-decorator 1514s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 1514s Additional define required for decorator specified by 1514s --symbol-decorator 1514s --generate-c-code OUTFILES 1514s Generate C code in OUTFILES.[ch] 1514s --header Generate C headers 1514s --body Generate C code 1514s --interface-info-header 1514s Generate GDBusInterfaceInfo C header 1514s --interface-info-body 1514s Generate GDBusInterfaceInfo C code 1514s --output FILE Write output into the specified file 1514s --output-directory OUTDIR 1514s Location to output generated files 1514s + glib-compile-resources --version 1514s + glib-genmarshal --version 1514s 2.83.4 1514s glib-genmarshal version 2.83.4 1514s glib-genmarshal comes with ABSOLUTELY NO WARRANTY. 1514s You may redistribute copies of glib-genmarshal under the terms of 1514s the GNU General Public License which can be found in the 1514s GLib source package. Sources, examples and contact 1514s information are available at http://www.gtk.org 1514s + glib-gettextize --version 1514s + glib-mkenums --version 1514s /usr/bin/glib-gettextize (GNU glib) 2.83.4 1514s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. 1514s This is free software; see the source for copying conditions. There is NO 1514s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 1514s Written by Ulrich Drepper 1514s glib-mkenums version 2.83.4 1514s glib-mkenums comes with ABSOLUTELY NO WARRANTY. 1514s You may redistribute copies of glib-mkenums under the terms of 1514s the GNU General Public License which can be found in the 1514s GLib source package. Sources, examples and contact 1514s information are available at http://www.gtk.org 1514s + gobject-query tree 1514s GObject 1514s gtester version 2.83.4 1514s + gtester --version 1514s + gtester-report --version 1514s gtester-report (GLib utils) version 2.83.4. 1514s + cd /tmp/autopkgtest.v8E5kR/autopkgtest_tmp 1514s + dpkg-architecture -qDEB_HOST_MULTIARCH 1514s + DEB_HOST_MULTIARCH=arm-linux-gnueabihf 1514s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject 1514s + gi-compile-repository -o GLib.typelib /usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir 1514s typelib: GLib-2.0 1514s + gi-decompile-typelib -o GLib.gir GLib.typelib 1515s autopkgtest [05:16:35]: test libglib2.0-dev: -----------------------] 1519s autopkgtest [05:16:39]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - - 1519s libglib2.0-dev PASS (superficial) 1523s autopkgtest [05:16:43]: test installed-tests: preparing testbed 1577s autopkgtest [05:17:37]: testbed dpkg architecture: armhf 1580s autopkgtest [05:17:40]: testbed apt version: 2.9.14ubuntu1 1584s autopkgtest [05:17:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 1586s autopkgtest [05:17:46]: testbed release detected to be: plucky 1595s autopkgtest [05:17:55]: updating testbed package index (apt update) 1597s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 1598s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [249 kB] 1598s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [110 kB] 1598s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [110 kB] 1598s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB] 1598s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB] 1598s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 1598s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB] 1598s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [125 kB] 1598s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Components [26.6 kB] 1598s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [760 B] 1598s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Components [216 B] 1598s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [424 kB] 1598s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Components [213 kB] 1598s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [1796 B] 1598s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Components [1076 B] 1598s Get:17 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [298 kB] 1598s Get:18 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 1599s Get:19 http://ftpmaster.internal/ubuntu plucky/main Sources [1384 kB] 1599s Get:20 http://ftpmaster.internal/ubuntu plucky/restricted Sources [16.3 kB] 1599s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1370 kB] 1599s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf Components [401 kB] 1599s Get:23 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2900 B] 1599s Get:24 http://ftpmaster.internal/ubuntu plucky/restricted armhf Components [196 B] 1599s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.1 MB] 1599s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf Components [3953 kB] 1599s Get:27 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 1599s Get:28 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Components [39.8 kB] 1599s Get:29 http://ftpmaster.internal/ubuntu plucky-updates/main armhf Components [208 B] 1599s Get:30 http://ftpmaster.internal/ubuntu plucky-updates/restricted armhf Components [212 B] 1600s Get:31 http://ftpmaster.internal/ubuntu plucky-updates/universe armhf Components [212 B] 1600s Get:32 http://ftpmaster.internal/ubuntu plucky-updates/multiverse armhf Components [212 B] 1600s Get:33 http://ftpmaster.internal/ubuntu plucky-security/main armhf Components [204 B] 1600s Get:34 http://ftpmaster.internal/ubuntu plucky-security/restricted armhf Components [208 B] 1600s Get:35 http://ftpmaster.internal/ubuntu plucky-security/universe armhf Components [208 B] 1600s Get:36 http://ftpmaster.internal/ubuntu plucky-security/multiverse armhf Components [208 B] 1606s Fetched 45.7 MB in 7s (6861 kB/s) 1607s Reading package lists... 1614s autopkgtest [05:18:14]: upgrading testbed (apt dist-upgrade and autopurge) 1616s Reading package lists... 1616s Building dependency tree... 1616s Reading state information... 1617s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 1617s Starting 2 pkgProblemResolver with broken count: 0 1617s Done 1618s Entering ResolveByKeep 1618s 1619s The following packages were automatically installed and are no longer required: 1619s libapt-pkg6.0t64 libassuan0 libicu74 libnsl2 libpython3.12-minimal 1619s libpython3.12-stdlib libunwind8 linux-headers-6.11.0-8 1619s linux-headers-6.11.0-8-generic python3.12 python3.12-minimal 1619s Use 'apt autoremove' to remove them. 1619s The following NEW packages will be installed: 1619s gcc-15-base libapt-pkg7.0 libicu76 libjemalloc2 libpython3.13-minimal 1619s libpython3.13-stdlib linux-headers-6.12.0-15 linux-headers-6.12.0-15-generic 1619s login.defs openssl-provider-legacy python3-bcrypt python3.13 1619s python3.13-minimal 1619s The following packages will be upgraded: 1619s apparmor apport apport-core-dump-handler appstream apt apt-utils base-files 1619s base-passwd bash bash-completion bind9-dnsutils bind9-host bind9-libs 1619s binutils binutils-arm-linux-gnueabihf binutils-common bsdextrautils bsdutils 1619s btrfs-progs busybox-initramfs busybox-static ca-certificates cloud-init 1619s cloud-init-base console-setup console-setup-linux coreutils cron 1619s cron-daemon-common cryptsetup-bin curl dash dbus dbus-bin dbus-daemon 1619s dbus-session-bus-common dbus-system-bus-common dbus-user-session dhcpcd-base 1619s diffutils dirmngr distro-info dmsetup dpkg dpkg-dev dracut-install e2fsprogs 1619s e2fsprogs-l10n ed eject ethtool fdisk fwupd gcc-14-base gettext-base 1619s gir1.2-girepository-2.0 gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg 1619s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 1619s groff-base gzip htop ibverbs-providers inetutils-telnet init 1619s init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core 1619s iproute2 iptables iputils-ping iputils-tracepath kbd keyboard-configuration 1619s keyboxd kpartx krb5-locales libapparmor1 libappstream5 libapt-pkg6.0t64 1619s libarchive13t64 libatomic1 libbinutils libblkid1 libblockdev-crypto3 1619s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 1619s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 libbpf1 1619s libc-bin libc6 libcap-ng0 libcbor0.10 libcom-err2 libcrypt1 libcryptsetup12 1619s libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 libdbus-1-3 1619s libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libedit2 libext2fs2t64 1619s libfdisk1 libffi8 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 1619s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 1619s libgnutls30t64 libgpg-error-l10n libgpg-error0 libgpgme11t64 1619s libgssapi-krb5-2 libgstreamer1.0-0 libgudev-1.0-0 libhogweed6t64 libibverbs1 1619s libicu74 libip4tc2 libip6tc2 libjson-glib-1.0-0 libjson-glib-1.0-common 1619s libk5crypto3 libkrb5-3 libkrb5support0 libldap-common libldap2 liblsof0 1619s liblz4-1 libmaxminddb0 libmount1 libncurses6 libncursesw6 libnetplan1 1619s libnettle8t64 libnewt0.52 libnftables1 libnftnl11 libnpth0t64 libnspr4 1619s libnss-systemd libnss3 libnvme1t64 libp11-kit0 libpackagekit-glib2-18 1619s libpam-systemd libpcap0.8t64 libperl5.40 libplymouth5 libpng16-16t64 1619s libpolkit-agent-1-0 libpolkit-gobject-1-0 libprotobuf-c1 libpython3-stdlib 1619s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 1619s libreadline8t64 libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 1619s libsemanage-common libsemanage2 libsframe1 libsmartcols1 libss2 libssl3t64 1619s libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtinfo6 libtraceevent1 1619s libtraceevent1-plugin libudev1 libudisks2-0 libunistring5 liburcu8t64 1619s libusb-1.0-0 libuuid1 libvolume-key1 libwrap0 libxdmcp6 libxkbcommon0 1619s libxml2 libxtables12 libxxhash0 libyaml-0-2 libzstd1 linux-headers-generic 1619s locales login logsave lshw lsof lto-disabled-list make mawk motd-news-config 1619s mount multipath-tools nano ncurses-base ncurses-bin ncurses-term 1619s netcat-openbsd netplan-generator netplan.io nftables openssl packagekit 1619s packagekit-tools passwd pci.ids perl perl-base perl-modules-5.40 1619s pinentry-curses plymouth plymouth-theme-ubuntu-text polkitd pollinate 1619s powermgmt-base psmisc publicsuffix python-apt-common python-babel-localedata 1619s python3 python3-apport python3-apt python3-attr python3-babel 1619s python3-certifi python3-chardet python3-cryptography python3-distro-info 1619s python3-gdbm python3-gi python3-idna python3-jinja2 python3-json-pointer 1619s python3-jsonpatch python3-jsonschema python3-jwt python3-launchpadlib 1619s python3-lazr.uri python3-minimal python3-more-itertools python3-netplan 1619s python3-newt python3-oauthlib python3-openssl python3-pkg-resources 1619s python3-problem-report python3-pygments python3-referencing python3-requests 1619s python3-rich python3-setuptools python3-software-properties python3-urllib3 1619s python3-wadllib python3.12 python3.12-gdbm python3.12-minimal 1619s python3.13-gdbm readline-common rsync rsyslog software-properties-common 1619s systemd systemd-cryptsetup systemd-resolved systemd-sysv systemd-timesyncd 1619s sysvinit-utils tar telnet tmux tzdata ubuntu-minimal ubuntu-pro-client 1619s ubuntu-pro-client-l10n ubuntu-standard ucf udev udisks2 ufw 1619s unattended-upgrades usb.ids util-linux uuid-runtime vim-common vim-tiny 1619s whiptail xauth xfsprogs xxd zstd 1619s 323 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 1619s Need to get 148 MB of archives. 1619s After this operation, 204 MB of additional disk space will be used. 1619s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf motd-news-config all 13.6ubuntu1 [5168 B] 1619s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-15-base armhf 15-20250213-1ubuntu1 [53.2 kB] 1619s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 15-20250213-1ubuntu1 [40.6 kB] 1619s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 1620s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt1 armhf 1:4.4.38-1 [91.7 kB] 1620s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf base-files armhf 13.6ubuntu1 [75.3 kB] 1620s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 1620s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-14ubuntu1 [110 kB] 1620s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf coreutils armhf 9.5-1ubuntu1 [1275 kB] 1620s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf dash armhf 0.5.12-12ubuntu1 [87.4 kB] 1620s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf diffutils armhf 1:3.10-2 [172 kB] 1620s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libxxhash0 armhf 0.8.3-2 [30.8 kB] 1620s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf liblz4-1 armhf 1.10.0-3 [57.2 kB] 1620s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.1-1ubuntu1 [29.5 kB] 1620s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.1-1ubuntu1 [1771 kB] 1620s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libzstd1 armhf 1.5.6+dfsg-2 [266 kB] 1620s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 15-20250213-1ubuntu1 [725 kB] 1620s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257.2-3ubuntu1 [42.1 kB] 1620s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-session-bus-common all 1.16.0-1ubuntu1 [53.1 kB] 1620s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257.2-3ubuntu1 [11.9 kB] 1620s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257.2-3ubuntu1 [238 kB] 1620s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-user-session armhf 1.16.0-1ubuntu1 [9684 B] 1620s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libapparmor1 armhf 4.1.0~beta5-0ubuntu5 [48.7 kB] 1620s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 1620s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 1620s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-system-bus-common all 1.16.0-1ubuntu1 [54.3 kB] 1620s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-bin armhf 1.16.0-1ubuntu1 [37.9 kB] 1620s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf dbus armhf 1.16.0-1ubuntu1 [28.1 kB] 1620s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-daemon armhf 1.16.0-1ubuntu1 [111 kB] 1620s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libdbus-1-3 armhf 1.16.0-1ubuntu1 [162 kB] 1620s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257.2-3ubuntu1 [315 kB] 1620s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libncurses6 armhf 6.5+20250125-2 [88.8 kB] 1620s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libncursesw6 armhf 6.5+20250125-2 [118 kB] 1620s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libtinfo6 armhf 6.5+20250125-2 [91.9 kB] 1620s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-14ubuntu1 [94.2 kB] 1620s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-14ubuntu1 [63.4 kB] 1620s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-14ubuntu1 [157 kB] 1620s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-14ubuntu1 [169 kB] 1620s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-14ubuntu1 [194 kB] 1620s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-14ubuntu1 [137 kB] 1620s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-14ubuntu1 [41.0 kB] 1620s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-14ubuntu1 [1190 kB] 1620s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-14ubuntu1 [63.7 kB] 1620s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-14ubuntu1 [217 kB] 1620s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-14ubuntu1 [158 kB] 1620s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 1620s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 1620s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257.2-3ubuntu1 [126 kB] 1620s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257.2-3ubuntu1 [2203 kB] 1620s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257.2-3ubuntu1 [164 kB] 1620s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257.2-3ubuntu1 [3028 kB] 1621s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257.2-3ubuntu1 [1402 kB] 1621s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257.2-3ubuntu1 [193 kB] 1621s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libdevmapper1.02.1 armhf 2:1.02.201-1ubuntu1 [137 kB] 1621s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf libcryptsetup12 armhf 2:2.7.5-1ubuntu2 [246 kB] 1621s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257.2-3ubuntu1 [494 kB] 1621s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.29 [1086 kB] 1621s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 1621s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg armhf 1.22.11ubuntu4 [1242 kB] 1621s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf gzip armhf 1.13-1ubuntu2 [98.1 kB] 1621s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-bin armhf 6.5+20250125-2 [179 kB] 1621s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf perl-modules-5.40 all 5.40.1-2 [3217 kB] 1621s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf libperl5.40 armhf 5.40.1-2 [4135 kB] 1621s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf perl armhf 5.40.1-2 [262 kB] 1621s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf perl-base armhf 5.40.1-2 [1667 kB] 1621s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 1621s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 1621s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf init-system-helpers all 1.68 [39.0 kB] 1621s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 1621s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-base all 6.5+20250125-2 [25.8 kB] 1621s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-term all 6.5+20250125-2 [276 kB] 1621s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf kbd armhf 2.7.1-2ubuntu1 [214 kB] 1621s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup-linux all 1.226ubuntu3 [1880 kB] 1621s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup all 1.226ubuntu3 [110 kB] 1621s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf keyboard-configuration all 1.226ubuntu3 [212 kB] 1621s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf sysvinit-utils armhf 3.14-1ubuntu1 [35.1 kB] 1621s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg7.0 armhf 2.9.30ubuntu1 [1067 kB] 1621s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.30ubuntu1 [1392 kB] 1621s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.30ubuntu1 [214 kB] 1621s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 1621s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 1621s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 1621s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu22 [87.5 kB] 1621s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu22 [347 kB] 1621s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu22 [242 kB] 1621s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu22 [159 kB] 1621s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu22 [237 kB] 1621s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu22 [525 kB] 1621s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu22 [116 kB] 1621s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu22 [359 kB] 1621s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu22 [111 kB] 1621s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-2ubuntu2 [40.6 kB] 1621s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf libnettle8t64 armhf 3.10.1-1 [188 kB] 1621s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf libhogweed6t64 armhf 3.10.1-1 [188 kB] 1621s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libffi8 armhf 3.4.7-1 [21.1 kB] 1621s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libp11-kit0 armhf 0.25.5-2ubuntu3 [261 kB] 1621s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtasn1-6 armhf 4.20.0-2 [38.2 kB] 1621s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 1621s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.9-2ubuntu2 [961 kB] 1621s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8build1 [19.0 kB] 1621s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8build1 [49.9 kB] 1622s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libldap-common all 2.6.9+dfsg-1~exp2ubuntu1 [33.2 kB] 1622s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libldap2 armhf 2.6.9+dfsg-1~exp2ubuntu1 [177 kB] 1622s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu22 [225 kB] 1622s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 1622s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf logsave armhf 1.47.2-1ubuntu1 [25.7 kB] 1622s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-minimal armhf 1.547 [11.4 kB] 1622s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools all 0.145ubuntu2 [7948 B] 1622s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-core all 0.145ubuntu2 [51.5 kB] 1622s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libext2fs2t64 armhf 1.47.2-1ubuntu1 [207 kB] 1622s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs armhf 1.47.2-1ubuntu1 [588 kB] 1622s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf dhcpcd-base armhf 1:10.1.0-7 [188 kB] 1622s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf init armhf 1.68 [6296 B] 1622s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 1622s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf iptables armhf 1.8.11-2ubuntu1 [342 kB] 1622s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf libip4tc2 armhf 1.8.11-2ubuntu1 [21.7 kB] 1622s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libip6tc2 armhf 1.8.11-2ubuntu1 [22.1 kB] 1622s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf libnftnl11 armhf 1.2.8-1 [53.3 kB] 1622s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libxtables12 armhf 1.8.11-2ubuntu1 [33.0 kB] 1622s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf iproute2 armhf 6.13.0-1ubuntu1 [1096 kB] 1622s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 1622s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 1622s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 1622s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf login armhf 1:4.16.0-2+really2.40.2-14ubuntu1 [85.0 kB] 1622s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf mawk armhf 1.3.4.20250131-1 [119 kB] 1622s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf netcat-openbsd armhf 1.228-1 [42.4 kB] 1622s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.2-1 [868 kB] 1622s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.2-1 [2012 kB] 1622s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 1622s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 1622s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 1622s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 1622s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2025a-2ubuntu1 [198 kB] 1622s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.2-1 [1969 kB] 1622s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.2-1 [734 kB] 1623s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 1623s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-4 [25.3 kB] 1623s Get:138 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf gir1.2-glib-2.0 armhf 2.83.4-1 [185 kB] 1623s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-4 [109 kB] 1623s Get:140 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-data all 2.83.4-1 [52.9 kB] 1623s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-bin armhf 2.83.4-1 [92.7 kB] 1623s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 15-20250213-1ubuntu1 [7938 B] 1623s Get:143 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-0t64 armhf 2.83.4-1 [1453 kB] 1623s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf netplan-generator armhf 1.1.2-2ubuntu1 [60.8 kB] 1623s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 1623s Get:146 http://ftpmaster.internal/ubuntu plucky/main armhf python3-netplan armhf 1.1.2-2ubuntu1 [24.2 kB] 1623s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf netplan.io armhf 1.1.2-2ubuntu1 [67.7 kB] 1623s Get:148 http://ftpmaster.internal/ubuntu plucky/main armhf libnetplan1 armhf 1.1.2-2ubuntu1 [123 kB] 1623s Get:149 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 1623s Get:150 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage-common all 3.7-2.1 [7198 B] 1623s Get:151 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage2 armhf 3.7-2.1 [85.4 kB] 1623s Get:152 http://ftpmaster.internal/ubuntu plucky/main armhf passwd armhf 1:4.16.0-7ubuntu1 [1041 kB] 1623s Get:153 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client-l10n armhf 34.1.3 [18.3 kB] 1623s Get:154 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.9 [21.2 kB] 1623s Get:155 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.9 [173 kB] 1623s Get:156 http://ftpmaster.internal/ubuntu plucky/main armhf distro-info armhf 1.13 [19.1 kB] 1623s Get:157 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client armhf 34.1.3 [243 kB] 1623s Get:158 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0967-1ubuntu2 [696 kB] 1623s Get:159 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0967-1ubuntu2 [396 kB] 1623s Get:160 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 1623s Get:161 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 1623s Get:162 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 1623s Get:163 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 106-2ubuntu1 [38.7 kB] 1623s Get:164 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-bin armhf 0.145ubuntu2 [24.5 kB] 1623s Get:165 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-initramfs armhf 1:1.37.0-4ubuntu1 [188 kB] 1623s Get:166 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.9-1 [671 kB] 1623s Get:167 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.9-1 [1946 kB] 1623s Get:168 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.9-1 [2012 kB] 1623s Get:169 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.9-1 [825 kB] 1623s Get:170 http://ftpmaster.internal/ubuntu plucky/main armhf cron armhf 3.0pl1-192ubuntu1 [84.2 kB] 1623s Get:171 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.4.1-0syncable1 [422 kB] 1623s Get:172 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lazr.uri all 1.0.6-5 [13.6 kB] 1623s Get:173 http://ftpmaster.internal/ubuntu plucky/main armhf python3-launchpadlib all 2.1.0-1 [126 kB] 1623s Get:174 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB] 1623s Get:175 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB] 1623s Get:176 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gi armhf 3.50.0-4 [260 kB] 1623s Get:177 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB] 1623s Get:178 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB] 1623s Get:179 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-17ubuntu3 [53.6 kB] 1623s Get:180 http://ftpmaster.internal/ubuntu plucky/main armhf libcom-err2 armhf 1.47.2-1ubuntu1 [25.6 kB] 1623s Get:181 http://ftpmaster.internal/ubuntu plucky/main armhf libss2 armhf 1.47.2-1ubuntu1 [15.6 kB] 1623s Get:182 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.1-1ubuntu1 [1152 kB] 1623s Get:183 http://ftpmaster.internal/ubuntu plucky/main armhf ca-certificates all 20241223 [165 kB] 1623s Get:184 http://ftpmaster.internal/ubuntu plucky/main armhf krb5-locales all 1.21.3-4ubuntu1 [14.7 kB] 1623s Get:185 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 1623s Get:186 http://ftpmaster.internal/ubuntu plucky/main armhf libgssapi-krb5-2 armhf 1.21.3-4ubuntu1 [121 kB] 1623s Get:187 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5-3 armhf 1.21.3-4ubuntu1 [314 kB] 1623s Get:188 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5support0 armhf 1.21.3-4ubuntu1 [31.8 kB] 1623s Get:189 http://ftpmaster.internal/ubuntu plucky/main armhf libk5crypto3 armhf 1.21.3-4ubuntu1 [78.6 kB] 1623s Get:190 http://ftpmaster.internal/ubuntu plucky/main armhf libicu74 armhf 74.2-1ubuntu6 [10.5 MB] 1624s Get:191 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2ubuntu3 [599 kB] 1624s Get:192 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pygments all 2.18.0+dfsg-2 [835 kB] 1624s Get:193 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 1624s Get:194 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0050 [43.5 kB] 1624s Get:195 http://ftpmaster.internal/ubuntu plucky/main armhf rsyslog armhf 8.2412.0-2ubuntu1 [471 kB] 1624s Get:196 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0967-1ubuntu2 [67.5 kB] 1624s Get:197 http://ftpmaster.internal/ubuntu plucky/main armhf apparmor armhf 4.1.0~beta5-0ubuntu5 [605 kB] 1624s Get:198 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-7 [214 kB] 1624s Get:199 http://ftpmaster.internal/ubuntu plucky/main armhf libjemalloc2 armhf 5.3.0-2build1 [200 kB] 1624s Get:200 http://ftpmaster.internal/ubuntu plucky/main armhf libmaxminddb0 armhf 1.12.2-1 [16.9 kB] 1624s Get:201 http://ftpmaster.internal/ubuntu plucky/main armhf liburcu8t64 armhf 0.15.1-1 [57.1 kB] 1624s Get:202 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-dnsutils armhf 1:9.20.4-3ubuntu1 [155 kB] 1624s Get:203 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-host armhf 1:9.20.4-3ubuntu1 [46.4 kB] 1624s Get:204 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-libs armhf 1:9.20.4-3ubuntu1 [1186 kB] 1624s Get:205 http://ftpmaster.internal/ubuntu plucky/main armhf libedit2 armhf 3.1-20250104-1 [79.3 kB] 1624s Get:206 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-static armhf 1:1.37.0-4ubuntu1 [857 kB] 1624s Get:207 http://ftpmaster.internal/ubuntu plucky/main armhf cron-daemon-common all 3.0pl1-192ubuntu1 [14.5 kB] 1624s Get:208 http://ftpmaster.internal/ubuntu plucky/main armhf dmsetup armhf 2:1.02.201-1ubuntu1 [80.4 kB] 1624s Get:209 http://ftpmaster.internal/ubuntu plucky/main armhf ed armhf 1.21-1 [52.8 kB] 1624s Get:210 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.23.1-1 [43.3 kB] 1624s Get:211 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 1624s Get:212 http://ftpmaster.internal/ubuntu plucky/main armhf libibverbs1 armhf 55.0-1ubuntu1 [58.5 kB] 1624s Get:213 http://ftpmaster.internal/ubuntu plucky/main armhf ibverbs-providers armhf 55.0-1ubuntu1 [27.6 kB] 1624s Get:214 http://ftpmaster.internal/ubuntu plucky/main armhf inetutils-telnet armhf 2:2.5-6ubuntu1 [94.7 kB] 1625s Get:215 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 1625s Get:216 http://ftpmaster.internal/ubuntu plucky/main armhf libcbor0.10 armhf 0.10.2-2ubuntu1 [22.0 kB] 1625s Get:217 http://ftpmaster.internal/ubuntu plucky/main armhf nftables armhf 1.1.1-1build1 [70.8 kB] 1625s Get:218 http://ftpmaster.internal/ubuntu plucky/main armhf libnftables1 armhf 1.1.1-1build1 [321 kB] 1625s Get:219 http://ftpmaster.internal/ubuntu plucky/main armhf libpcap0.8t64 armhf 1.10.5-2ubuntu1 [140 kB] 1625s Get:220 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.46-4 [171 kB] 1625s Get:221 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 1625s Get:222 http://ftpmaster.internal/ubuntu plucky/main armhf libplymouth5 armhf 24.004.60-2ubuntu5 [142 kB] 1625s Get:223 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 1625s Get:224 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 1625s Get:225 http://ftpmaster.internal/ubuntu plucky/main armhf libusb-1.0-0 armhf 2:1.0.27-2 [49.5 kB] 1625s Get:226 http://ftpmaster.internal/ubuntu plucky/main armhf libxdmcp6 armhf 1:1.1.5-1 [9060 B] 1625s Get:227 http://ftpmaster.internal/ubuntu plucky/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1 [311 kB] 1625s Get:228 http://ftpmaster.internal/ubuntu plucky/main armhf lsof armhf 4.99.4+dfsg-2 [239 kB] 1625s Get:229 http://ftpmaster.internal/ubuntu plucky/main armhf liblsof0 armhf 4.99.4+dfsg-2 [60.8 kB] 1625s Get:230 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.3-1 [277 kB] 1625s Get:231 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2025.02.12-1 [284 kB] 1625s Get:232 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-2ubuntu5 [9914 B] 1625s Get:233 http://ftpmaster.internal/ubuntu plucky/main armhf libpackagekit-glib2-18 armhf 1.3.0-3build1 [109 kB] 1625s Get:234 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit-tools armhf 1.3.0-3build1 [28.0 kB] 1625s Get:235 http://ftpmaster.internal/ubuntu plucky/main armhf polkitd armhf 126-2 [92.5 kB] 1625s Get:236 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-agent-1-0 armhf 126-2 [15.1 kB] 1625s Get:237 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-gobject-1-0 armhf 126-2 [45.0 kB] 1625s Get:238 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [330 kB] 1625s Get:239 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 1625s Get:240 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.25.50-1 [1164 kB] 1625s Get:241 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit armhf 1.3.0-3build1 [431 kB] 1625s Get:242 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth armhf 24.004.60-2ubuntu5 [143 kB] 1625s Get:243 http://ftpmaster.internal/ubuntu plucky/main armhf powermgmt-base all 1.38 [7378 B] 1625s Get:244 http://ftpmaster.internal/ubuntu plucky/main armhf psmisc armhf 23.7-2 [177 kB] 1625s Get:245 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20250108.1153-0.1 [134 kB] 1625s Get:246 http://ftpmaster.internal/ubuntu plucky/main armhf python3-distro-info all 1.13 [7798 B] 1625s Get:247 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.2-1 [30.2 kB] 1625s Get:248 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.9-1 [29.3 kB] 1625s Get:249 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 1625s Get:250 http://ftpmaster.internal/ubuntu plucky/main armhf telnet all 0.17+2.5-6ubuntu1 [3694 B] 1625s Get:251 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-standard armhf 1.547 [11.4 kB] 1625s Get:252 http://ftpmaster.internal/ubuntu plucky/main armhf ufw all 0.36.2-9 [170 kB] 1625s Get:253 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2025.01.14-1 [223 kB] 1625s Get:254 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 1625s Get:255 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 1625s Get:256 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.44-2ubuntu1 [74.3 kB] 1625s Get:257 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.44-2ubuntu1 [77.6 kB] 1625s Get:258 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.44-2ubuntu1 [995 kB] 1625s Get:259 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.44-2ubuntu1 [405 kB] 1625s Get:260 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.44-2ubuntu1 [3234 B] 1625s Get:261 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.44-2ubuntu1 [215 kB] 1625s Get:262 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.44-2ubuntu1 [12.4 kB] 1625s Get:263 http://ftpmaster.internal/ubuntu plucky/main armhf btrfs-progs armhf 6.12-1build1 [884 kB] 1625s Get:264 http://ftpmaster.internal/ubuntu plucky/main armhf python3-certifi all 2025.1.31+ds-1 [9816 B] 1625s Get:265 http://ftpmaster.internal/ubuntu plucky/main armhf python3-chardet all 5.2.0+dfsg-2 [116 kB] 1625s Get:266 http://ftpmaster.internal/ubuntu plucky/main armhf python3-idna all 3.10-1 [47.4 kB] 1625s Get:267 http://ftpmaster.internal/ubuntu plucky/main armhf python3-urllib3 all 2.3.0-1 [94.0 kB] 1625s Get:268 http://ftpmaster.internal/ubuntu plucky/main armhf python3-requests all 2.32.3+dfsg-4ubuntu1 [52.9 kB] 1625s Get:269 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2 [109 kB] 1625s Get:270 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 1625s Get:271 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 1625s Get:272 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 25.1.0-1 [50.4 kB] 1625s Get:273 http://ftpmaster.internal/ubuntu plucky/main armhf python3-referencing all 0.35.1-2ubuntu1 [21.9 kB] 1625s Get:274 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonschema all 4.19.2-6ubuntu1 [65.5 kB] 1625s Get:275 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jwt all 2.10.1-2 [21.0 kB] 1625s Get:276 http://ftpmaster.internal/ubuntu plucky/main armhf python3-oauthlib all 3.2.2-3 [89.9 kB] 1625s Get:277 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init-base all 25.1-0ubuntu1 [616 kB] 1625s Get:278 http://ftpmaster.internal/ubuntu plucky/main armhf cryptsetup-bin armhf 2:2.7.5-1ubuntu2 [220 kB] 1625s Get:279 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [247 kB] 1625s Get:280 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [335 kB] 1625s Get:281 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-dev all 1.22.11ubuntu4 [1088 kB] 1625s Get:282 http://ftpmaster.internal/ubuntu plucky/main armhf libdpkg-perl all 1.22.11ubuntu4 [279 kB] 1625s Get:283 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 1625s Get:284 http://ftpmaster.internal/ubuntu plucky/main armhf lto-disabled-list all 56 [12.4 kB] 1625s Get:285 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive13t64 armhf 3.7.7-0ubuntu1 [335 kB] 1625s Get:286 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 1625s Get:287 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 1625s Get:288 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.6-3 [5155 kB] 1626s Get:289 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.6-3 [125 kB] 1626s Get:290 http://ftpmaster.internal/ubuntu plucky/main armhf libprotobuf-c1 armhf 1.5.1-1ubuntu1 [18.1 kB] 1626s Get:291 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 1626s Get:292 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 1626s Get:293 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-packagekitglib-1.0 armhf 1.3.0-3build1 [25.5 kB] 1626s Get:294 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu22 [66.4 kB] 1626s Get:295 http://ftpmaster.internal/ubuntu plucky/main armhf htop armhf 3.3.0-5 [140 kB] 1626s Get:296 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-utils3 armhf 3.3.0-1 [17.5 kB] 1626s Get:297 http://ftpmaster.internal/ubuntu plucky/main armhf libnspr4 armhf 2:4.36-1ubuntu1 [94.5 kB] 1626s Get:298 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.108-1ubuntu1 [1317 kB] 1626s Get:299 http://ftpmaster.internal/ubuntu plucky/main armhf libgpgme11t64 armhf 1.24.2-1ubuntu1 [125 kB] 1626s Get:300 http://ftpmaster.internal/ubuntu plucky/main armhf libvolume-key1 armhf 0.3.12-9 [39.1 kB] 1626s Get:301 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-crypto3 armhf 3.3.0-1 [22.4 kB] 1626s Get:302 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-fs3 armhf 3.3.0-1 [34.5 kB] 1626s Get:303 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-loop3 armhf 3.3.0-1 [6594 B] 1626s Get:304 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-mdraid3 armhf 3.3.0-1 [13.4 kB] 1626s Get:305 http://ftpmaster.internal/ubuntu plucky/main armhf libnvme1t64 armhf 1.11.1-2 [73.6 kB] 1626s Get:306 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-nvme3 armhf 3.3.0-1 [17.7 kB] 1626s Get:307 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-part3 armhf 3.3.0-1 [16.6 kB] 1626s Get:308 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-swap3 armhf 3.3.0-1 [9010 B] 1626s Get:309 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev3 armhf 3.3.0-1 [44.4 kB] 1626s Get:310 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 1626s Get:311 http://ftpmaster.internal/ubuntu plucky/main armhf libgudev-1.0-0 armhf 1:238-6 [13.7 kB] 1626s Get:312 http://ftpmaster.internal/ubuntu plucky/main armhf libicu76 armhf 76.1-1ubuntu2 [10.8 MB] 1627s Get:313 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules armhf 2.1.28+dfsg1-8build1 [62.7 kB] 1627s Get:314 http://ftpmaster.internal/ubuntu plucky/main armhf udisks2 armhf 2.10.1-11ubuntu2 [278 kB] 1627s Get:315 http://ftpmaster.internal/ubuntu plucky/main armhf libudisks2-0 armhf 2.10.1-11ubuntu2 [142 kB] 1627s Get:316 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-35 [45.6 kB] 1627s Get:317 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15 all 6.12.0-15.15 [14.1 MB] 1627s Get:318 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15-generic armhf 6.12.0-15.15 [1414 kB] 1627s Get:319 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-generic armhf 6.12.0-15.15+1 [10.8 kB] 1627s Get:320 http://ftpmaster.internal/ubuntu plucky/main armhf pollinate all 4.33-4ubuntu2 [12.4 kB] 1627s Get:321 http://ftpmaster.internal/ubuntu plucky/main armhf python3-babel all 2.17.0-1 [101 kB] 1627s Get:322 http://ftpmaster.internal/ubuntu plucky/main armhf python-babel-localedata all 2.17.0-1 [6678 kB] 1627s Get:323 http://ftpmaster.internal/ubuntu plucky/main armhf python3-more-itertools all 10.6.0-1 [57.7 kB] 1627s Get:324 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 25.0.0-1 [46.1 kB] 1627s Get:325 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 1627s Get:326 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 1627s Get:327 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.109 [16.5 kB] 1627s Get:328 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.109 [31.0 kB] 1627s Get:329 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 1627s Get:330 http://ftpmaster.internal/ubuntu plucky/main armhf tmux armhf 3.5a-3 [406 kB] 1627s Get:331 http://ftpmaster.internal/ubuntu plucky/main armhf unattended-upgrades all 2.12ubuntu4 [58.5 kB] 1627s Get:332 http://ftpmaster.internal/ubuntu plucky/main armhf xfsprogs armhf 6.12.0-1ubuntu1 [958 kB] 1627s Get:333 http://ftpmaster.internal/ubuntu plucky/main armhf zstd armhf 1.5.6+dfsg-2 [690 kB] 1627s Get:334 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init all 25.1-0ubuntu1 [2088 B] 1627s Get:335 http://ftpmaster.internal/ubuntu plucky/main armhf kpartx armhf 0.9.9-1ubuntu4 [35.0 kB] 1627s Get:336 http://ftpmaster.internal/ubuntu plucky/main armhf multipath-tools armhf 0.9.9-1ubuntu4 [294 kB] 1628s Preconfiguring packages ... 1630s Fetched 148 MB in 8s (18.1 MB/s) 1630s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 1630s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 1630s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 1630s Selecting previously unselected package gcc-15-base:armhf. 1630s Preparing to unpack .../gcc-15-base_15-20250213-1ubuntu1_armhf.deb ... 1630s Unpacking gcc-15-base:armhf (15-20250213-1ubuntu1) ... 1630s Setting up gcc-15-base:armhf (15-20250213-1ubuntu1) ... 1630s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1630s Preparing to unpack .../libgcc-s1_15-20250213-1ubuntu1_armhf.deb ... 1630s Unpacking libgcc-s1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 1631s Setting up libgcc-s1:armhf (15-20250213-1ubuntu1) ... 1631s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1631s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 1631s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1631s Setting up libc6:armhf (2.40-4ubuntu1) ... 1631s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1631s Preparing to unpack .../libcrypt1_1%3a4.4.38-1_armhf.deb ... 1631s Unpacking libcrypt1:armhf (1:4.4.38-1) over (1:4.4.36-5) ... 1631s Setting up libcrypt1:armhf (1:4.4.38-1) ... 1631s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1631s Preparing to unpack .../base-files_13.6ubuntu1_armhf.deb ... 1631s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 1632s Setting up base-files (13.6ubuntu1) ... 1632s Updating /root/.profile to current default. 1632s motd-news.service is a disabled or a static unit not running, not starting it. 1633s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1633s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 1633s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 1633s Setting up bash (5.2.37-1ubuntu1) ... 1633s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 1633s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1633s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_armhf.deb ... 1633s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu1) ... 1633s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 1633s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1633s Preparing to unpack .../coreutils_9.5-1ubuntu1_armhf.deb ... 1633s Unpacking coreutils (9.5-1ubuntu1) over (9.4-3.1ubuntu1) ... 1633s Setting up coreutils (9.5-1ubuntu1) ... 1633s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1633s Preparing to unpack .../dash_0.5.12-12ubuntu1_armhf.deb ... 1633s Unpacking dash (0.5.12-12ubuntu1) over (0.5.12-9ubuntu1) ... 1633s Setting up dash (0.5.12-12ubuntu1) ... 1633s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1633s Preparing to unpack .../diffutils_1%3a3.10-2_armhf.deb ... 1633s Unpacking diffutils (1:3.10-2) over (1:3.10-1build1) ... 1633s Setting up diffutils (1:3.10-2) ... 1633s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1633s Preparing to unpack .../libxxhash0_0.8.3-2_armhf.deb ... 1633s Unpacking libxxhash0:armhf (0.8.3-2) over (0.8.2-2build1) ... 1633s Setting up libxxhash0:armhf (0.8.3-2) ... 1633s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1633s Preparing to unpack .../liblz4-1_1.10.0-3_armhf.deb ... 1633s Unpacking liblz4-1:armhf (1.10.0-3) over (1.9.4-3) ... 1633s Setting up liblz4-1:armhf (1.10.0-3) ... 1633s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 1633s Preparing to unpack .../libssl3t64_3.4.1-1ubuntu1_armhf.deb ... 1633s Unpacking libssl3t64:armhf (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 1634s Selecting previously unselected package openssl-provider-legacy. 1634s Preparing to unpack .../openssl-provider-legacy_3.4.1-1ubuntu1_armhf.deb ... 1634s Unpacking openssl-provider-legacy (3.4.1-1ubuntu1) ... 1634s Setting up libssl3t64:armhf (3.4.1-1ubuntu1) ... 1634s Setting up openssl-provider-legacy (3.4.1-1ubuntu1) ... 1634s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 1634s Preparing to unpack .../libzstd1_1.5.6+dfsg-2_armhf.deb ... 1634s Unpacking libzstd1:armhf (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 1634s Setting up libzstd1:armhf (1.5.6+dfsg-2) ... 1634s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 1634s Preparing to unpack .../libstdc++6_15-20250213-1ubuntu1_armhf.deb ... 1634s Unpacking libstdc++6:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 1634s Setting up libstdc++6:armhf (15-20250213-1ubuntu1) ... 1634s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59977 files and directories currently installed.) 1634s Preparing to unpack .../0-systemd-timesyncd_257.2-3ubuntu1_armhf.deb ... 1634s Unpacking systemd-timesyncd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1634s Preparing to unpack .../1-dbus-session-bus-common_1.16.0-1ubuntu1_all.deb ... 1634s Unpacking dbus-session-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1634s Preparing to unpack .../2-systemd-sysv_257.2-3ubuntu1_armhf.deb ... 1634s Unpacking systemd-sysv (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1634s Preparing to unpack .../3-libpam-systemd_257.2-3ubuntu1_armhf.deb ... 1634s Unpacking libpam-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1634s Preparing to unpack .../4-dbus-user-session_1.16.0-1ubuntu1_armhf.deb ... 1634s Unpacking dbus-user-session (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1634s Preparing to unpack .../5-libapparmor1_4.1.0~beta5-0ubuntu5_armhf.deb ... 1634s Unpacking libapparmor1:armhf (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 1634s Preparing to unpack .../6-libcap-ng0_0.8.5-4_armhf.deb ... 1634s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 1634s Setting up libcap-ng0:armhf (0.8.5-4) ... 1634s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 1634s Preparing to unpack .../libselinux1_3.7-3ubuntu2_armhf.deb ... 1634s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 1634s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 1634s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 1634s Preparing to unpack .../0-dbus-system-bus-common_1.16.0-1ubuntu1_all.deb ... 1634s Unpacking dbus-system-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1634s Preparing to unpack .../1-dbus-bin_1.16.0-1ubuntu1_armhf.deb ... 1634s Unpacking dbus-bin (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1634s Preparing to unpack .../2-dbus_1.16.0-1ubuntu1_armhf.deb ... 1635s Unpacking dbus (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1635s Preparing to unpack .../3-dbus-daemon_1.16.0-1ubuntu1_armhf.deb ... 1635s Unpacking dbus-daemon (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1635s Preparing to unpack .../4-libdbus-1-3_1.16.0-1ubuntu1_armhf.deb ... 1635s Unpacking libdbus-1-3:armhf (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 1635s Preparing to unpack .../5-systemd-resolved_257.2-3ubuntu1_armhf.deb ... 1635s Unpacking systemd-resolved (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1635s Preparing to unpack .../6-libncurses6_6.5+20250125-2_armhf.deb ... 1635s Unpacking libncurses6:armhf (6.5+20250125-2) over (6.5-2) ... 1635s Preparing to unpack .../7-libncursesw6_6.5+20250125-2_armhf.deb ... 1635s Unpacking libncursesw6:armhf (6.5+20250125-2) over (6.5-2) ... 1635s Preparing to unpack .../8-libtinfo6_6.5+20250125-2_armhf.deb ... 1635s Unpacking libtinfo6:armhf (6.5+20250125-2) over (6.5-2) ... 1635s Setting up libtinfo6:armhf (6.5+20250125-2) ... 1635s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 1635s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_armhf.deb ... 1635s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1635s Preparing to unpack .../eject_2.40.2-14ubuntu1_armhf.deb ... 1635s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1635s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_armhf.deb ... 1635s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1635s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_armhf.deb ... 1635s Unpacking libblkid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1635s Setting up libblkid1:armhf (2.40.2-14ubuntu1) ... 1635s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 1635s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_armhf.deb ... 1635s Unpacking libmount1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1635s Setting up libmount1:armhf (2.40.2-14ubuntu1) ... 1635s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 1635s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_armhf.deb ... 1635s Unpacking libsmartcols1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1635s Setting up libsmartcols1:armhf (2.40.2-14ubuntu1) ... 1635s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 1635s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_armhf.deb ... 1635s Unpacking libuuid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1635s Setting up libuuid1:armhf (2.40.2-14ubuntu1) ... 1635s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59974 files and directories currently installed.) 1635s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_armhf.deb ... 1636s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1636s Setting up util-linux (2.40.2-14ubuntu1) ... 1636s fstrim.service is a disabled or a static unit not running, not starting it. 1636s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 1636s Preparing to unpack .../0-uuid-runtime_2.40.2-14ubuntu1_armhf.deb ... 1636s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1636s Preparing to unpack .../1-libfdisk1_2.40.2-14ubuntu1_armhf.deb ... 1636s Unpacking libfdisk1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1637s Preparing to unpack .../2-mount_2.40.2-14ubuntu1_armhf.deb ... 1637s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 1637s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 1637s Unpacking readline-common (8.2-6) over (8.2-5) ... 1637s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 1637s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 1637s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 1637s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 1637s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 1637s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 1637s Preparing to unpack .../5-systemd-cryptsetup_257.2-3ubuntu1_armhf.deb ... 1637s Unpacking systemd-cryptsetup (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1637s Preparing to unpack .../6-libsystemd-shared_257.2-3ubuntu1_armhf.deb ... 1637s Unpacking libsystemd-shared:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1637s Preparing to unpack .../7-libnss-systemd_257.2-3ubuntu1_armhf.deb ... 1637s Unpacking libnss-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1637s Setting up libsystemd-shared:armhf (257.2-3ubuntu1) ... 1637s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59967 files and directories currently installed.) 1637s Preparing to unpack .../systemd_257.2-3ubuntu1_armhf.deb ... 1637s Unpacking systemd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1637s Preparing to unpack .../udev_257.2-3ubuntu1_armhf.deb ... 1637s Unpacking udev (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1638s Preparing to unpack .../libudev1_257.2-3ubuntu1_armhf.deb ... 1638s Unpacking libudev1:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1638s Setting up libudev1:armhf (257.2-3ubuntu1) ... 1638s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1638s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.201-1ubuntu1_armhf.deb ... 1638s Unpacking libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 1638s Preparing to unpack .../libcryptsetup12_2%3a2.7.5-1ubuntu2_armhf.deb ... 1638s Unpacking libcryptsetup12:armhf (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 1638s Preparing to unpack .../libsystemd0_257.2-3ubuntu1_armhf.deb ... 1638s Unpacking libsystemd0:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 1638s Setting up libsystemd0:armhf (257.2-3ubuntu1) ... 1638s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1638s Preparing to unpack .../libapt-pkg6.0t64_2.9.29_armhf.deb ... 1638s Unpacking libapt-pkg6.0t64:armhf (2.9.29) over (2.9.14ubuntu1) ... 1638s Setting up libapt-pkg6.0t64:armhf (2.9.29) ... 1638s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1638s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 1638s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 1638s Setting up tar (1.35+dfsg-3.1) ... 1639s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1639s Preparing to unpack .../dpkg_1.22.11ubuntu4_armhf.deb ... 1639s Unpacking dpkg (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 1639s Setting up dpkg (1.22.11ubuntu4) ... 1639s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1639s Preparing to unpack .../gzip_1.13-1ubuntu2_armhf.deb ... 1639s Unpacking gzip (1.13-1ubuntu2) over (1.12-1.1ubuntu1) ... 1639s Setting up gzip (1.13-1ubuntu2) ... 1639s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1639s Preparing to unpack .../ncurses-bin_6.5+20250125-2_armhf.deb ... 1639s Unpacking ncurses-bin (6.5+20250125-2) over (6.5-2) ... 1639s Setting up ncurses-bin (6.5+20250125-2) ... 1639s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1639s Preparing to unpack .../perl_5.40.1-2_armhf.deb ... 1639s Unpacking perl (5.40.1-2) over (5.40.0-8) ... 1639s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ... 1639s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ... 1640s Preparing to unpack .../libperl5.40_5.40.1-2_armhf.deb ... 1640s Unpacking libperl5.40:armhf (5.40.1-2) over (5.40.0-8) ... 1640s Preparing to unpack .../perl-base_5.40.1-2_armhf.deb ... 1640s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ... 1640s Setting up perl-base (5.40.1-2) ... 1640s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1640s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 1640s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 1640s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 1640s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1640s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 1640s Unpacking base-passwd (3.6.6) over (3.6.5) ... 1641s Setting up base-passwd (3.6.6) ... 1641s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1641s Preparing to unpack .../init-system-helpers_1.68_all.deb ... 1641s Unpacking init-system-helpers (1.68) over (1.67ubuntu1) ... 1641s Setting up init-system-helpers (1.68) ... 1641s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1641s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 1641s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1641s Setting up libc-bin (2.40-4ubuntu1) ... 1641s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1641s Preparing to unpack .../ncurses-base_6.5+20250125-2_all.deb ... 1641s Unpacking ncurses-base (6.5+20250125-2) over (6.5-2) ... 1641s Setting up ncurses-base (6.5+20250125-2) ... 1641s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 1641s Preparing to unpack .../0-ncurses-term_6.5+20250125-2_all.deb ... 1641s Unpacking ncurses-term (6.5+20250125-2) over (6.5-2) ... 1642s Preparing to unpack .../1-kbd_2.7.1-2ubuntu1_armhf.deb ... 1642s Unpacking kbd (2.7.1-2ubuntu1) over (2.6.4-2ubuntu3) ... 1642s Preparing to unpack .../2-console-setup-linux_1.226ubuntu3_all.deb ... 1642s Unpacking console-setup-linux (1.226ubuntu3) over (1.226ubuntu2) ... 1642s Preparing to unpack .../3-console-setup_1.226ubuntu3_all.deb ... 1642s Unpacking console-setup (1.226ubuntu3) over (1.226ubuntu2) ... 1642s Preparing to unpack .../4-keyboard-configuration_1.226ubuntu3_all.deb ... 1642s Unpacking keyboard-configuration (1.226ubuntu3) over (1.226ubuntu2) ... 1642s Preparing to unpack .../5-sysvinit-utils_3.14-1ubuntu1_armhf.deb ... 1642s Unpacking sysvinit-utils (3.14-1ubuntu1) over (3.08-6ubuntu3) ... 1642s Setting up sysvinit-utils (3.14-1ubuntu1) ... 1642s Selecting previously unselected package libapt-pkg7.0:armhf. 1642s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59966 files and directories currently installed.) 1642s Preparing to unpack .../libapt-pkg7.0_2.9.30ubuntu1_armhf.deb ... 1642s Unpacking libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 1642s Setting up libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 1642s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 1642s Preparing to unpack .../apt_2.9.30ubuntu1_armhf.deb ... 1643s Unpacking apt (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 1643s Setting up apt (2.9.30ubuntu1) ... 1643s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1643s Preparing to unpack .../apt-utils_2.9.30ubuntu1_armhf.deb ... 1643s Unpacking apt-utils (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 1643s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 1643s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 1643s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 1643s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 1643s Setting up libgpg-error0:armhf (1.51-3) ... 1643s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1643s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 1643s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 1644s Setting up libnpth0t64:armhf (1.8-2) ... 1644s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1644s Preparing to unpack .../00-gpg-wks-client_2.4.4-2ubuntu22_armhf.deb ... 1644s Unpacking gpg-wks-client (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1644s Preparing to unpack .../01-dirmngr_2.4.4-2ubuntu22_armhf.deb ... 1644s Unpacking dirmngr (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1644s Preparing to unpack .../02-gpgsm_2.4.4-2ubuntu22_armhf.deb ... 1644s Unpacking gpgsm (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1644s Preparing to unpack .../03-gnupg-utils_2.4.4-2ubuntu22_armhf.deb ... 1644s Unpacking gnupg-utils (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1644s Preparing to unpack .../04-gpg-agent_2.4.4-2ubuntu22_armhf.deb ... 1644s Unpacking gpg-agent (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1644s Preparing to unpack .../05-gpg_2.4.4-2ubuntu22_armhf.deb ... 1644s Unpacking gpg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1644s Preparing to unpack .../06-gpgconf_2.4.4-2ubuntu22_armhf.deb ... 1644s Unpacking gpgconf (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1644s Preparing to unpack .../07-gnupg_2.4.4-2ubuntu22_all.deb ... 1644s Unpacking gnupg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1644s Preparing to unpack .../08-keyboxd_2.4.4-2ubuntu22_armhf.deb ... 1644s Unpacking keyboxd (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1644s Preparing to unpack .../09-pinentry-curses_1.3.1-2ubuntu2_armhf.deb ... 1644s Unpacking pinentry-curses (1.3.1-2ubuntu2) over (1.3.1-0ubuntu2) ... 1644s Preparing to unpack .../10-libnettle8t64_3.10.1-1_armhf.deb ... 1644s Unpacking libnettle8t64:armhf (3.10.1-1) over (3.10-1) ... 1644s Setting up libnettle8t64:armhf (3.10.1-1) ... 1644s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1644s Preparing to unpack .../libhogweed6t64_3.10.1-1_armhf.deb ... 1644s Unpacking libhogweed6t64:armhf (3.10.1-1) over (3.10-1) ... 1644s Setting up libhogweed6t64:armhf (3.10.1-1) ... 1644s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1644s Preparing to unpack .../libffi8_3.4.7-1_armhf.deb ... 1644s Unpacking libffi8:armhf (3.4.7-1) over (3.4.6-1build1) ... 1644s Setting up libffi8:armhf (3.4.7-1) ... 1644s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1644s Preparing to unpack .../libp11-kit0_0.25.5-2ubuntu3_armhf.deb ... 1644s Unpacking libp11-kit0:armhf (0.25.5-2ubuntu3) over (0.25.5-2ubuntu1) ... 1644s Setting up libp11-kit0:armhf (0.25.5-2ubuntu3) ... 1645s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1645s Preparing to unpack .../libtasn1-6_4.20.0-2_armhf.deb ... 1645s Unpacking libtasn1-6:armhf (4.20.0-2) over (4.19.0-3build1) ... 1645s Setting up libtasn1-6:armhf (4.20.0-2) ... 1645s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1645s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 1645s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 1645s Setting up libunistring5:armhf (1.3-1) ... 1645s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1645s Preparing to unpack .../libgnutls30t64_3.8.9-2ubuntu2_armhf.deb ... 1645s Unpacking libgnutls30t64:armhf (3.8.9-2ubuntu2) over (3.8.8-2ubuntu1) ... 1645s Setting up libgnutls30t64:armhf (3.8.9-2ubuntu2) ... 1645s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 1645s Preparing to unpack .../libsasl2-modules-db_2.1.28+dfsg1-8build1_armhf.deb ... 1645s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 1645s Preparing to unpack .../libsasl2-2_2.1.28+dfsg1-8build1_armhf.deb ... 1645s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 1645s Preparing to unpack .../libldap-common_2.6.9+dfsg-1~exp2ubuntu1_all.deb ... 1645s Unpacking libldap-common (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 1645s Preparing to unpack .../libldap2_2.6.9+dfsg-1~exp2ubuntu1_armhf.deb ... 1645s Unpacking libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 1645s Preparing to unpack .../gpgv_2.4.4-2ubuntu22_armhf.deb ... 1645s Unpacking gpgv (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1645s Setting up gpgv (2.4.4-2ubuntu22) ... 1645s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 1645s Preparing to unpack .../0-e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 1645s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1645s Preparing to unpack .../1-logsave_1.47.2-1ubuntu1_armhf.deb ... 1645s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1645s Preparing to unpack .../2-ubuntu-minimal_1.547_armhf.deb ... 1645s Unpacking ubuntu-minimal (1.547) over (1.544) ... 1645s Preparing to unpack .../3-initramfs-tools_0.145ubuntu2_all.deb ... 1645s Unpacking initramfs-tools (0.145ubuntu2) over (0.142ubuntu35) ... 1645s Preparing to unpack .../4-initramfs-tools-core_0.145ubuntu2_all.deb ... 1645s Unpacking initramfs-tools-core (0.145ubuntu2) over (0.142ubuntu35) ... 1645s Preparing to unpack .../5-libext2fs2t64_1.47.2-1ubuntu1_armhf.deb ... 1645s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 1645s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 1645s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 1645s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 1645s Unpacking libext2fs2t64:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1645s Setting up libext2fs2t64:armhf (1.47.2-1ubuntu1) ... 1645s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 1645s Preparing to unpack .../e2fsprogs_1.47.2-1ubuntu1_armhf.deb ... 1645s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1646s Preparing to unpack .../dhcpcd-base_1%3a10.1.0-7_armhf.deb ... 1646s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-2) ... 1646s Setting up libapparmor1:armhf (4.1.0~beta5-0ubuntu5) ... 1646s Setting up mount (2.40.2-14ubuntu1) ... 1646s Setting up systemd (257.2-3ubuntu1) ... 1646s Installing new version of config file /etc/systemd/logind.conf ... 1646s Installing new version of config file /etc/systemd/sleep.conf ... 1646s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1646s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 1646s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 1646s Setting up systemd-sysv (257.2-3ubuntu1) ... 1647s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60015 files and directories currently installed.) 1647s Preparing to unpack .../00-init_1.68_armhf.deb ... 1647s Unpacking init (1.68) over (1.67ubuntu1) ... 1647s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 1647s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 1647s Preparing to unpack .../02-iptables_1.8.11-2ubuntu1_armhf.deb ... 1647s Unpacking iptables (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 1647s Preparing to unpack .../03-libip4tc2_1.8.11-2ubuntu1_armhf.deb ... 1647s Unpacking libip4tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 1647s Preparing to unpack .../04-libip6tc2_1.8.11-2ubuntu1_armhf.deb ... 1647s Unpacking libip6tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 1647s Preparing to unpack .../05-libnftnl11_1.2.8-1_armhf.deb ... 1647s Unpacking libnftnl11:armhf (1.2.8-1) over (1.2.7-1) ... 1647s Preparing to unpack .../06-libxtables12_1.8.11-2ubuntu1_armhf.deb ... 1647s Unpacking libxtables12:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 1647s Preparing to unpack .../07-iproute2_6.13.0-1ubuntu1_armhf.deb ... 1647s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 1647s Preparing to unpack .../08-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 1647s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1647s Preparing to unpack .../09-locales_2.40-4ubuntu1_all.deb ... 1647s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 1648s Selecting previously unselected package login.defs. 1648s Preparing to unpack .../10-login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 1648s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 1648s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 1648s Setting up login.defs (1:4.16.0-7ubuntu1) ... 1648s Installing new version of config file /etc/login.defs ... 1648s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60022 files and directories currently installed.) 1648s Preparing to unpack .../0-login_1%3a4.16.0-2+really2.40.2-14ubuntu1_armhf.deb ... 1648s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 1648s Preparing to unpack .../1-mawk_1.3.4.20250131-1_armhf.deb ... 1648s Unpacking mawk (1.3.4.20250131-1) over (1.3.4.20240905-1) ... 1648s Preparing to unpack .../2-netcat-openbsd_1.228-1_armhf.deb ... 1648s Unpacking netcat-openbsd (1.228-1) over (1.226-1.1) ... 1648s Selecting previously unselected package libpython3.13-minimal:armhf. 1648s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-1_armhf.deb ... 1648s Unpacking libpython3.13-minimal:armhf (3.13.2-1) ... 1648s Selecting previously unselected package python3.13-minimal. 1648s Preparing to unpack .../4-python3.13-minimal_3.13.2-1_armhf.deb ... 1648s Unpacking python3.13-minimal (3.13.2-1) ... 1648s Preparing to unpack .../5-python3-cryptography_43.0.0-1_armhf.deb ... 1648s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 1648s Setting up libpython3.13-minimal:armhf (3.13.2-1) ... 1648s Setting up python3.13-minimal (3.13.2-1) ... 1651s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 1651s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 1651s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1651s Setting up python3-minimal (3.13.1-1~exp2) ... 1651s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60304 files and directories currently installed.) 1651s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 1651s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1651s Selecting previously unselected package python3-bcrypt. 1651s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 1651s Unpacking python3-bcrypt (4.2.0-2.1) ... 1651s Preparing to unpack .../02-tzdata_2025a-2ubuntu1_all.deb ... 1651s Unpacking tzdata (2025a-2ubuntu1) over (2024b-1ubuntu2) ... 1651s Selecting previously unselected package libpython3.13-stdlib:armhf. 1651s Preparing to unpack .../03-libpython3.13-stdlib_3.13.2-1_armhf.deb ... 1651s Unpacking libpython3.13-stdlib:armhf (3.13.2-1) ... 1651s Selecting previously unselected package python3.13. 1651s Preparing to unpack .../04-python3.13_3.13.2-1_armhf.deb ... 1651s Unpacking python3.13 (3.13.2-1) ... 1651s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 1651s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 1651s Preparing to unpack .../06-gir1.2-girepository-2.0_1.82.0-4_armhf.deb ... 1651s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-4) over (1.82.0-2) ... 1651s Preparing to unpack .../07-gir1.2-glib-2.0_2.83.4-1_armhf.deb ... 1651s Unpacking gir1.2-glib-2.0:armhf (2.83.4-1) over (2.82.2-3) ... 1651s Preparing to unpack .../08-libgirepository-1.0-1_1.82.0-4_armhf.deb ... 1651s Unpacking libgirepository-1.0-1:armhf (1.82.0-4) over (1.82.0-2) ... 1651s Preparing to unpack .../09-libglib2.0-data_2.83.4-1_all.deb ... 1651s Unpacking libglib2.0-data (2.83.4-1) over (2.82.2-3) ... 1651s Preparing to unpack .../10-libglib2.0-bin_2.83.4-1_armhf.deb ... 1651s Unpacking libglib2.0-bin (2.83.4-1) over (2.82.2-3) ... 1651s Preparing to unpack .../11-libatomic1_15-20250213-1ubuntu1_armhf.deb ... 1651s Unpacking libatomic1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 1651s Preparing to unpack .../12-libglib2.0-0t64_2.83.4-1_armhf.deb ... 1651s Unpacking libglib2.0-0t64:armhf (2.83.4-1) over (2.82.2-3) ... 1651s Preparing to unpack .../13-netplan-generator_1.1.2-2ubuntu1_armhf.deb ... 1651s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 1651s Unpacking netplan-generator (1.1.2-2ubuntu1) over (1.1.1-1) ... 1651s Preparing to unpack .../14-libyaml-0-2_0.2.5-2_armhf.deb ... 1651s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 1651s Preparing to unpack .../15-python3-netplan_1.1.2-2ubuntu1_armhf.deb ... 1651s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1651s for fn in glob1(directory, "%s.*" % fname): 1651s Unpacking python3-netplan (1.1.2-2ubuntu1) over (1.1.1-1) ... 1651s Preparing to unpack .../16-netplan.io_1.1.2-2ubuntu1_armhf.deb ... 1651s Unpacking netplan.io (1.1.2-2ubuntu1) over (1.1.1-1) ... 1651s Preparing to unpack .../17-libnetplan1_1.1.2-2ubuntu1_armhf.deb ... 1651s Unpacking libnetplan1:armhf (1.1.2-2ubuntu1) over (1.1.1-1) ... 1651s Preparing to unpack .../18-ethtool_1%3a6.11-1_armhf.deb ... 1651s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 1651s Preparing to unpack .../19-libsemanage-common_3.7-2.1_all.deb ... 1651s Unpacking libsemanage-common (3.7-2.1) over (3.7-2build1) ... 1651s Setting up libsemanage-common (3.7-2.1) ... 1651s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 1651s Preparing to unpack .../libsemanage2_3.7-2.1_armhf.deb ... 1651s Unpacking libsemanage2:armhf (3.7-2.1) over (3.7-2build1) ... 1651s Setting up libsemanage2:armhf (3.7-2.1) ... 1651s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60727 files and directories currently installed.) 1651s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_armhf.deb ... 1651s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 1651s Setting up passwd (1:4.16.0-7ubuntu1) ... 1652s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60762 files and directories currently installed.) 1652s Preparing to unpack .../000-ubuntu-pro-client-l10n_34.1.3_armhf.deb ... 1652s Unpacking ubuntu-pro-client-l10n (34.1.3) over (34.1.2) ... 1652s Preparing to unpack .../001-python-apt-common_2.9.9_all.deb ... 1652s Unpacking python-apt-common (2.9.9) over (2.9.0ubuntu2) ... 1652s Preparing to unpack .../002-python3-apt_2.9.9_armhf.deb ... 1652s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1652s for fn in glob1(directory, "%s.*" % fname): 1652s Unpacking python3-apt (2.9.9) over (2.9.0ubuntu2) ... 1652s Preparing to unpack .../003-distro-info_1.13_armhf.deb ... 1652s Unpacking distro-info (1.13) over (1.12) ... 1652s Preparing to unpack .../004-ubuntu-pro-client_34.1.3_armhf.deb ... 1652s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1652s for fn in glob1(directory, "%s.*" % fname): 1652s Unpacking ubuntu-pro-client (34.1.3) over (34.1.2) ... 1652s Preparing to unpack .../005-vim-tiny_2%3a9.1.0967-1ubuntu2_armhf.deb ... 1652s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 1652s Preparing to unpack .../006-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ... 1652s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 1652s Preparing to unpack .../007-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 1652s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1652s for fn in glob1(directory, "%s.*" % fname): 1652s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1652s Preparing to unpack .../008-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 1652s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1652s Preparing to unpack .../009-whiptail_0.52.24-4ubuntu1_armhf.deb ... 1652s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 1652s Preparing to unpack .../010-dracut-install_106-2ubuntu1_armhf.deb ... 1652s Unpacking dracut-install (106-2ubuntu1) over (105-2ubuntu3) ... 1652s Preparing to unpack .../011-initramfs-tools-bin_0.145ubuntu2_armhf.deb ... 1652s Unpacking initramfs-tools-bin (0.145ubuntu2) over (0.142ubuntu35) ... 1653s Preparing to unpack .../012-busybox-initramfs_1%3a1.37.0-4ubuntu1_armhf.deb ... 1653s Unpacking busybox-initramfs (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 1653s Preparing to unpack .../013-python3.12_3.12.9-1_armhf.deb ... 1653s Unpacking python3.12 (3.12.9-1) over (3.12.7-3) ... 1653s Preparing to unpack .../014-libpython3.12-stdlib_3.12.9-1_armhf.deb ... 1653s Unpacking libpython3.12-stdlib:armhf (3.12.9-1) over (3.12.7-3) ... 1653s Preparing to unpack .../015-python3.12-minimal_3.12.9-1_armhf.deb ... 1653s Unpacking python3.12-minimal (3.12.9-1) over (3.12.7-3) ... 1653s Preparing to unpack .../016-libpython3.12-minimal_3.12.9-1_armhf.deb ... 1653s Unpacking libpython3.12-minimal:armhf (3.12.9-1) over (3.12.7-3) ... 1653s Preparing to unpack .../017-cron_3.0pl1-192ubuntu1_armhf.deb ... 1653s Unpacking cron (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 1653s Preparing to unpack .../018-rsync_3.4.1-0syncable1_armhf.deb ... 1653s Unpacking rsync (3.4.1-0syncable1) over (3.3.0-1) ... 1653s Preparing to unpack .../019-python3-lazr.uri_1.0.6-5_all.deb ... 1653s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1653s for fn in glob1(directory, "%s.*" % fname): 1653s Unpacking python3-lazr.uri (1.0.6-5) over (1.0.6-4) ... 1653s Preparing to unpack .../020-python3-launchpadlib_2.1.0-1_all.deb ... 1654s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1654s for fn in glob1(directory, "%s.*" % fname): 1654s Unpacking python3-launchpadlib (2.1.0-1) over (2.0.0-1) ... 1654s Preparing to unpack .../021-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ... 1654s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1654s for fn in glob1(directory, "%s.*" % fname): 1654s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 1654s Preparing to unpack .../022-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 1654s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1654s for fn in glob1(directory, "%s.*" % fname): 1654s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 1654s Preparing to unpack .../023-python3-gi_3.50.0-4_armhf.deb ... 1654s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1654s for fn in glob1(directory, "%s.*" % fname): 1654s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 1654s Preparing to unpack .../024-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ... 1654s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 1654s Preparing to unpack .../025-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 1654s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 1654s Preparing to unpack .../026-gcc-14-base_14.2.0-17ubuntu3_armhf.deb ... 1654s Unpacking gcc-14-base:armhf (14.2.0-17ubuntu3) over (14.2.0-8ubuntu1) ... 1654s Preparing to unpack .../027-libcom-err2_1.47.2-1ubuntu1_armhf.deb ... 1654s Unpacking libcom-err2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1654s Preparing to unpack .../028-libss2_1.47.2-1ubuntu1_armhf.deb ... 1654s Unpacking libss2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 1654s Preparing to unpack .../029-openssl_3.4.1-1ubuntu1_armhf.deb ... 1654s Unpacking openssl (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 1654s Preparing to unpack .../030-ca-certificates_20241223_all.deb ... 1654s Unpacking ca-certificates (20241223) over (20240203) ... 1654s Preparing to unpack .../031-krb5-locales_1.21.3-4ubuntu1_all.deb ... 1654s Unpacking krb5-locales (1.21.3-4ubuntu1) over (1.21.3-3) ... 1654s Preparing to unpack .../032-libfribidi0_1.0.16-1_armhf.deb ... 1654s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 1655s Preparing to unpack .../033-libgssapi-krb5-2_1.21.3-4ubuntu1_armhf.deb ... 1655s Unpacking libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 1655s Preparing to unpack .../034-libkrb5-3_1.21.3-4ubuntu1_armhf.deb ... 1655s Unpacking libkrb5-3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 1655s Preparing to unpack .../035-libkrb5support0_1.21.3-4ubuntu1_armhf.deb ... 1655s Unpacking libkrb5support0:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 1655s Preparing to unpack .../036-libk5crypto3_1.21.3-4ubuntu1_armhf.deb ... 1655s Unpacking libk5crypto3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 1655s Preparing to unpack .../037-libicu74_74.2-1ubuntu6_armhf.deb ... 1655s Unpacking libicu74:armhf (74.2-1ubuntu6) over (74.2-1ubuntu4) ... 1655s Preparing to unpack .../038-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu3_armhf.deb ... 1655s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) over (2.12.7+dfsg-3) ... 1655s Preparing to unpack .../039-python3-pygments_2.18.0+dfsg-2_all.deb ... 1655s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1655s for fn in glob1(directory, "%s.*" % fname): 1655s Unpacking python3-pygments (2.18.0+dfsg-2) over (2.18.0+dfsg-1ubuntu1) ... 1655s Preparing to unpack .../040-python3-rich_13.9.4-1_all.deb ... 1655s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1655s for fn in glob1(directory, "%s.*" % fname): 1656s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 1656s Preparing to unpack .../041-ucf_3.0050_all.deb ... 1656s Unpacking ucf (3.0050) over (3.0043+nmu1) ... 1656s Preparing to unpack .../042-rsyslog_8.2412.0-2ubuntu1_armhf.deb ... 1656s Unpacking rsyslog (8.2412.0-2ubuntu1) over (8.2406.0-1ubuntu2) ... 1656s Preparing to unpack .../043-xxd_2%3a9.1.0967-1ubuntu2_armhf.deb ... 1656s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 1656s Preparing to unpack .../044-apparmor_4.1.0~beta5-0ubuntu5_armhf.deb ... 1657s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 1657s dpkg: warning: unable to delete old directory '/lib/apparmor': Directory not empty 1657s Preparing to unpack .../045-bash-completion_1%3a2.16.0-7_all.deb ... 1657s Unpacking bash-completion (1:2.16.0-7) over (1:2.14.0-2) ... 1658s Selecting previously unselected package libjemalloc2:armhf. 1658s Preparing to unpack .../046-libjemalloc2_5.3.0-2build1_armhf.deb ... 1658s Unpacking libjemalloc2:armhf (5.3.0-2build1) ... 1658s Preparing to unpack .../047-libmaxminddb0_1.12.2-1_armhf.deb ... 1658s Unpacking libmaxminddb0:armhf (1.12.2-1) over (1.11.0-1) ... 1658s Preparing to unpack .../048-liburcu8t64_0.15.1-1_armhf.deb ... 1658s Unpacking liburcu8t64:armhf (0.15.1-1) over (0.14.1-1) ... 1658s Preparing to unpack .../049-bind9-dnsutils_1%3a9.20.4-3ubuntu1_armhf.deb ... 1658s Unpacking bind9-dnsutils (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 1658s Preparing to unpack .../050-bind9-host_1%3a9.20.4-3ubuntu1_armhf.deb ... 1658s Unpacking bind9-host (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 1658s Preparing to unpack .../051-bind9-libs_1%3a9.20.4-3ubuntu1_armhf.deb ... 1658s Unpacking bind9-libs:armhf (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 1658s Preparing to unpack .../052-libedit2_3.1-20250104-1_armhf.deb ... 1658s Unpacking libedit2:armhf (3.1-20250104-1) over (3.1-20240808-1) ... 1658s Preparing to unpack .../053-busybox-static_1%3a1.37.0-4ubuntu1_armhf.deb ... 1658s Unpacking busybox-static (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 1658s Preparing to unpack .../054-cron-daemon-common_3.0pl1-192ubuntu1_all.deb ... 1658s Unpacking cron-daemon-common (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 1658s Preparing to unpack .../055-dmsetup_2%3a1.02.201-1ubuntu1_armhf.deb ... 1658s Unpacking dmsetup (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 1658s Preparing to unpack .../056-ed_1.21-1_armhf.deb ... 1658s Unpacking ed (1.21-1) over (1.20.2-2) ... 1658s Preparing to unpack .../057-gettext-base_0.23.1-1_armhf.deb ... 1658s Unpacking gettext-base (0.23.1-1) over (0.22.5-2) ... 1658s Preparing to unpack .../058-groff-base_1.23.0-7_armhf.deb ... 1658s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 1658s Preparing to unpack .../059-libibverbs1_55.0-1ubuntu1_armhf.deb ... 1658s Unpacking libibverbs1:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 1658s Preparing to unpack .../060-ibverbs-providers_55.0-1ubuntu1_armhf.deb ... 1659s Unpacking ibverbs-providers:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 1659s Preparing to unpack .../061-inetutils-telnet_2%3a2.5-6ubuntu1_armhf.deb ... 1659s Unpacking inetutils-telnet (2:2.5-6ubuntu1) over (2:2.5-5ubuntu1) ... 1659s Preparing to unpack .../062-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 1659s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 1659s Preparing to unpack .../063-libcbor0.10_0.10.2-2ubuntu1_armhf.deb ... 1659s Unpacking libcbor0.10:armhf (0.10.2-2ubuntu1) over (0.10.2-1.2ubuntu2) ... 1659s Preparing to unpack .../064-nftables_1.1.1-1build1_armhf.deb ... 1659s Unpacking nftables (1.1.1-1build1) over (1.1.0-2) ... 1659s Preparing to unpack .../065-libnftables1_1.1.1-1build1_armhf.deb ... 1659s Unpacking libnftables1:armhf (1.1.1-1build1) over (1.1.0-2) ... 1659s Preparing to unpack .../066-libpcap0.8t64_1.10.5-2ubuntu1_armhf.deb ... 1659s Unpacking libpcap0.8t64:armhf (1.10.5-2ubuntu1) over (1.10.5-1ubuntu1) ... 1659s Preparing to unpack .../067-libpng16-16t64_1.6.46-4_armhf.deb ... 1659s Unpacking libpng16-16t64:armhf (1.6.46-4) over (1.6.44-2) ... 1659s Preparing to unpack .../068-libxkbcommon0_1.7.0-2_armhf.deb ... 1659s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 1659s Preparing to unpack .../069-libplymouth5_24.004.60-2ubuntu5_armhf.deb ... 1659s Unpacking libplymouth5:armhf (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 1659s Preparing to unpack .../070-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 1659s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1659s Preparing to unpack .../071-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 1659s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 1659s Preparing to unpack .../072-libusb-1.0-0_2%3a1.0.27-2_armhf.deb ... 1659s Unpacking libusb-1.0-0:armhf (2:1.0.27-2) over (2:1.0.27-1) ... 1659s Preparing to unpack .../073-libxdmcp6_1%3a1.1.5-1_armhf.deb ... 1659s Unpacking libxdmcp6:armhf (1:1.1.5-1) over (1:1.1.3-0ubuntu6) ... 1659s Preparing to unpack .../074-lshw_02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1_armhf.deb ... 1659s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) over (02.19.git.2021.06.19.996aaad9c7-2ubuntu2) ... 1659s Preparing to unpack .../075-lsof_4.99.4+dfsg-2_armhf.deb ... 1659s Unpacking lsof (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 1659s Preparing to unpack .../076-liblsof0_4.99.4+dfsg-2_armhf.deb ... 1659s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 1659s Preparing to unpack .../077-nano_8.3-1_armhf.deb ... 1659s Unpacking nano (8.3-1) over (8.2-1) ... 1659s Preparing to unpack .../078-pci.ids_0.0~2025.02.12-1_all.deb ... 1659s Unpacking pci.ids (0.0~2025.02.12-1) over (0.0~2024.10.24-1) ... 1659s Preparing to unpack .../079-plymouth-theme-ubuntu-text_24.004.60-2ubuntu5_armhf.deb ... 1659s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 1659s Preparing to unpack .../080-libpackagekit-glib2-18_1.3.0-3build1_armhf.deb ... 1659s Unpacking libpackagekit-glib2-18:armhf (1.3.0-3build1) over (1.3.0-2) ... 1659s Preparing to unpack .../081-packagekit-tools_1.3.0-3build1_armhf.deb ... 1659s Unpacking packagekit-tools (1.3.0-3build1) over (1.3.0-2) ... 1660s Preparing to unpack .../082-polkitd_126-2_armhf.deb ... 1660s Unpacking polkitd (126-2) over (125-2ubuntu1) ... 1660s Preparing to unpack .../083-libpolkit-agent-1-0_126-2_armhf.deb ... 1660s Unpacking libpolkit-agent-1-0:armhf (126-2) over (125-2ubuntu1) ... 1660s Preparing to unpack .../084-libpolkit-gobject-1-0_126-2_armhf.deb ... 1660s Unpacking libpolkit-gobject-1-0:armhf (126-2) over (125-2ubuntu1) ... 1660s Preparing to unpack .../085-libcurl3t64-gnutls_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 1660s Unpacking libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 1660s Preparing to unpack .../086-libappstream5_1.0.4-1_armhf.deb ... 1660s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 1660s Preparing to unpack .../087-libgstreamer1.0-0_1.25.50-1_armhf.deb ... 1660s Unpacking libgstreamer1.0-0:armhf (1.25.50-1) over (1.24.9-1) ... 1660s Preparing to unpack .../088-packagekit_1.3.0-3build1_armhf.deb ... 1660s Unpacking packagekit (1.3.0-3build1) over (1.3.0-2) ... 1660s Preparing to unpack .../089-plymouth_24.004.60-2ubuntu5_armhf.deb ... 1660s Unpacking plymouth (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 1660s Preparing to unpack .../090-powermgmt-base_1.38_all.deb ... 1660s Unpacking powermgmt-base (1.38) over (1.37+nmu1ubuntu1) ... 1660s Preparing to unpack .../091-psmisc_23.7-2_armhf.deb ... 1660s Unpacking psmisc (23.7-2) over (23.7-1build1) ... 1661s Preparing to unpack .../092-publicsuffix_20250108.1153-0.1_all.deb ... 1661s Unpacking publicsuffix (20250108.1153-0.1) over (20231001.0357-0.1) ... 1661s Preparing to unpack .../093-python3-distro-info_1.13_all.deb ... 1661s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1661s for fn in glob1(directory, "%s.*" % fname): 1661s Unpacking python3-distro-info (1.13) over (1.12) ... 1661s Preparing to unpack .../094-python3.13-gdbm_3.13.2-1_armhf.deb ... 1661s Unpacking python3.13-gdbm (3.13.2-1) over (3.13.0-2) ... 1661s Preparing to unpack .../095-python3.12-gdbm_3.12.9-1_armhf.deb ... 1661s Unpacking python3.12-gdbm (3.12.9-1) over (3.12.7-3) ... 1661s Preparing to unpack .../096-python3-gdbm_3.13.1-1_armhf.deb ... 1661s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 1661s Preparing to unpack .../097-telnet_0.17+2.5-6ubuntu1_all.deb ... 1661s Unpacking telnet (0.17+2.5-6ubuntu1) over (0.17+2.5-5ubuntu1) ... 1661s Preparing to unpack .../098-ubuntu-standard_1.547_armhf.deb ... 1661s Unpacking ubuntu-standard (1.547) over (1.544) ... 1661s Preparing to unpack .../099-ufw_0.36.2-9_all.deb ... 1661s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1661s for fn in glob1(directory, "%s.*" % fname): 1661s Unpacking ufw (0.36.2-9) over (0.36.2-8) ... 1661s Preparing to unpack .../100-usb.ids_2025.01.14-1_all.deb ... 1661s Unpacking usb.ids (2025.01.14-1) over (2024.07.04-1) ... 1661s Preparing to unpack .../101-xauth_1%3a1.1.2-1.1_armhf.deb ... 1661s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 1661s Preparing to unpack .../102-appstream_1.0.4-1_armhf.deb ... 1661s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 1661s Preparing to unpack .../103-libctf0_2.44-2ubuntu1_armhf.deb ... 1661s Unpacking libctf0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1661s Preparing to unpack .../104-libctf-nobfd0_2.44-2ubuntu1_armhf.deb ... 1661s Unpacking libctf-nobfd0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1661s Preparing to unpack .../105-binutils-arm-linux-gnueabihf_2.44-2ubuntu1_armhf.deb ... 1661s Unpacking binutils-arm-linux-gnueabihf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1661s Preparing to unpack .../106-libbinutils_2.44-2ubuntu1_armhf.deb ... 1661s Unpacking libbinutils:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1661s Preparing to unpack .../107-binutils_2.44-2ubuntu1_armhf.deb ... 1661s Unpacking binutils (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1661s Preparing to unpack .../108-binutils-common_2.44-2ubuntu1_armhf.deb ... 1661s Unpacking binutils-common:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1662s Preparing to unpack .../109-libsframe1_2.44-2ubuntu1_armhf.deb ... 1662s Unpacking libsframe1:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 1662s Preparing to unpack .../110-btrfs-progs_6.12-1build1_armhf.deb ... 1662s Unpacking btrfs-progs (6.12-1build1) over (6.6.3-1.2) ... 1662s Preparing to unpack .../111-python3-certifi_2025.1.31+ds-1_all.deb ... 1662s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1662s for fn in glob1(directory, "%s.*" % fname): 1662s Unpacking python3-certifi (2025.1.31+ds-1) over (2024.8.30+dfsg-1) ... 1662s Preparing to unpack .../112-python3-chardet_5.2.0+dfsg-2_all.deb ... 1662s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1662s for fn in glob1(directory, "%s.*" % fname): 1662s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 1662s Preparing to unpack .../113-python3-idna_3.10-1_all.deb ... 1662s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1662s for fn in glob1(directory, "%s.*" % fname): 1662s Unpacking python3-idna (3.10-1) over (3.8-2) ... 1662s Preparing to unpack .../114-python3-urllib3_2.3.0-1_all.deb ... 1662s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1662s for fn in glob1(directory, "%s.*" % fname): 1662s Unpacking python3-urllib3 (2.3.0-1) over (2.0.7-2ubuntu0.1) ... 1662s Preparing to unpack .../115-python3-requests_2.32.3+dfsg-4ubuntu1_all.deb ... 1662s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1662s for fn in glob1(directory, "%s.*" % fname): 1662s Unpacking python3-requests (2.32.3+dfsg-4ubuntu1) over (2.32.3+dfsg-1ubuntu1) ... 1662s Preparing to unpack .../116-python3-jinja2_3.1.5-2_all.deb ... 1662s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1662s for fn in glob1(directory, "%s.*" % fname): 1662s Unpacking python3-jinja2 (3.1.5-2) over (3.1.3-1ubuntu1) ... 1662s Preparing to unpack .../117-python3-json-pointer_2.4-3_all.deb ... 1663s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1663s for fn in glob1(directory, "%s.*" % fname): 1663s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 1663s Preparing to unpack .../118-python3-jsonpatch_1.32-5_all.deb ... 1663s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1663s for fn in glob1(directory, "%s.*" % fname): 1663s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 1663s Preparing to unpack .../119-python3-attr_25.1.0-1_all.deb ... 1663s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1663s for fn in glob1(directory, "%s.*" % fname): 1663s Unpacking python3-attr (25.1.0-1) over (23.2.0-2) ... 1663s Preparing to unpack .../120-python3-referencing_0.35.1-2ubuntu1_all.deb ... 1663s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1663s for fn in glob1(directory, "%s.*" % fname): 1663s Unpacking python3-referencing (0.35.1-2ubuntu1) over (0.35.1-1ubuntu1) ... 1663s Preparing to unpack .../121-python3-jsonschema_4.19.2-6ubuntu1_all.deb ... 1663s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1663s for fn in glob1(directory, "%s.*" % fname): 1663s Unpacking python3-jsonschema (4.19.2-6ubuntu1) over (4.19.2-3ubuntu1) ... 1663s Preparing to unpack .../122-python3-jwt_2.10.1-2_all.deb ... 1663s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1663s for fn in glob1(directory, "%s.*" % fname): 1663s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 1663s Preparing to unpack .../123-python3-oauthlib_3.2.2-3_all.deb ... 1663s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1663s for fn in glob1(directory, "%s.*" % fname): 1663s Unpacking python3-oauthlib (3.2.2-3) over (3.2.2-2) ... 1663s Preparing to unpack .../124-cloud-init-base_25.1-0ubuntu1_all.deb ... 1664s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1664s for fn in glob1(directory, "%s.*" % fname): 1664s Unpacking cloud-init-base (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 1664s dpkg: warning: unable to delete old directory '/lib/systemd/system/sshd-keygen@.service.d': Directory not empty 1664s Preparing to unpack .../125-cryptsetup-bin_2%3a2.7.5-1ubuntu2_armhf.deb ... 1664s Unpacking cryptsetup-bin (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 1664s Preparing to unpack .../126-curl_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 1664s Unpacking curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 1664s Preparing to unpack .../127-libcurl4t64_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 1664s Unpacking libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 1664s Preparing to unpack .../128-dpkg-dev_1.22.11ubuntu4_all.deb ... 1664s Unpacking dpkg-dev (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 1664s Preparing to unpack .../129-libdpkg-perl_1.22.11ubuntu4_all.deb ... 1664s Unpacking libdpkg-perl (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 1664s Preparing to unpack .../130-make_4.4.1-1_armhf.deb ... 1664s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 1664s Preparing to unpack .../131-lto-disabled-list_56_all.deb ... 1664s Unpacking lto-disabled-list (56) over (54) ... 1664s Preparing to unpack .../132-libarchive13t64_3.7.7-0ubuntu1_armhf.deb ... 1664s Unpacking libarchive13t64:armhf (3.7.7-0ubuntu1) over (3.7.4-1.1) ... 1664s Preparing to unpack .../133-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 1664s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 1664s Preparing to unpack .../134-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 1664s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 1664s Preparing to unpack .../135-fwupd_2.0.6-3_armhf.deb ... 1665s Unpacking fwupd (2.0.6-3) over (2.0.2-1) ... 1665s Preparing to unpack .../136-libfwupd3_2.0.6-3_armhf.deb ... 1665s Unpacking libfwupd3:armhf (2.0.6-3) over (2.0.2-1) ... 1665s Preparing to unpack .../137-libprotobuf-c1_1.5.1-1ubuntu1_armhf.deb ... 1665s Unpacking libprotobuf-c1:armhf (1.5.1-1ubuntu1) over (1.4.1-1ubuntu4) ... 1665s Preparing to unpack .../138-libqmi-proxy_1.35.6-1_armhf.deb ... 1665s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 1665s Preparing to unpack .../139-libqmi-glib5_1.35.6-1_armhf.deb ... 1665s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 1665s Preparing to unpack .../140-gir1.2-packagekitglib-1.0_1.3.0-3build1_armhf.deb ... 1665s Unpacking gir1.2-packagekitglib-1.0 (1.3.0-3build1) over (1.3.0-2) ... 1665s Preparing to unpack .../141-gnupg-l10n_2.4.4-2ubuntu22_all.deb ... 1665s Unpacking gnupg-l10n (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 1665s Preparing to unpack .../142-htop_3.3.0-5_armhf.deb ... 1665s Unpacking htop (3.3.0-5) over (3.3.0-4build1) ... 1665s Preparing to unpack .../143-libblockdev-utils3_3.3.0-1_armhf.deb ... 1665s Unpacking libblockdev-utils3:armhf (3.3.0-1) over (3.2.1-1) ... 1665s Preparing to unpack .../144-libnspr4_2%3a4.36-1ubuntu1_armhf.deb ... 1665s Unpacking libnspr4:armhf (2:4.36-1ubuntu1) over (2:4.35-1.1ubuntu2) ... 1665s Preparing to unpack .../145-libnss3_2%3a3.108-1ubuntu1_armhf.deb ... 1665s Unpacking libnss3:armhf (2:3.108-1ubuntu1) over (2:3.103-1) ... 1665s Preparing to unpack .../146-libgpgme11t64_1.24.2-1ubuntu1_armhf.deb ... 1665s Unpacking libgpgme11t64:armhf (1.24.2-1ubuntu1) over (1.24.0-2ubuntu1) ... 1665s Preparing to unpack .../147-libvolume-key1_0.3.12-9_armhf.deb ... 1665s Unpacking libvolume-key1:armhf (0.3.12-9) over (0.3.12-8) ... 1665s Preparing to unpack .../148-libblockdev-crypto3_3.3.0-1_armhf.deb ... 1665s Unpacking libblockdev-crypto3:armhf (3.3.0-1) over (3.2.1-1) ... 1665s Preparing to unpack .../149-libblockdev-fs3_3.3.0-1_armhf.deb ... 1665s Unpacking libblockdev-fs3:armhf (3.3.0-1) over (3.2.1-1) ... 1665s Preparing to unpack .../150-libblockdev-loop3_3.3.0-1_armhf.deb ... 1665s Unpacking libblockdev-loop3:armhf (3.3.0-1) over (3.2.1-1) ... 1665s Preparing to unpack .../151-libblockdev-mdraid3_3.3.0-1_armhf.deb ... 1665s Unpacking libblockdev-mdraid3:armhf (3.3.0-1) over (3.2.1-1) ... 1666s Preparing to unpack .../152-libnvme1t64_1.11.1-2_armhf.deb ... 1666s Unpacking libnvme1t64 (1.11.1-2) over (1.11.1-1) ... 1666s Preparing to unpack .../153-libblockdev-nvme3_3.3.0-1_armhf.deb ... 1666s Unpacking libblockdev-nvme3:armhf (3.3.0-1) over (3.2.1-1) ... 1666s Preparing to unpack .../154-libblockdev-part3_3.3.0-1_armhf.deb ... 1666s Unpacking libblockdev-part3:armhf (3.3.0-1) over (3.2.1-1) ... 1666s Preparing to unpack .../155-libblockdev-swap3_3.3.0-1_armhf.deb ... 1666s Unpacking libblockdev-swap3:armhf (3.3.0-1) over (3.2.1-1) ... 1666s Preparing to unpack .../156-libblockdev3_3.3.0-1_armhf.deb ... 1666s Unpacking libblockdev3:armhf (3.3.0-1) over (3.2.1-1) ... 1666s Preparing to unpack .../157-libftdi1-2_1.5-8_armhf.deb ... 1666s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 1666s Preparing to unpack .../158-libgudev-1.0-0_1%3a238-6_armhf.deb ... 1666s Unpacking libgudev-1.0-0:armhf (1:238-6) over (1:238-5ubuntu1) ... 1666s Selecting previously unselected package libicu76:armhf. 1666s Preparing to unpack .../159-libicu76_76.1-1ubuntu2_armhf.deb ... 1666s Unpacking libicu76:armhf (76.1-1ubuntu2) ... 1666s Preparing to unpack .../160-libsasl2-modules_2.1.28+dfsg1-8build1_armhf.deb ... 1666s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 1666s Preparing to unpack .../161-udisks2_2.10.1-11ubuntu2_armhf.deb ... 1666s Unpacking udisks2 (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 1666s Preparing to unpack .../162-libudisks2-0_2.10.1-11ubuntu2_armhf.deb ... 1666s Unpacking libudisks2-0:armhf (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 1666s Preparing to unpack .../163-libwrap0_7.6.q-35_armhf.deb ... 1666s Unpacking libwrap0:armhf (7.6.q-35) over (7.6.q-33) ... 1666s Selecting previously unselected package linux-headers-6.12.0-15. 1666s Preparing to unpack .../164-linux-headers-6.12.0-15_6.12.0-15.15_all.deb ... 1666s Unpacking linux-headers-6.12.0-15 (6.12.0-15.15) ... 1669s Selecting previously unselected package linux-headers-6.12.0-15-generic. 1669s Preparing to unpack .../165-linux-headers-6.12.0-15-generic_6.12.0-15.15_armhf.deb ... 1669s Unpacking linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 1671s Preparing to unpack .../166-linux-headers-generic_6.12.0-15.15+1_armhf.deb ... 1671s Unpacking linux-headers-generic (6.12.0-15.15+1) over (6.11.0-8.8) ... 1671s Preparing to unpack .../167-pollinate_4.33-4ubuntu2_all.deb ... 1671s Unpacking pollinate (4.33-4ubuntu2) over (4.33-4ubuntu1) ... 1671s Preparing to unpack .../168-python3-babel_2.17.0-1_all.deb ... 1671s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1671s for fn in glob1(directory, "%s.*" % fname): 1671s Unpacking python3-babel (2.17.0-1) over (2.16.0-1) ... 1671s Preparing to unpack .../169-python-babel-localedata_2.17.0-1_all.deb ... 1671s Unpacking python-babel-localedata (2.17.0-1) over (2.16.0-1) ... 1672s Preparing to unpack .../170-python3-more-itertools_10.6.0-1_all.deb ... 1672s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1672s for fn in glob1(directory, "%s.*" % fname): 1672s Unpacking python3-more-itertools (10.6.0-1) over (10.5.0-1) ... 1672s Preparing to unpack .../171-python3-openssl_25.0.0-1_all.deb ... 1672s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1672s for fn in glob1(directory, "%s.*" % fname): 1672s Unpacking python3-openssl (25.0.0-1) over (24.2.1-1) ... 1672s Preparing to unpack .../172-python3-pkg-resources_75.6.0-1_all.deb ... 1672s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1672s for fn in glob1(directory, "%s.*" % fname): 1672s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 1672s Preparing to unpack .../173-python3-setuptools_75.6.0-1_all.deb ... 1672s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1672s for fn in glob1(directory, "%s.*" % fname): 1672s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 1672s Preparing to unpack .../174-software-properties-common_0.109_all.deb ... 1672s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1672s for fn in glob1(directory, "%s.*" % fname): 1672s Unpacking software-properties-common (0.109) over (0.105) ... 1672s Preparing to unpack .../175-python3-software-properties_0.109_all.deb ... 1673s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1673s for fn in glob1(directory, "%s.*" % fname): 1673s Unpacking python3-software-properties (0.109) over (0.105) ... 1673s Preparing to unpack .../176-python3-wadllib_2.0.0-2_all.deb ... 1673s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1673s for fn in glob1(directory, "%s.*" % fname): 1673s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 1673s Preparing to unpack .../177-tmux_3.5a-3_armhf.deb ... 1673s Unpacking tmux (3.5a-3) over (3.4-7) ... 1673s Preparing to unpack .../178-unattended-upgrades_2.12ubuntu4_all.deb ... 1673s Unpacking unattended-upgrades (2.12ubuntu4) over (2.9.1+nmu4ubuntu1) ... 1673s dpkg: warning: unable to delete old directory '/lib/systemd/system-sleep': Directory not empty 1673s Preparing to unpack .../179-xfsprogs_6.12.0-1ubuntu1_armhf.deb ... 1673s Unpacking xfsprogs (6.12.0-1ubuntu1) over (6.8.0-2.2ubuntu2) ... 1673s Preparing to unpack .../180-zstd_1.5.6+dfsg-2_armhf.deb ... 1673s Unpacking zstd (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 1673s Preparing to unpack .../181-cloud-init_25.1-0ubuntu1_all.deb ... 1673s Unpacking cloud-init (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 1673s Preparing to unpack .../182-kpartx_0.9.9-1ubuntu4_armhf.deb ... 1673s Unpacking kpartx (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 1673s Preparing to unpack .../183-multipath-tools_0.9.9-1ubuntu4_armhf.deb ... 1673s Unpacking multipath-tools (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 1673s Setting up libip4tc2:armhf (1.8.11-2ubuntu1) ... 1673s Setting up powermgmt-base (1.38) ... 1673s Setting up motd-news-config (13.6ubuntu1) ... 1673s Setting up distro-info (1.13) ... 1673s Setting up liburcu8t64:armhf (0.15.1-1) ... 1673s Setting up libibverbs1:armhf (55.0-1ubuntu1) ... 1673s Setting up libxdmcp6:armhf (1:1.1.5-1) ... 1673s Setting up lto-disabled-list (56) ... 1673s Setting up pci.ids (0.0~2025.02.12-1) ... 1673s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 1673s Setting up apt-utils (2.9.30ubuntu1) ... 1673s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 1673s Setting up init (1.68) ... 1673s Setting up ibverbs-providers:armhf (55.0-1ubuntu1) ... 1673s Setting up gcc-14-base:armhf (14.2.0-17ubuntu3) ... 1673s Setting up psmisc (23.7-2) ... 1673s Setting up libcbor0.10:armhf (0.10.2-2ubuntu1) ... 1673s Setting up libyaml-0-2:armhf (0.2.5-2) ... 1673s Setting up libip6tc2:armhf (1.8.11-2ubuntu1) ... 1673s Setting up liblsof0 (4.99.4+dfsg-2) ... 1673s Setting up libmaxminddb0:armhf (1.12.2-1) ... 1673s Setting up python3.12-gdbm (3.12.9-1) ... 1673s Setting up libedit2:armhf (3.1-20250104-1) ... 1673s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-8build1) ... 1673s Setting up netcat-openbsd (1.228-1) ... 1673s Setting up libpython3.12-minimal:armhf (3.12.9-1) ... 1673s Setting up binutils-common:armhf (2.44-2ubuntu1) ... 1673s Setting up libctf-nobfd0:armhf (2.44-2ubuntu1) ... 1673s Setting up gettext-base (0.23.1-1) ... 1673s Setting up libnss-systemd:armhf (257.2-3ubuntu1) ... 1673s Setting up libnftnl11:armhf (1.2.8-1) ... 1673s Setting up krb5-locales (1.21.3-4ubuntu1) ... 1673s Setting up libcom-err2:armhf (1.47.2-1ubuntu1) ... 1673s Setting up libjemalloc2:armhf (5.3.0-2build1) ... 1673s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) ... 1673s Setting up locales (2.40-4ubuntu1) ... 1674s Generating locales (this might take a while)... 1676s en_US.UTF-8... done 1676s Generation complete. 1676s Setting up libldap-common (2.6.9+dfsg-1~exp2ubuntu1) ... 1676s Installing new version of config file /etc/ldap/ldap.conf ... 1676s Setting up libprotobuf-c1:armhf (1.5.1-1ubuntu1) ... 1676s Setting up xxd (2:9.1.0967-1ubuntu2) ... 1676s Setting up libsframe1:armhf (2.44-2ubuntu1) ... 1676s Setting up python-babel-localedata (2.17.0-1) ... 1676s Setting up libkrb5support0:armhf (1.21.3-4ubuntu1) ... 1676s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) ... 1676s Setting up tzdata (2025a-2ubuntu1) ... 1676s 1676s Current default time zone: 'Etc/UTC' 1676s Local time is now: Sat Feb 22 05:19:16 UTC 2025. 1676s Universal Time is now: Sat Feb 22 05:19:16 UTC 2025. 1676s Run 'dpkg-reconfigure tzdata' if you wish to change it. 1676s 1676s Setting up eject (2.40.2-14ubuntu1) ... 1676s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 1676s Installing new version of config file /etc/apparmor.d/abstractions/dconf ... 1676s Installing new version of config file /etc/apparmor.d/abstractions/mesa ... 1676s Installing new version of config file /etc/apparmor.d/abstractions/nameservice ... 1676s Installing new version of config file /etc/apparmor.d/abstractions/php ... 1676s Installing new version of config file /etc/apparmor.d/abstractions/python ... 1676s Installing new version of config file /etc/apparmor.d/sbuild ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-abort ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-adduser ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-apt ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-checkpackages ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-clean ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-createchroot ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-destroychroot ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-distupgrade ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-hold ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-shell ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-unhold ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-update ... 1676s Installing new version of config file /etc/apparmor.d/sbuild-upgrade ... 1676s Installing new version of config file /etc/apparmor.d/slirp4netns ... 1676s Installing new version of config file /etc/apparmor.d/toybox ... 1676s Installing new version of config file /etc/apparmor.d/transmission ... 1676s Installing new version of config file /etc/apparmor.d/tunables/global ... 1677s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1677s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1677s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1677s Reloading AppArmor profiles 1677s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1677s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1677s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1677s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1677s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1677s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1677s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1677s 1678s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "unpriv_unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "remmina". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1678s 1678s Error: At least one profile failed to load 1678s Setting up libglib2.0-data (2.83.4-1) ... 1678s Setting up vim-common (2:9.1.0967-1ubuntu2) ... 1678s Setting up busybox-static (1:1.37.0-4ubuntu1) ... 1678s Setting up libwrap0:armhf (7.6.q-35) ... 1678s Setting up libnvme1t64 (1.11.1-2) ... 1678s Setting up make (4.4.1-1) ... 1678s Setting up libnspr4:armhf (2:4.36-1ubuntu1) ... 1678s Setting up gnupg-l10n (2.4.4-2ubuntu22) ... 1678s Setting up ed (1.21-1) ... 1678s Setting up bash-completion (1:2.16.0-7) ... 1678s Setting up libncurses6:armhf (6.5+20250125-2) ... 1678s Setting up libdbus-1-3:armhf (1.16.0-1ubuntu1) ... 1678s Setting up libfribidi0:armhf (1.0.16-1) ... 1678s Setting up libpng16-16t64:armhf (1.6.46-4) ... 1678s Setting up systemd-timesyncd (257.2-3ubuntu1) ... 1679s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 1679s Setting up libatomic1:armhf (15-20250213-1ubuntu1) ... 1679s Setting up udev (257.2-3ubuntu1) ... 1680s Setting up libss2:armhf (1.47.2-1ubuntu1) ... 1680s Setting up usb.ids (2025.01.14-1) ... 1680s Setting up dhcpcd-base (1:10.1.0-7) ... 1680s Installing new version of config file /etc/dhcpcd.conf ... 1680s Setting up ucf (3.0050) ... 1680s Installing new version of config file /etc/ucf.conf ... 1680s Setting up libncursesw6:armhf (6.5+20250125-2) ... 1680s Setting up libk5crypto3:armhf (1.21.3-4ubuntu1) ... 1680s Setting up busybox-initramfs (1:1.37.0-4ubuntu1) ... 1680s Setting up libxtables12:armhf (1.8.11-2ubuntu1) ... 1680s Setting up logsave (1.47.2-1ubuntu1) ... 1680s Setting up libsasl2-2:armhf (2.1.28+dfsg1-8build1) ... 1680s Setting up lsof (4.99.4+dfsg-2) ... 1680s Setting up libfdisk1:armhf (2.40.2-14ubuntu1) ... 1680s Setting up libicu74:armhf (74.2-1ubuntu6) ... 1680s Setting up nano (8.3-1) ... 1680s Installing new version of config file /etc/nanorc ... 1680s Setting up libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) ... 1680s Setting up whiptail (0.52.24-4ubuntu1) ... 1680s Setting up python-apt-common (2.9.9) ... 1680s Setting up dracut-install (106-2ubuntu1) ... 1680s Setting up perl-modules-5.40 (5.40.1-2) ... 1680s Setting up dmsetup (2:1.02.201-1ubuntu1) ... 1680s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 1680s uuidd.service is a disabled or a static unit not running, not starting it. 1681s Setting up xauth (1:1.1.2-1.1) ... 1681s Setting up groff-base (1.23.0-7) ... 1681s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 1681s Setting up dbus-session-bus-common (1.16.0-1ubuntu1) ... 1681s Setting up kpartx (0.9.9-1ubuntu4) ... 1681s Setting up libpcap0.8t64:armhf (1.10.5-2ubuntu1) ... 1681s Setting up libcryptsetup12:armhf (2:2.7.5-1ubuntu2) ... 1681s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 1681s Setting up mawk (1.3.4.20250131-1) ... 1681s Setting up libkrb5-3:armhf (1.21.3-4ubuntu1) ... 1681s Setting up libusb-1.0-0:armhf (2:1.0.27-2) ... 1681s Setting up libicu76:armhf (76.1-1ubuntu2) ... 1681s Setting up linux-headers-6.12.0-15 (6.12.0-15.15) ... 1681s Setting up keyboard-configuration (1.226ubuntu3) ... 1682s Your console font configuration will be updated the next time your system 1682s boots. If you want to update it now, run 'setupcon' from a virtual console. 1682s update-initramfs: deferring update (trigger activated) 1682s Setting up libbinutils:armhf (2.44-2ubuntu1) ... 1682s Setting up dbus-system-bus-common (1.16.0-1ubuntu1) ... 1682s Setting up openssl (3.4.1-1ubuntu1) ... 1682s Installing new version of config file /etc/ssl/openssl.cnf ... 1682s Setting up libgpg-error-l10n (1.51-3) ... 1682s Setting up iputils-ping (3:20240905-1ubuntu1) ... 1682s Setting up readline-common (8.2-6) ... 1682s Setting up publicsuffix (20250108.1153-0.1) ... 1682s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) ... 1682s Setting up tmux (3.5a-3) ... 1682s Setting up zstd (1.5.6+dfsg-2) ... 1682s Setting up libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) ... 1682s Setting up dbus-bin (1.16.0-1ubuntu1) ... 1682s Setting up libbpf1:armhf (1:1.5.0-2) ... 1682s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 1682s Setting up rsync (3.4.1-0syncable1) ... 1682s rsync.service is a disabled or a static unit not running, not starting it. 1682s Setting up python3.13-gdbm (3.13.2-1) ... 1682s Setting up ethtool (1:6.11-1) ... 1682s Setting up gnupg-utils (2.4.4-2ubuntu22) ... 1682s Setting up initramfs-tools-bin (0.145ubuntu2) ... 1682s Setting up ncurses-term (6.5+20250125-2) ... 1682s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 1682s Setting up cron-daemon-common (3.0pl1-192ubuntu1) ... 1683s Setting up libxkbcommon0:armhf (1.7.0-2) ... 1683s Setting up libctf0:armhf (2.44-2ubuntu1) ... 1683s Setting up cryptsetup-bin (2:2.7.5-1ubuntu2) ... 1683s Setting up pinentry-curses (1.3.1-2ubuntu2) ... 1683s Setting up python3.12-minimal (3.12.9-1) ... 1684s Setting up libnftables1:armhf (1.1.1-1build1) ... 1684s Setting up nftables (1.1.1-1build1) ... 1684s Setting up iptables (1.8.11-2ubuntu1) ... 1684s Setting up htop (3.3.0-5) ... 1684s Setting up iproute2 (6.13.0-1ubuntu1) ... 1684s Setting up btrfs-progs (6.12-1build1) ... 1684s Setting up cron (3.0pl1-192ubuntu1) ... 1685s Setting up rsyslog (8.2412.0-2ubuntu1) ... 1685s Installing new version of config file /etc/apparmor.d/usr.sbin.rsyslogd ... 1685s info: The user `syslog' is already a member of `adm'. 1686s apparmor_parser: Unable to replace "rsyslogd". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1686s 1686s Setting up inetutils-telnet (2:2.5-6ubuntu1) ... 1686s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 1686s update-initramfs: deferring update (trigger activated) 1687s Setting up libnss3:armhf (2:3.108-1ubuntu1) ... 1687s Setting up dbus-daemon (1.16.0-1ubuntu1) ... 1687s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ... 1687s Setting up multipath-tools (0.9.9-1ubuntu4) ... 1687s Setting up libperl5.40:armhf (5.40.1-2) ... 1687s Setting up libftdi1-2:armhf (1.5-8) ... 1687s Setting up ca-certificates (20241223) ... 1690s Updating certificates in /etc/ssl/certs... 1692s rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL 1692s 7 added, 1 removed; done. 1692s Setting up perl (5.40.1-2) ... 1692s Setting up libglib2.0-0t64:armhf (2.83.4-1) ... 1692s No schema files found: doing nothing. 1692s Setting up systemd-cryptsetup (257.2-3ubuntu1) ... 1692s Setting up dbus (1.16.0-1ubuntu1) ... 1692s A reboot is required to replace the running dbus-daemon. 1692s Please reboot the system when convenient. 1692s Setting up libblockdev-utils3:armhf (3.3.0-1) ... 1692s Setting up linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 1692s Setting up libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) ... 1692s Setting up gir1.2-glib-2.0:armhf (2.83.4-1) ... 1692s Setting up libdpkg-perl (1.22.11ubuntu4) ... 1692s Setting up libreadline8t64:armhf (8.2-6) ... 1692s Setting up libblockdev-nvme3:armhf (3.3.0-1) ... 1692s Setting up libblockdev-fs3:armhf (3.3.0-1) ... 1692s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 1692s Setting up libplymouth5:armhf (24.004.60-2ubuntu5) ... 1692s Setting up gpgconf (2.4.4-2ubuntu22) ... 1692s Setting up libpam-systemd:armhf (257.2-3ubuntu1) ... 1692s Setting up libgirepository-1.0-1:armhf (1.82.0-4) ... 1692s Setting up initramfs-tools-core (0.145ubuntu2) ... 1692s Setting up binutils-arm-linux-gnueabihf (2.44-2ubuntu1) ... 1692s Setting up libarchive13t64:armhf (3.7.7-0ubuntu1) ... 1692s Setting up libpython3.13-stdlib:armhf (3.13.2-1) ... 1692s Setting up gpg (2.4.4-2ubuntu22) ... 1692s Setting up libgudev-1.0-0:armhf (1:238-6) ... 1692s Setting up libpolkit-gobject-1-0:armhf (126-2) ... 1692s Setting up libgstreamer1.0-0:armhf (1.25.50-1) ... 1692s Setcap worked! gst-ptp-helper is not suid! 1692s Setting up libudisks2-0:armhf (2.10.1-11ubuntu2) ... 1692s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 1692s Setting up systemd-resolved (257.2-3ubuntu1) ... 1693s Setting up gpg-agent (2.4.4-2ubuntu22) ... 1694s Setting up telnet (0.17+2.5-6ubuntu1) ... 1694s Setting up libpython3.12-stdlib:armhf (3.12.9-1) ... 1694s Setting up initramfs-tools (0.145ubuntu2) ... 1694s update-initramfs: deferring update (trigger activated) 1694s Setting up libblockdev-mdraid3:armhf (3.3.0-1) ... 1694s Setting up libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 1694s Setting up bind9-libs:armhf (1:9.20.4-3ubuntu1) ... 1694s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 1694s Setting up python3.13 (3.13.2-1) ... 1695s Setting up libblockdev-swap3:armhf (3.3.0-1) ... 1695s Setting up plymouth (24.004.60-2ubuntu5) ... 1695s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 1695s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 1695s Setting up python3.12 (3.12.9-1) ... 1697s Setting up libblockdev-loop3:armhf (3.3.0-1) ... 1697s Setting up gpgsm (2.4.4-2ubuntu22) ... 1697s Setting up libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 1697s Setting up libglib2.0-bin (2.83.4-1) ... 1697s Setting up libpackagekit-glib2-18:armhf (1.3.0-3build1) ... 1697s Setting up libappstream5:armhf (1.0.4-1) ... 1697s Setting up libqmi-glib5:armhf (1.35.6-1) ... 1697s Setting up python3 (3.13.1-1~exp2) ... 1697s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1697s for fn in glob1(directory, "%s.*" % fname): 1697s Setting up linux-headers-generic (6.12.0-15.15+1) ... 1697s Setting up binutils (2.44-2ubuntu1) ... 1697s Setting up libnetplan1:armhf (1.1.2-2ubuntu1) ... 1697s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 1697s Setting up libblockdev3:armhf (3.3.0-1) ... 1697s Setting up fdisk (2.40.2-14ubuntu1) ... 1697s Setting up dpkg-dev (1.22.11ubuntu4) ... 1697s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 1697s Setting up libblockdev-part3:armhf (3.3.0-1) ... 1697s Setting up dirmngr (2.4.4-2ubuntu22) ... 1697s Setting up gir1.2-packagekitglib-1.0 (1.3.0-3build1) ... 1697s Setting up dbus-user-session (1.16.0-1ubuntu1) ... 1697s Setting up python3-jinja2 (3.1.5-2) ... 1698s Setting up python3-pygments (2.18.0+dfsg-2) ... 1699s Setting up python3-chardet (5.2.0+dfsg-2) ... 1700s Setting up appstream (1.0.4-1) ... 1702s ✔ Metadata cache was updated successfully. 1702s Setting up python3-certifi (2025.1.31+ds-1) ... 1702s Setting up gir1.2-girepository-2.0:armhf (1.82.0-4) ... 1702s Setting up python3-gi (3.50.0-4) ... 1703s Setting up python3-idna (3.10-1) ... 1703s Setting up xfsprogs (6.12.0-1ubuntu1) ... 1703s update-initramfs: deferring update (trigger activated) 1704s Setting up keyboxd (2.4.4-2ubuntu22) ... 1704s Setting up python3-urllib3 (2.3.0-1) ... 1704s Setting up python3-json-pointer (2.4-3) ... 1704s Setting up gnupg (2.4.4-2ubuntu22) ... 1704s Setting up python3-netplan (1.1.2-2ubuntu1) ... 1705s Setting up libpolkit-agent-1-0:armhf (126-2) ... 1705s Setting up libgpgme11t64:armhf (1.24.2-1ubuntu1) ... 1705s Setting up curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 1705s Setting up libvolume-key1:armhf (0.3.12-9) ... 1705s Setting up netplan-generator (1.1.2-2ubuntu1) ... 1705s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 1705s Setting up bind9-host (1:9.20.4-3ubuntu1) ... 1705s Setting up python3-distro-info (1.13) ... 1705s Setting up polkitd (126-2) ... 1706s Setting up python3-more-itertools (10.6.0-1) ... 1706s Setting up python3-attr (25.1.0-1) ... 1706s Setting up gpg-wks-client (2.4.4-2ubuntu22) ... 1706s Setting up libblockdev-crypto3:armhf (3.3.0-1) ... 1706s Setting up python3-jwt (2.10.1-2) ... 1706s Setting up python3-babel (2.17.0-1) ... 1707s Setting up python3-rich (13.9.4-1) ... 1707s Setting up python3-gdbm:armhf (3.13.1-1) ... 1707s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ... 1708s Setting up python3-apt (2.9.9) ... 1708s Setting up python3-jsonpatch (1.32-5) ... 1708s Setting up python3-bcrypt (4.2.0-2.1) ... 1708s Setting up libqmi-proxy (1.35.6-1) ... 1708s Setting up libfwupd3:armhf (2.0.6-3) ... 1708s Setting up ufw (0.36.2-9) ... 1709s Setting up python3-lazr.uri (1.0.6-5) ... 1710s Setting up netplan.io (1.1.2-2ubuntu1) ... 1710s Setting up unattended-upgrades (2.12ubuntu4) ... 1710s Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version 1710s Setting up pollinate (4.33-4ubuntu2) ... 1711s Setting up python3-cryptography (43.0.0-1) ... 1711s Setting up python3-wadllib (2.0.0-2) ... 1712s Setting up python3-requests (2.32.3+dfsg-4ubuntu1) ... 1712s Setting up bind9-dnsutils (1:9.20.4-3ubuntu1) ... 1712s Setting up ubuntu-pro-client (34.1.3) ... 1712s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1712s 1712s apparmor_parser: Unable to replace "apt_methods". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1712s 1712s apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 1712s 1714s Setting up fwupd (2.0.6-3) ... 1714s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 1714s fwupd.service is a disabled or a static unit not running, not starting it. 1715s Setting up python3-referencing (0.35.1-2ubuntu1) ... 1715s Setting up python3-pkg-resources (75.6.0-1) ... 1715s Setting up ubuntu-pro-client-l10n (34.1.3) ... 1715s Setting up udisks2 (2.10.1-11ubuntu2) ... 1715s vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/uevent': Permission denied 1715s vda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda1/uevent': Permission denied 1715s vda15: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda15/uevent': Permission denied 1715s vda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda2/uevent': Permission denied 1715s loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied 1715s loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied 1715s loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied 1715s loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied 1715s loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied 1715s loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied 1715s loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied 1715s loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 1715s loop8: Failed to write 'change' to '/sys/devices/virtual/block/loop8/uevent': Permission denied 1716s Setting up python3-setuptools (75.6.0-1) ... 1717s Setting up python3-openssl (25.0.0-1) ... 1718s Setting up python3-launchpadlib (2.1.0-1) ... 1718s Setting up ubuntu-standard (1.547) ... 1718s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ... 1718s Setting up python3-oauthlib (3.2.2-3) ... 1719s Setting up python3-software-properties (0.109) ... 1719s Setting up python3-jsonschema (4.19.2-6ubuntu1) ... 1719s Setting up cloud-init-base (25.1-0ubuntu1) ... 1719s Installing new version of config file /etc/cloud/templates/sources.list.debian.deb822.tmpl ... 1719s Installing new version of config file /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl ... 1721s Setting up cloud-init (25.1-0ubuntu1) ... 1721s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ... 1722s Setting up apport (2.31.0+git20250220-0ubuntu1) ... 1723s apport-autoreport.service is a disabled or a static unit not running, not starting it. 1723s Setting up kbd (2.7.1-2ubuntu1) ... 1723s Setting up console-setup-linux (1.226ubuntu3) ... 1724s Setting up console-setup (1.226ubuntu3) ... 1725s update-initramfs: deferring update (trigger activated) 1725s Setting up ubuntu-minimal (1.547) ... 1725s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1725s Processing triggers for systemd (257.2-3ubuntu1) ... 1725s Processing triggers for man-db (2.13.0-1) ... 1727s Processing triggers for shared-mime-info (2.4-5) ... 1727s Warning: program compiled against libxml 212 using older 209 1727s Processing triggers for sgml-base (1.31) ... 1727s Processing triggers for debianutils (5.21) ... 1727s Processing triggers for install-info (7.1.1-1) ... 1727s Setting up packagekit (1.3.0-3build1) ... 1727s Setting up packagekit-tools (1.3.0-3build1) ... 1727s Setting up software-properties-common (0.109) ... 1728s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1728s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 1728s Processing triggers for ca-certificates (20241223) ... 1728s Updating certificates in /etc/ssl/certs... 1729s 0 added, 0 removed; done. 1729s Running hooks in /etc/ca-certificates/update.d... 1729s done. 1729s Processing triggers for initramfs-tools (0.145ubuntu2) ... 1732s Reading package lists... 1732s Building dependency tree... 1732s Reading state information... 1733s Starting pkgProblemResolver with broken count: 0 1733s Starting 2 pkgProblemResolver with broken count: 0 1733s Done 1733s Solving dependencies... 1734s The following packages will be REMOVED: 1734s libapt-pkg6.0t64* libassuan0* libicu74* libnsl2* libpython3.12-minimal* 1734s libpython3.12-stdlib* libunwind8* linux-headers-6.11.0-8* 1734s linux-headers-6.11.0-8-generic* python3.12* python3.12-minimal* 1734s 0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded. 1734s After this operation, 154 MB disk space will be freed. 1734s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 92815 files and directories currently installed.) 1734s Removing libapt-pkg6.0t64:armhf (2.9.29) ... 1734s Removing libassuan0:armhf (2.5.6-1build1) ... 1734s Removing libicu74:armhf (74.2-1ubuntu6) ... 1734s Removing python3.12 (3.12.9-1) ... 1734s Removing libpython3.12-stdlib:armhf (3.12.9-1) ... 1734s Removing libnsl2:armhf (1.3.0-3build3) ... 1734s Removing python3.12-minimal (3.12.9-1) ... 1734s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 1734s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 1735s Removing libpython3.12-minimal:armhf (3.12.9-1) ... 1735s Removing libunwind8:armhf (1.6.2-3.1) ... 1735s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 1736s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 1736s Processing triggers for systemd (257.2-3ubuntu1) ... 1737s Processing triggers for man-db (2.13.0-1) ... 1737s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1737s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60309 files and directories currently installed.) 1737s Purging configuration files for python3.12-minimal (3.12.9-1) ... 1737s Purging configuration files for libpython3.12-minimal:armhf (3.12.9-1) ... 1739s autopkgtest [05:20:19]: rebooting testbed after setup commands that affected boot 1811s Reading package lists... 1811s Building dependency tree... 1811s Reading state information... 1812s Starting pkgProblemResolver with broken count: 0 1812s Starting 2 pkgProblemResolver with broken count: 0 1812s Done 1813s The following NEW packages will be installed: 1813s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools 1813s gnome-desktop-testing libdrm-radeon1 libfontenc1 libfreetype6 libgbm1 1813s libgio-2.0-dev-bin libgirepository-2.0-0 libgl1 libgl1-mesa-dri 1813s libglapi-mesa libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 1813s libglx0 libice6 libllvm19 libpixman-1-0 libsm6 libvulkan1 libwayland-server0 1813s libx11-xcb1 libxaw7 libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 1813s libxcb-shm0 libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 1813s libxpm4 libxrandr2 libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 1813s mesa-libgallium native-architecture python3-dbusmock python3-packaging 1813s tzdata-legacy x11-common x11-xkb-utils xserver-common xvfb 1813s 0 upgraded, 52 newly installed, 0 to remove and 0 not upgraded. 1813s Need to get 42.6 MB of archives. 1813s After this operation, 194 MB of additional disk space will be used. 1813s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-x11 armhf 1.16.0-1ubuntu1 [22.7 kB] 1813s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf desktop-file-utils armhf 0.28-1 [48.5 kB] 1813s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf gir1.2-glib-2.0-dev armhf 2.83.4-1 [861 kB] 1814s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf native-architecture all 0.2.5 [2082 B] 1814s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libgirepository-2.0-0 armhf 2.83.4-1 [99.1 kB] 1814s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf girepository-tools armhf 2.83.4-1 [109 kB] 1814s Get:7 http://ftpmaster.internal/ubuntu plucky/universe armhf gnome-desktop-testing armhf 2021.1-4 [16.2 kB] 1814s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf libdrm-radeon1 armhf 2.4.123-1 [18.1 kB] 1814s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf libfontenc1 armhf 1:1.1.8-1build1 [11.5 kB] 1814s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf libfreetype6 armhf 2.13.3+dfsg-1 [330 kB] 1814s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf libwayland-server0 armhf 1.23.1-3 [30.3 kB] 1814s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libglapi-mesa armhf 24.3.4-3ubuntu1 [50.1 kB] 1814s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf libllvm19 armhf 1:19.1.7-1ubuntu2 [27.8 MB] 1817s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf libx11-xcb1 armhf 2:1.8.10-2 [7902 B] 1817s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-dri3-0 armhf 1.17.0-2 [7120 B] 1817s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-present0 armhf 1.17.0-2 [5940 B] 1817s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-randr0 armhf 1.17.0-2 [17.0 kB] 1817s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-sync1 armhf 1.17.0-2 [8732 B] 1817s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-xfixes0 armhf 1.17.0-2 [10.0 kB] 1817s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf libxshmfence1 armhf 1.3-1build5 [4464 B] 1817s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf mesa-libgallium armhf 24.3.4-3ubuntu1 [8155 kB] 1817s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf libgbm1 armhf 24.3.4-3ubuntu1 [29.0 kB] 1817s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf python3-packaging all 24.2-1 [51.5 kB] 1817s Get:24 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libgio-2.0-dev-bin armhf 2.83.4-1 [130 kB] 1817s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libvulkan1 armhf 1.4.304.0-1 [127 kB] 1817s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1-mesa-dri armhf 24.3.4-3ubuntu1 [31.8 kB] 1817s Get:27 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-dev-bin armhf 2.83.4-1 [18.1 kB] 1817s Get:28 http://ftpmaster.internal/ubuntu plucky/universe armhf python3-dbusmock all 0.34.0-1 [92.2 kB] 1817s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata-legacy all 2025a-2ubuntu1 [99.2 kB] 1817s Get:30 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf libglib2.0-tests armhf 2.83.4-1 [2354 kB] 1817s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-glx0 armhf 1.17.0-2 [22.6 kB] 1817s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libxcb-shm0 armhf 1.17.0-2 [5774 B] 1817s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libxxf86vm1 armhf 1:1.1.4-1build4 [8068 B] 1817s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libglx-mesa0 armhf 24.3.4-3ubuntu1 [121 kB] 1817s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf x11-common all 1:7.7+23ubuntu3 [21.7 kB] 1817s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf libice6 armhf 2:1.1.1-1 [36.5 kB] 1817s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf libpixman-1-0 armhf 0.44.0-3 [183 kB] 1817s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libsm6 armhf 2:1.2.4-1 [15.1 kB] 1817s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libxt6t64 armhf 1:1.2.1-1.2build1 [145 kB] 1818s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libxmu6 armhf 2:1.1.3-3build2 [40.4 kB] 1818s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libxpm4 armhf 1:3.5.17-1build2 [30.1 kB] 1818s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf libxaw7 armhf 2:1.0.16-1 [154 kB] 1818s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf libxfont2 armhf 1:2.0.6-1build1 [80.3 kB] 1818s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbfile1 armhf 1:1.1.0-1build4 [60.0 kB] 1818s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf libxrender1 armhf 1:0.9.10-1.1build1 [16.0 kB] 1818s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf libxrandr2 armhf 2:1.5.4-1 [15.8 kB] 1818s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf x11-xkb-utils armhf 7.7+9 [159 kB] 1818s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf xserver-common all 2:21.1.14-2ubuntu1 [33.7 kB] 1818s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libglvnd0 armhf 1.7.0-1build1 [83.7 kB] 1818s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libglx0 armhf 1.7.0-1build1 [39.3 kB] 1818s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf libgl1 armhf 1.7.0-1build1 [105 kB] 1818s Get:52 http://ftpmaster.internal/ubuntu plucky/universe armhf xvfb armhf 2:21.1.14-2ubuntu1 [730 kB] 1818s Fetched 42.6 MB in 5s (8798 kB/s) 1818s Selecting previously unselected package dbus-x11. 1818s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60307 files and directories currently installed.) 1818s Preparing to unpack .../00-dbus-x11_1.16.0-1ubuntu1_armhf.deb ... 1818s Unpacking dbus-x11 (1.16.0-1ubuntu1) ... 1818s Selecting previously unselected package desktop-file-utils. 1818s Preparing to unpack .../01-desktop-file-utils_0.28-1_armhf.deb ... 1818s Unpacking desktop-file-utils (0.28-1) ... 1818s Selecting previously unselected package gir1.2-glib-2.0-dev:armhf. 1818s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.83.4-1_armhf.deb ... 1818s Unpacking gir1.2-glib-2.0-dev:armhf (2.83.4-1) ... 1819s Selecting previously unselected package native-architecture. 1819s Preparing to unpack .../03-native-architecture_0.2.5_all.deb ... 1819s Unpacking native-architecture (0.2.5) ... 1819s Selecting previously unselected package libgirepository-2.0-0:armhf. 1819s Preparing to unpack .../04-libgirepository-2.0-0_2.83.4-1_armhf.deb ... 1819s Unpacking libgirepository-2.0-0:armhf (2.83.4-1) ... 1819s Selecting previously unselected package girepository-tools:armhf. 1819s Preparing to unpack .../05-girepository-tools_2.83.4-1_armhf.deb ... 1819s Unpacking girepository-tools:armhf (2.83.4-1) ... 1819s Selecting previously unselected package gnome-desktop-testing. 1819s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_armhf.deb ... 1819s Unpacking gnome-desktop-testing (2021.1-4) ... 1819s Selecting previously unselected package libdrm-radeon1:armhf. 1819s Preparing to unpack .../07-libdrm-radeon1_2.4.123-1_armhf.deb ... 1819s Unpacking libdrm-radeon1:armhf (2.4.123-1) ... 1819s Selecting previously unselected package libfontenc1:armhf. 1819s Preparing to unpack .../08-libfontenc1_1%3a1.1.8-1build1_armhf.deb ... 1819s Unpacking libfontenc1:armhf (1:1.1.8-1build1) ... 1819s Selecting previously unselected package libfreetype6:armhf. 1819s Preparing to unpack .../09-libfreetype6_2.13.3+dfsg-1_armhf.deb ... 1819s Unpacking libfreetype6:armhf (2.13.3+dfsg-1) ... 1819s Selecting previously unselected package libwayland-server0:armhf. 1819s Preparing to unpack .../10-libwayland-server0_1.23.1-3_armhf.deb ... 1819s Unpacking libwayland-server0:armhf (1.23.1-3) ... 1819s Selecting previously unselected package libglapi-mesa:armhf. 1819s Preparing to unpack .../11-libglapi-mesa_24.3.4-3ubuntu1_armhf.deb ... 1819s Unpacking libglapi-mesa:armhf (24.3.4-3ubuntu1) ... 1819s Selecting previously unselected package libllvm19:armhf. 1819s Preparing to unpack .../12-libllvm19_1%3a19.1.7-1ubuntu2_armhf.deb ... 1819s Unpacking libllvm19:armhf (1:19.1.7-1ubuntu2) ... 1820s Selecting previously unselected package libx11-xcb1:armhf. 1820s Preparing to unpack .../13-libx11-xcb1_2%3a1.8.10-2_armhf.deb ... 1820s Unpacking libx11-xcb1:armhf (2:1.8.10-2) ... 1820s Selecting previously unselected package libxcb-dri3-0:armhf. 1820s Preparing to unpack .../14-libxcb-dri3-0_1.17.0-2_armhf.deb ... 1820s Unpacking libxcb-dri3-0:armhf (1.17.0-2) ... 1820s Selecting previously unselected package libxcb-present0:armhf. 1820s Preparing to unpack .../15-libxcb-present0_1.17.0-2_armhf.deb ... 1820s Unpacking libxcb-present0:armhf (1.17.0-2) ... 1820s Selecting previously unselected package libxcb-randr0:armhf. 1820s Preparing to unpack .../16-libxcb-randr0_1.17.0-2_armhf.deb ... 1820s Unpacking libxcb-randr0:armhf (1.17.0-2) ... 1820s Selecting previously unselected package libxcb-sync1:armhf. 1820s Preparing to unpack .../17-libxcb-sync1_1.17.0-2_armhf.deb ... 1820s Unpacking libxcb-sync1:armhf (1.17.0-2) ... 1820s Selecting previously unselected package libxcb-xfixes0:armhf. 1820s Preparing to unpack .../18-libxcb-xfixes0_1.17.0-2_armhf.deb ... 1820s Unpacking libxcb-xfixes0:armhf (1.17.0-2) ... 1820s Selecting previously unselected package libxshmfence1:armhf. 1820s Preparing to unpack .../19-libxshmfence1_1.3-1build5_armhf.deb ... 1820s Unpacking libxshmfence1:armhf (1.3-1build5) ... 1820s Selecting previously unselected package mesa-libgallium:armhf. 1820s Preparing to unpack .../20-mesa-libgallium_24.3.4-3ubuntu1_armhf.deb ... 1820s Unpacking mesa-libgallium:armhf (24.3.4-3ubuntu1) ... 1820s Selecting previously unselected package libgbm1:armhf. 1820s Preparing to unpack .../21-libgbm1_24.3.4-3ubuntu1_armhf.deb ... 1820s Unpacking libgbm1:armhf (24.3.4-3ubuntu1) ... 1820s Selecting previously unselected package python3-packaging. 1820s Preparing to unpack .../22-python3-packaging_24.2-1_all.deb ... 1820s Unpacking python3-packaging (24.2-1) ... 1820s Selecting previously unselected package libgio-2.0-dev-bin. 1820s Preparing to unpack .../23-libgio-2.0-dev-bin_2.83.4-1_armhf.deb ... 1820s Unpacking libgio-2.0-dev-bin (2.83.4-1) ... 1821s Selecting previously unselected package libvulkan1:armhf. 1821s Preparing to unpack .../24-libvulkan1_1.4.304.0-1_armhf.deb ... 1821s Unpacking libvulkan1:armhf (1.4.304.0-1) ... 1821s Selecting previously unselected package libgl1-mesa-dri:armhf. 1821s Preparing to unpack .../25-libgl1-mesa-dri_24.3.4-3ubuntu1_armhf.deb ... 1821s Unpacking libgl1-mesa-dri:armhf (24.3.4-3ubuntu1) ... 1821s Selecting previously unselected package libglib2.0-dev-bin. 1821s Preparing to unpack .../26-libglib2.0-dev-bin_2.83.4-1_armhf.deb ... 1821s Unpacking libglib2.0-dev-bin (2.83.4-1) ... 1821s Selecting previously unselected package python3-dbusmock. 1821s Preparing to unpack .../27-python3-dbusmock_0.34.0-1_all.deb ... 1821s Unpacking python3-dbusmock (0.34.0-1) ... 1821s Selecting previously unselected package tzdata-legacy. 1821s Preparing to unpack .../28-tzdata-legacy_2025a-2ubuntu1_all.deb ... 1821s Unpacking tzdata-legacy (2025a-2ubuntu1) ... 1821s Selecting previously unselected package libglib2.0-tests. 1821s Preparing to unpack .../29-libglib2.0-tests_2.83.4-1_armhf.deb ... 1821s Unpacking libglib2.0-tests (2.83.4-1) ... 1821s Selecting previously unselected package libxcb-glx0:armhf. 1821s Preparing to unpack .../30-libxcb-glx0_1.17.0-2_armhf.deb ... 1821s Unpacking libxcb-glx0:armhf (1.17.0-2) ... 1821s Selecting previously unselected package libxcb-shm0:armhf. 1821s Preparing to unpack .../31-libxcb-shm0_1.17.0-2_armhf.deb ... 1821s Unpacking libxcb-shm0:armhf (1.17.0-2) ... 1821s Selecting previously unselected package libxxf86vm1:armhf. 1821s Preparing to unpack .../32-libxxf86vm1_1%3a1.1.4-1build4_armhf.deb ... 1821s Unpacking libxxf86vm1:armhf (1:1.1.4-1build4) ... 1821s Selecting previously unselected package libglx-mesa0:armhf. 1821s Preparing to unpack .../33-libglx-mesa0_24.3.4-3ubuntu1_armhf.deb ... 1821s Unpacking libglx-mesa0:armhf (24.3.4-3ubuntu1) ... 1821s Selecting previously unselected package x11-common. 1821s Preparing to unpack .../34-x11-common_1%3a7.7+23ubuntu3_all.deb ... 1821s Unpacking x11-common (1:7.7+23ubuntu3) ... 1821s Selecting previously unselected package libice6:armhf. 1821s Preparing to unpack .../35-libice6_2%3a1.1.1-1_armhf.deb ... 1821s Unpacking libice6:armhf (2:1.1.1-1) ... 1821s Selecting previously unselected package libpixman-1-0:armhf. 1821s Preparing to unpack .../36-libpixman-1-0_0.44.0-3_armhf.deb ... 1821s Unpacking libpixman-1-0:armhf (0.44.0-3) ... 1821s Selecting previously unselected package libsm6:armhf. 1821s Preparing to unpack .../37-libsm6_2%3a1.2.4-1_armhf.deb ... 1821s Unpacking libsm6:armhf (2:1.2.4-1) ... 1821s Selecting previously unselected package libxt6t64:armhf. 1821s Preparing to unpack .../38-libxt6t64_1%3a1.2.1-1.2build1_armhf.deb ... 1821s Unpacking libxt6t64:armhf (1:1.2.1-1.2build1) ... 1821s Selecting previously unselected package libxmu6:armhf. 1821s Preparing to unpack .../39-libxmu6_2%3a1.1.3-3build2_armhf.deb ... 1821s Unpacking libxmu6:armhf (2:1.1.3-3build2) ... 1821s Selecting previously unselected package libxpm4:armhf. 1821s Preparing to unpack .../40-libxpm4_1%3a3.5.17-1build2_armhf.deb ... 1821s Unpacking libxpm4:armhf (1:3.5.17-1build2) ... 1821s Selecting previously unselected package libxaw7:armhf. 1821s Preparing to unpack .../41-libxaw7_2%3a1.0.16-1_armhf.deb ... 1821s Unpacking libxaw7:armhf (2:1.0.16-1) ... 1822s Selecting previously unselected package libxfont2:armhf. 1822s Preparing to unpack .../42-libxfont2_1%3a2.0.6-1build1_armhf.deb ... 1822s Unpacking libxfont2:armhf (1:2.0.6-1build1) ... 1822s Selecting previously unselected package libxkbfile1:armhf. 1822s Preparing to unpack .../43-libxkbfile1_1%3a1.1.0-1build4_armhf.deb ... 1822s Unpacking libxkbfile1:armhf (1:1.1.0-1build4) ... 1822s Selecting previously unselected package libxrender1:armhf. 1822s Preparing to unpack .../44-libxrender1_1%3a0.9.10-1.1build1_armhf.deb ... 1822s Unpacking libxrender1:armhf (1:0.9.10-1.1build1) ... 1822s Selecting previously unselected package libxrandr2:armhf. 1822s Preparing to unpack .../45-libxrandr2_2%3a1.5.4-1_armhf.deb ... 1822s Unpacking libxrandr2:armhf (2:1.5.4-1) ... 1822s Selecting previously unselected package x11-xkb-utils. 1822s Preparing to unpack .../46-x11-xkb-utils_7.7+9_armhf.deb ... 1822s Unpacking x11-xkb-utils (7.7+9) ... 1822s Selecting previously unselected package xserver-common. 1822s Preparing to unpack .../47-xserver-common_2%3a21.1.14-2ubuntu1_all.deb ... 1822s Unpacking xserver-common (2:21.1.14-2ubuntu1) ... 1822s Selecting previously unselected package libglvnd0:armhf. 1822s Preparing to unpack .../48-libglvnd0_1.7.0-1build1_armhf.deb ... 1822s Unpacking libglvnd0:armhf (1.7.0-1build1) ... 1822s Selecting previously unselected package libglx0:armhf. 1822s Preparing to unpack .../49-libglx0_1.7.0-1build1_armhf.deb ... 1822s Unpacking libglx0:armhf (1.7.0-1build1) ... 1822s Selecting previously unselected package libgl1:armhf. 1822s Preparing to unpack .../50-libgl1_1.7.0-1build1_armhf.deb ... 1822s Unpacking libgl1:armhf (1.7.0-1build1) ... 1822s Selecting previously unselected package xvfb. 1822s Preparing to unpack .../51-xvfb_2%3a21.1.14-2ubuntu1_armhf.deb ... 1822s Unpacking xvfb (2:21.1.14-2ubuntu1) ... 1822s Setting up gnome-desktop-testing (2021.1-4) ... 1822s Setting up libxcb-dri3-0:armhf (1.17.0-2) ... 1822s Setting up libpixman-1-0:armhf (0.44.0-3) ... 1822s Setting up libllvm19:armhf (1:19.1.7-1ubuntu2) ... 1822s Setting up libwayland-server0:armhf (1.23.1-3) ... 1822s Setting up libx11-xcb1:armhf (2:1.8.10-2) ... 1822s Setting up native-architecture (0.2.5) ... 1822s Setting up libxcb-xfixes0:armhf (1.17.0-2) ... 1822s Setting up desktop-file-utils (0.28-1) ... 1822s Setting up libxpm4:armhf (1:3.5.17-1build2) ... 1822s Setting up libxrender1:armhf (1:0.9.10-1.1build1) ... 1822s Setting up libgirepository-2.0-0:armhf (2.83.4-1) ... 1822s Setting up libdrm-radeon1:armhf (2.4.123-1) ... 1822s Setting up libglvnd0:armhf (1.7.0-1build1) ... 1822s Setting up libxcb-glx0:armhf (1.17.0-2) ... 1822s Setting up x11-common (1:7.7+23ubuntu3) ... 1822s Setting up libxcb-shm0:armhf (1.17.0-2) ... 1822s Setting up python3-dbusmock (0.34.0-1) ... 1823s Setting up tzdata-legacy (2025a-2ubuntu1) ... 1823s Setting up libxxf86vm1:armhf (1:1.1.4-1build4) ... 1823s Setting up libxcb-present0:armhf (1.17.0-2) ... 1823s Setting up libfontenc1:armhf (1:1.1.8-1build1) ... 1823s Setting up python3-packaging (24.2-1) ... 1823s Setting up libfreetype6:armhf (2.13.3+dfsg-1) ... 1823s Setting up libxcb-sync1:armhf (1.17.0-2) ... 1823s Setting up libxrandr2:armhf (2:1.5.4-1) ... 1823s Setting up libglapi-mesa:armhf (24.3.4-3ubuntu1) ... 1823s Setting up libvulkan1:armhf (1.4.304.0-1) ... 1823s Setting up gir1.2-glib-2.0-dev:armhf (2.83.4-1) ... 1823s Setting up libxshmfence1:armhf (1.3-1build5) ... 1823s Setting up dbus-x11 (1.16.0-1ubuntu1) ... 1823s Setting up libxcb-randr0:armhf (1.17.0-2) ... 1823s Setting up libxkbfile1:armhf (1:1.1.0-1build4) ... 1823s Setting up libxfont2:armhf (1:2.0.6-1build1) ... 1823s Setting up libice6:armhf (2:1.1.1-1) ... 1823s Setting up mesa-libgallium:armhf (24.3.4-3ubuntu1) ... 1823s Setting up libgio-2.0-dev-bin (2.83.4-1) ... 1823s Setting up girepository-tools:armhf (2.83.4-1) ... 1823s Setting up libgbm1:armhf (24.3.4-3ubuntu1) ... 1823s Setting up libgl1-mesa-dri:armhf (24.3.4-3ubuntu1) ... 1823s Setting up libsm6:armhf (2:1.2.4-1) ... 1823s Setting up libglib2.0-dev-bin (2.83.4-1) ... 1823s Setting up libglx-mesa0:armhf (24.3.4-3ubuntu1) ... 1823s Setting up libglx0:armhf (1.7.0-1build1) ... 1823s Setting up libgl1:armhf (1.7.0-1build1) ... 1823s Setting up libxt6t64:armhf (1:1.2.1-1.2build1) ... 1823s Setting up libglib2.0-tests (2.83.4-1) ... 1823s Setting up libxmu6:armhf (2:1.1.3-3build2) ... 1823s Setting up libxaw7:armhf (2:1.0.16-1) ... 1823s Setting up x11-xkb-utils (7.7+9) ... 1823s Setting up xserver-common (2:21.1.14-2ubuntu1) ... 1823s Setting up xvfb (2:21.1.14-2ubuntu1) ... 1823s Processing triggers for man-db (2.13.0-1) ... 1824s Processing triggers for libc-bin (2.40-4ubuntu1) ... 1861s autopkgtest [05:22:21]: test installed-tests: [----------------------- 1863s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd) 1863s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash 1863s group entry: ubuntu:x:1000: 1863s Environment: 1863s ADTTMP=/tmp/autopkgtest.v8E5kR/autopkgtest_tmp 1863s ADT_ARTIFACTS=/tmp/autopkgtest.v8E5kR/installed-tests-artifacts 1863s ADT_TEST_TRIGGERS=glib2.0/2.83.4-1 1863s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.v8E5kR/installed-tests-artifacts 1863s AUTOPKGTEST_TESTBED_ARCH=armhf 1863s AUTOPKGTEST_TEST_ARCH=armhf 1863s AUTOPKGTEST_TMP=/tmp/autopkgtest.v8E5kR/autopkgtest_tmp 1863s DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus 1863s DEBIAN_FRONTEND=noninteractive 1863s DEB_BUILD_OPTIONS=parallel=8 1863s GIO_USE_VFS=local 1863s GIO_USE_VOLUME_MONITOR=unix 1863s HOME=/home/ubuntu 1863s LANG=C.UTF-8 1863s LOGNAME=ubuntu 1863s MAIL=/var/mail/ubuntu 1863s OLDPWD=/root 1863s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin 1863s PWD=/tmp/autopkgtest.v8E5kR/build.0gq/src 1863s SHELL=/bin/bash 1863s SHLVL=1 1863s USER=ubuntu 1863s XDG_RUNTIME_DIR=/tmp/autopkgtest.v8E5kR/autopkgtest_tmp 1863s XDG_SESSION_CLASS=background 1863s XDG_SESSION_ID=c1 1863s XDG_SESSION_TYPE=unspecified 1863s http_proxy=http://squid.internal:3128 1863s https_proxy=http://squid.internal:3128 1863s no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com 1863s run-with-locales: de_DE=ISO-8859-1... 1863s Character set: ISO-8859-1 1863s Source file: de_DE 1863s Output: /tmp/tmp.jlhplWNsTD/de_DE 1863s run-with-locales: de_DE.utf8... 1863s Character set: UTF-8 1863s Source file: de_DE 1863s Output: /tmp/tmp.jlhplWNsTD/de_DE.utf8 1868s run-with-locales: de_DE@euro.utf8... 1868s Character set: UTF-8 1868s Source file: de_DE@euro 1868s Output: /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8 1870s run-with-locales: el_GR.utf8... 1870s Character set: UTF-8 1870s Source file: el_GR 1870s Output: /tmp/tmp.jlhplWNsTD/el_GR.utf8 1872s run-with-locales: en_GB=ISO-8859-1... 1872s Character set: ISO-8859-1 1872s Source file: en_GB 1872s Output: /tmp/tmp.jlhplWNsTD/en_GB 1872s run-with-locales: en_GB.utf8... 1872s Character set: UTF-8 1872s Source file: en_GB 1872s Output: /tmp/tmp.jlhplWNsTD/en_GB.utf8 1874s run-with-locales: en_US=ISO-8859-1... 1874s Character set: ISO-8859-1 1874s Source file: en_US 1874s Output: /tmp/tmp.jlhplWNsTD/en_US 1875s run-with-locales: en_US.utf8... 1875s Character set: UTF-8 1875s Source file: en_US 1875s Output: /tmp/tmp.jlhplWNsTD/en_US.utf8 1877s run-with-locales: es_ES.utf8... 1877s Character set: UTF-8 1877s Source file: es_ES 1877s Output: /tmp/tmp.jlhplWNsTD/es_ES.utf8 1879s run-with-locales: fa_IR=UTF-8... 1879s Character set: UTF-8 1879s Source file: fa_IR 1879s Output: /tmp/tmp.jlhplWNsTD/fa_IR 1881s run-with-locales: fa_IR.utf8... 1881s Character set: UTF-8 1881s Source file: fa_IR 1881s Output: /tmp/tmp.jlhplWNsTD/fa_IR.utf8 1883s run-with-locales: fr_FR.utf8... 1883s Character set: UTF-8 1883s Source file: fr_FR 1883s Output: /tmp/tmp.jlhplWNsTD/fr_FR.utf8 1885s run-with-locales: hr_HR.utf8... 1885s Character set: UTF-8 1885s Source file: hr_HR 1885s Output: /tmp/tmp.jlhplWNsTD/hr_HR.utf8 1887s run-with-locales: ja_JP.utf8... 1887s Character set: UTF-8 1887s Source file: ja_JP 1887s Output: /tmp/tmp.jlhplWNsTD/ja_JP.utf8 1888s run-with-locales: ja_JP.EUC-JP... 1888s Character set: EUC-JP 1888s Source file: ja_JP 1888s Output: /tmp/tmp.jlhplWNsTD/ja_JP.eucjp 1889s run-with-locales: lt_LT.utf8... 1889s Character set: UTF-8 1889s Source file: lt_LT 1889s Output: /tmp/tmp.jlhplWNsTD/lt_LT.utf8 1891s run-with-locales: pl_PL=ISO-8859-2... 1891s Character set: ISO-8859-2 1891s Source file: pl_PL 1891s Output: /tmp/tmp.jlhplWNsTD/pl_PL 1891s run-with-locales: pl_PL.ISO-8859-2... 1891s Character set: ISO-8859-2 1891s Source file: pl_PL 1891s Output: /tmp/tmp.jlhplWNsTD/pl_PL.iso88592 1892s run-with-locales: pl_PL.utf8... 1892s Character set: UTF-8 1892s Source file: pl_PL 1892s Output: /tmp/tmp.jlhplWNsTD/pl_PL.utf8 1894s run-with-locales: ru_RU=ISO-8859-5... 1894s Character set: ISO-8859-5 1894s Source file: ru_RU 1894s Output: /tmp/tmp.jlhplWNsTD/ru_RU 1894s run-with-locales: ru_RU.utf8... 1894s Character set: UTF-8 1894s Source file: ru_RU 1894s Output: /tmp/tmp.jlhplWNsTD/ru_RU.utf8 1896s run-with-locales: sr_RS=UTF-8... 1896s Character set: UTF-8 1896s Source file: sr_RS 1896s Output: /tmp/tmp.jlhplWNsTD/sr_RS 1898s run-with-locales: sr_RS@latin=UTF-8... 1898s Character set: UTF-8 1898s Source file: sr_RS@latin 1898s Output: /tmp/tmp.jlhplWNsTD/sr_RS@latin 1900s run-with-locales: sv_SE=ISO-8859-1... 1900s Character set: ISO-8859-1 1900s Source file: sv_SE 1900s Output: /tmp/tmp.jlhplWNsTD/sv_SE 1900s run-with-locales: sv_SE.utf8... 1900s Character set: UTF-8 1900s Source file: sv_SE 1900s Output: /tmp/tmp.jlhplWNsTD/sv_SE.utf8 1906s run-with-locales: tr_TR=ISO-8859-9... 1906s Character set: ISO-8859-9 1906s Source file: tr_TR 1906s Output: /tmp/tmp.jlhplWNsTD/tr_TR 1906s run-with-locales: tr_TR.utf8... 1906s Character set: UTF-8 1906s Source file: tr_TR 1906s Output: /tmp/tmp.jlhplWNsTD/tr_TR.utf8 1906s run-with-locales: tt_RU=UTF-8... 1906s Character set: UTF-8 1906s Source file: tt_RU 1906s Output: /tmp/tmp.jlhplWNsTD/tt_RU 1908s run-with-locales: tt_RU.utf8... 1908s Character set: UTF-8 1908s Source file: tt_RU 1908s Output: /tmp/tmp.jlhplWNsTD/tt_RU.utf8 1909s run-with-locales: tt_RU@iqtelif=UTF-8... 1909s Character set: UTF-8 1909s Source file: tt_RU@iqtelif 1909s Output: /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif 1911s /tmp/tmp.jlhplWNsTD 1911s /tmp/tmp.jlhplWNsTD/de_DE 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/de_DE/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/de_DE.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/de_DE@euro.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/el_GR.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/en_GB 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/en_GB/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/en_GB.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/en_US 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/en_US/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/en_US.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/es_ES.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/fa_IR 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/fa_IR/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/fa_IR.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/fr_FR.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/hr_HR.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/ja_JP.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/ja_JP.eucjp/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/lt_LT.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/pl_PL 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/pl_PL/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/pl_PL.iso88592/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/pl_PL.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/ru_RU 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/ru_RU/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/ru_RU.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/sr_RS 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/sr_RS/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/sr_RS@latin/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/sv_SE 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/sv_SE/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/sv_SE.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/tr_TR 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/tr_TR/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/tr_TR.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/tt_RU 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/tt_RU/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/tt_RU.utf8/LC_IDENTIFICATION 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_CTYPE 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_NUMERIC 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_TIME 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_COLLATE 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_MONETARY 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_PAPER 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_NAME 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_ADDRESS 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_TELEPHONE 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_MEASUREMENT 1911s /tmp/tmp.jlhplWNsTD/tt_RU@iqtelif/LC_IDENTIFICATION 1911s 1..323 1911s # Running test: glib/gdatetime.test 1911s TAP version 14 1911s # random seed: R02Sc4ecbc9b3e6231bba1f74d9e546a8501 1911s 1..68 1911s # Start of GDateTime tests 1911s # Bug Reference: http://bugzilla.gnome.org/702674 1911s ok 1 /GDateTime/invalid 1911s ok 2 /GDateTime/add_days 1911s ok 3 /GDateTime/add_full 1911s ok 4 /GDateTime/add_hours 1911s ok 5 /GDateTime/add_minutes 1911s ok 6 /GDateTime/add_months 1911s ok 7 /GDateTime/add_seconds 1911s ok 8 /GDateTime/add_weeks 1911s ok 9 /GDateTime/add_years 1911s ok 10 /GDateTime/compare 1911s ok 11 /GDateTime/diff 1911s ok 12 /GDateTime/equal 1911s ok 13 /GDateTime/get_day_of_week 1911s ok 14 /GDateTime/get_day_of_month 1911s ok 15 /GDateTime/get_day_of_year 1911s ok 16 /GDateTime/get_hour 1911s ok 17 /GDateTime/get_microsecond 1911s ok 18 /GDateTime/get_minute 1911s ok 19 /GDateTime/get_month 1911s ok 20 /GDateTime/get_second 1911s ok 21 /GDateTime/get_utc_offset 1911s ok 22 /GDateTime/get_year 1911s ok 23 /GDateTime/hash 1911s ok 24 /GDateTime/new_from_unix 1911s ok 25 /GDateTime/new_from_unix_utc 1911s ok 26 /GDateTime/new_from_timeval 1911s ok 27 /GDateTime/new_from_timeval_utc 1911s ok 28 /GDateTime/new_from_iso8601 1911s ok 29 /GDateTime/new_full 1911s ok 30 /GDateTime/now 1911s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215 1911s ok 31 /GDateTime/test-6-days-until-end-of-the-month 1911s # %a -> expected: Sat 1911s # %a -> actual: Sat 1911s # %A -> expected: Saturday 1911s # %A -> actual: Saturday 1911s # %b -> expected: Oct 1911s # %b -> actual: Oct 1911s # %B -> expected: October 1911s # %B -> actual: October 1911s # %d -> expected: 24 1911s # %d -> actual: 24 1911s # %d -> expected: 01 1911s # %d -> actual: 01 1911s # %e -> expected: 24 1911s # %e -> actual: 24 1911s # %e -> expected:  1 1911s # %e -> actual:  1 1911s # %f -> expected: 001000 1911s # %f -> actual: 001000 1911s # %h -> expected: Oct 1911s # %h -> actual: Oct 1911s # %H -> expected: 00 1911s # %H -> actual: 00 1911s # %H -> expected: 15 1911s # %H -> actual: 15 1911s # %I -> expected: 12 1911s # %I -> actual: 12 1911s # %I -> expected: 12 1911s # %I -> actual: 12 1911s # %I -> expected: 03 1911s # %I -> actual: 03 1911s # %j -> expected: 297 1911s # %j -> actual: 297 1911s # %k -> expected:  0 1911s # %k -> actual:  0 1911s # %k -> expected: 13 1911s # %k -> actual: 13 1911s # %l -> expected: 12 1911s # %l -> actual: 12 1911s # %I -> expected: 12 1911s # %I -> actual: 12 1911s # %l -> expected:  1 1911s # %l -> actual:  1 1911s # %l -> expected: 10 1911s # %l -> actual: 10 1911s # %m -> expected: 10 1911s # %m -> actual: 10 1911s # %M -> expected: 00 1911s # %M -> actual: 00 1911s # %p -> expected: AM 1911s # %p -> actual: AM 1911s # %p -> expected: PM 1911s # %p -> actual: PM 1911s # %P -> expected: am 1911s # %P -> actual: am 1911s # %P -> expected: pm 1911s # %P -> actual: pm 1911s # %r -> expected: 12:00:00 AM 1911s # %r -> actual: 12:00:00 AM 1911s # %r -> expected: 01:13:13 PM 1911s # %r -> actual: 01:13:13 PM 1911s # %R -> expected: 00:00 1911s # %R -> actual: 00:00 1911s # %R -> expected: 13:13 1911s # %R -> actual: 13:13 1911s # %S -> expected: 00 1911s # %S -> actual: 00 1911s # %t -> expected: 1911s # %t -> actual: 1911s # %u -> expected: 6 1911s # %u -> actual: 6 1911s # %x -> expected: 10/24/09 1911s # %x -> actual: 10/24/09 1911s # %X -> expected: 00:00:00 1911s # %X -> actual: 00:00:00 1911s # %X -> expected: 13:14:15 1911s # %X -> actual: 13:14:15 1911s # %y -> expected: 09 1911s # %y -> actual: 09 1911s # %Y -> expected: 2009 1911s # %Y -> actual: 2009 1911s # %% -> expected: % 1911s # %% -> actual: % 1911s # % -> expected: 1911s # % -> actual: 1911s # %9 -> expected: (null) 1911s # %9 -> actual: (null) 1911s # %Z -> expected: UTC 1911s # %Z -> actual: UTC 1911s # %#Z %Z -> expected: utc UTC 1911s # %#Z %Z -> actual: utc UTC 1911s ok 32 /GDateTime/printf 1911s # %a -> expected: 1911s # %a -> actual: 1911s # %A -> expected: 1911s # %A -> actual: 1911s # %b -> expected: 10 1911s # %b -> actual: 10 1911s # %B -> expected: 10 1911s # %B -> actual: 10 1911s # %c -> expected: 2009ǯ1024 0000ʬ00 1911s # %c -> actual: 2009ǯ1024 0000ʬ00 1911s # %C -> expected: 20 1911s # %C -> actual: 20 1911s # %d -> expected: 24 1911s # %d -> actual: 24 1911s # %d -> expected: 01 1911s # %d -> actual: 01 1911s # %e -> expected: 24 1911s # %e -> actual: 24 1911s # %h -> expected: 10 1911s # %h -> actual: 10 1911s # %H -> expected: 00 1911s # %H -> actual: 00 1911s # %H -> expected: 15 1911s # %H -> actual: 15 1911s # %I -> expected: 12 1911s # %I -> actual: 12 1911s # %I -> expected: 12 1911s # %I -> actual: 12 1911s # %I -> expected: 03 1911s # %I -> actual: 03 1911s # %j -> expected: 297 1911s # %j -> actual: 297 1911s # %k -> expected: ?0 1911s # %k -> actual: ?0 1911s # %k -> expected: 13 1911s # %k -> actual: 13 1911s # %l -> expected: 12 1911s # %l -> actual: 12 1911s # %I -> expected: 12 1911s # %I -> actual: 12 1911s # %l -> expected: ?1 1911s # %l -> actual: ?1 1911s # %l -> expected: 10 1911s # %l -> actual: 10 1911s # %m -> expected: 10 1911s # %m -> actual: 10 1911s # %M -> expected: 00 1911s # %M -> actual: 00 1911s # %p -> expected: 1911s # %p -> actual: 1911s # %p -> expected: 1911s # %p -> actual: 1911s # %P -> expected: 1911s # %P -> actual: 1911s # %P -> expected: 1911s # %P -> actual: 1911s # %r -> expected: 1200ʬ00 1911s # %r -> actual: 1200ʬ00 1911s # %r -> expected: 0113ʬ13 1911s # %r -> actual: 0113ʬ13 1911s # %R -> expected: 00:00 1911s # %R -> actual: 00:00 1911s # %R -> expected: 13:13 1911s # %R -> actual: 13:13 1911s # %S -> expected: 00 1911s # %S -> actual: 00 1911s # %t -> expected: 1911s # %t -> actual: 1911s # %u -> expected: 6 1911s # %u -> actual: 6 1911s # %x -> expected: 2009ǯ1024 1911s # %x -> actual: 2009ǯ1024 1911s # %X -> expected: 0000ʬ00 1911s # %X -> actual: 0000ʬ00 1911s # %X -> expected: 1314ʬ15 1911s # %X -> actual: 1314ʬ15 1911s # %y -> expected: 09 1911s # %y -> actual: 09 1911s # %Y -> expected: 2009 1911s # %Y -> actual: 2009 1911s # %% -> expected: % 1911s # %% -> actual: % 1911s # % -> expected: 1911s # % -> actual: 1911s # %9 -> expected: (null) 1911s # %9 -> actual: (null) 1911s # %Ec -> expected: ʿ21ǯ1024 0000ʬ00 1911s # %Ec -> actual: ʿ21ǯ1024 0000ʬ00 1911s # %EC -> expected: ʿ 1911s # %EC -> actual: ʿ 1911s # %Ex -> expected: ʿ21ǯ1024 1911s # %Ex -> actual: ʿ21ǯ1024 1911s # %EX -> expected: 0000ʬ00 1911s # %EX -> actual: 0000ʬ00 1911s # %Ey -> expected: 21 1911s # %Ey -> actual: 21 1911s # %EY -> expected: ʿ21ǯ 1911s # %EY -> actual: ʿ21ǯ 1911s ok 33 /GDateTime/non_utf8_printf 1911s # ???? -> expected: ???? 1911s # ???? -> actual: ???? 1911s # %H?%M -> expected: 23?15 1911s # %H?%M -> actual: 23?15 1911s # %H?%M -> expected: 23?15 1911s # %H?%M -> actual: 23?15 1911s ok 34 /GDateTime/format_unrepresentable 1911s ok 35 /GDateTime/format_iso8601 1911s ok 36 /GDateTime/strftime 1911s # %d -> expected: 01 1911s # %d -> actual: 01 1911s # %_d -> expected: 1 1911s # %_d -> actual: 1 1911s # %-d -> expected: 1 1911s # %-d -> actual: 1 1911s # %0d -> expected: 01 1911s # %0d -> actual: 01 1911s # %d -> expected: 21 1911s # %d -> actual: 21 1911s # %_d -> expected: 21 1911s # %_d -> actual: 21 1911s # %-d -> expected: 21 1911s # %-d -> actual: 21 1911s # %0d -> expected: 21 1911s # %0d -> actual: 21 1911s # %e -> expected:  1 1911s # %e -> actual:  1 1911s # %_e -> expected: 1 1911s # %_e -> actual: 1 1911s # %-e -> expected: 1 1911s # %-e -> actual: 1 1911s # %0e -> expected: 01 1911s # %0e -> actual: 01 1911s # %e -> expected: 21 1911s # %e -> actual: 21 1911s # %_e -> expected: 21 1911s # %_e -> actual: 21 1911s # %-e -> expected: 21 1911s # %-e -> actual: 21 1911s # %0e -> expected: 21 1911s # %0e -> actual: 21 1911s # %a -> expected: Thu 1911s # %a -> actual: Thu 1911s # %^a -> expected: THU 1911s # %^a -> actual: THU 1911s # %#a -> expected: THU 1911s # %#a -> actual: THU 1911s # %A -> expected: Thursday 1911s # %A -> actual: Thursday 1911s # %^A -> expected: THURSDAY 1911s # %^A -> actual: THURSDAY 1911s # %#A -> expected: THURSDAY 1911s # %#A -> actual: THURSDAY 1911s # %b -> expected: Jan 1911s # %b -> actual: Jan 1911s # %^b -> expected: JAN 1911s # %^b -> actual: JAN 1911s # %#b -> expected: JAN 1911s # %#b -> actual: JAN 1911s # %B -> expected: January 1911s # %B -> actual: January 1911s # %^B -> expected: JANUARY 1911s # %^B -> actual: JANUARY 1911s # %#B -> expected: JANUARY 1911s # %#B -> actual: JANUARY 1911s # %h -> expected: Jan 1911s # %h -> actual: Jan 1911s # %^h -> expected: JAN 1911s # %^h -> actual: JAN 1911s # %#h -> expected: JAN 1911s # %#h -> actual: JAN 1911s # %Z -> expected: UTC 1911s # %Z -> actual: UTC 1911s # %^Z -> expected: UTC 1911s # %^Z -> actual: UTC 1911s # %#Z -> expected: utc 1911s # %#Z -> actual: utc 1911s # %H -> expected: 01 1911s # %H -> actual: 01 1911s # %_H -> expected: 1 1911s # %_H -> actual: 1 1911s # %-H -> expected: 1 1911s # %-H -> actual: 1 1911s # %0H -> expected: 01 1911s # %0H -> actual: 01 1911s # %H -> expected: 21 1911s # %H -> actual: 21 1911s # %_H -> expected: 21 1911s # %_H -> actual: 21 1911s # %-H -> expected: 21 1911s # %-H -> actual: 21 1911s # %0H -> expected: 21 1911s # %0H -> actual: 21 1911s # %I -> expected: 01 1911s # %I -> actual: 01 1911s # %_I -> expected: 1 1911s # %_I -> actual: 1 1911s # %-I -> expected: 1 1911s # %-I -> actual: 1 1911s # %0I -> expected: 01 1911s # %0I -> actual: 01 1911s # %I -> expected: 11 1911s # %I -> actual: 11 1911s # %_I -> expected: 11 1911s # %_I -> actual: 11 1911s # %-I -> expected: 11 1911s # %-I -> actual: 11 1911s # %0I -> expected: 11 1911s # %0I -> actual: 11 1911s # %k -> expected:  1 1911s # %k -> actual:  1 1911s # %_k -> expected: 1 1911s # %_k -> actual: 1 1911s # %-k -> expected: 1 1911s # %-k -> actual: 1 1911s # %0k -> expected: 01 1911s # %0k -> actual: 01 1911s # %l -> expected:  1 1911s # %l -> actual:  1 1911s # %_l -> expected: 1 1911s # %_l -> actual: 1 1911s # %-l -> expected: 1 1911s # %-l -> actual: 1 1911s # %0l -> expected: 01 1911s # %0l -> actual: 01 1911s # %l -> expected: 11 1911s # %l -> actual: 11 1911s # %_l -> expected: 11 1911s # %_l -> actual: 11 1911s # %-l -> expected: 11 1911s # %-l -> actual: 11 1911s # %0l -> expected: 11 1911s # %0l -> actual: 11 1911s # %p -> expected: AM 1911s # %p -> actual: AM 1911s # %^p -> expected: AM 1911s # %^p -> actual: AM 1911s # %#p -> expected: am 1911s # %#p -> actual: am 1911s # %P -> expected: am 1911s # %P -> actual: am 1911s # %^P -> expected: AM 1911s # %^P -> actual: AM 1911s # %#P -> expected: am 1911s # %#P -> actual: am 1911s # %OH -> expected: ۲۳ 1911s # %OH -> actual: ۲۳ 1911s # %OI -> expected: ۱۱ 1911s # %OI -> actual: ۱۱ 1911s # %OM -> expected: ۰۰ 1911s # %OM -> actual: ۰۰ 1911s # %Om -> expected: ۰۷ 1911s # %Om -> actual: ۰۷ 1911s # %0Om -> expected: ۰۷ 1911s # %0Om -> actual: ۰۷ 1911s # %-Om -> expected: ۷ 1911s # %-Om -> actual: ۷ 1911s # %_Om -> expected: ۷ 1911s # %_Om -> actual: ۷ 1911s # %c -> expected: thu 01 jan 2009 00:00:00 utc 1911s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC 1911s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc 1911s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC 1911s # %C -> expected: 20 1911s # %C -> actual: 20 1911s # %EC -> expected: 20 1911s # %EC -> actual: 20 1911s # %x -> expected: 02/01/09 1911s # %x -> actual: 02/01/09 1911s # %Ex -> expected: 02/01/09 1911s # %Ex -> actual: 02/01/09 1911s # %X -> expected: 01:02:03 1911s # %X -> actual: 01:02:03 1911s # %EX -> expected: 01:02:03 1911s # %EX -> actual: 01:02:03 1911s # %y -> expected: 09 1911s # %y -> actual: 09 1911s # %Ey -> expected: 09 1911s # %Ey -> actual: 09 1911s # %Y -> expected: 2009 1911s # %Y -> actual: 2009 1911s # %EY -> expected: 2009 1911s # %EY -> actual: 2009 1911s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests 1911s # Bug Reference: http://bugzilla.gnome.org/749206 1911s # %B -> expected: January 1911s # %B -> actual: January 1911s # %OB -> expected: February 1911s # %OB -> actual: February 1911s # %b -> expected: Mar 1911s # %b -> actual: Mar 1911s # %Ob -> expected: Apr 1911s # %Ob -> actual: Apr 1911s # %h -> expected: May 1911s # %h -> actual: May 1911s # %Oh -> expected: Jun 1911s # %Oh -> actual: Jun 1911s # %B -> expected: Juli 1911s # %B -> actual: Juli 1911s # %OB -> expected: August 1911s # %OB -> actual: August 1911s # %b -> expected: Sep 1911s # %b -> actual: Sep 1911s # %Ob -> expected: Okt 1911s # %Ob -> actual: Okt 1911s # %h -> expected: Nov 1911s # %h -> actual: Nov 1911s # %Oh -> expected: Dez 1911s # %Oh -> actual: Dez 1911s # %B -> expected: enero 1911s # %B -> actual: enero 1911s # %OB -> expected: febrero 1911s # %OB -> actual: febrero 1911s # %b -> expected: mar 1911s # %b -> actual: mar 1911s # %Ob -> expected: abr 1911s # %Ob -> actual: abr 1911s # %h -> expected: may 1911s # %h -> actual: may 1911s # %Oh -> expected: jun 1911s # %Oh -> actual: jun 1911s # %B -> expected: juillet 1911s # %B -> actual: juillet 1911s # %OB -> expected: août 1911s # %OB -> actual: août 1911s # %b -> expected: sept. 1911s # %b -> actual: sept. 1911s # %Ob -> expected: oct. 1911s # %Ob -> actual: oct. 1911s # %h -> expected: nov. 1911s # %h -> actual: nov. 1911s # %Oh -> expected: déc. 1911s # %Oh -> actual: déc. 1911s # %B -> expected: Ιανουαρίου 1911s # %B -> actual: Ιανουαρίου 1911s # %B -> expected: Φεβρουαρίου 1911s # %B -> actual: Φεβρουαρίου 1911s # %B -> expected: Μαρτίου 1911s # %B -> actual: Μαρτίου 1911s # %OB -> expected: Απρίλιος 1911s # %OB -> actual: Απρίλιος 1911s # %OB -> expected: Μάιος 1911s # %OB -> actual: Μάιος 1911s # %OB -> expected: Ιούνιος 1911s # %OB -> actual: Ιούνιος 1911s # %b -> expected: Ιουλ 1911s # %b -> actual: Ιουλ 1911s # %Ob -> expected: Αύγ 1911s # %Ob -> actual: Αύγ 1911s # %B -> expected: svibnja 1911s # %B -> actual: svibnja 1911s # %B -> expected: lipnja 1911s # %B -> actual: lipnja 1911s # %B -> expected: srpnja 1911s # %B -> actual: srpnja 1911s # %OB -> expected: Kolovoz 1911s # %OB -> actual: kolovoz 1911s # %OB -> expected: Rujan 1911s # %OB -> actual: rujan 1911s # %OB -> expected: Listopad 1911s # %OB -> actual: listopad 1911s # %b -> expected: Stu 1911s # %b -> actual: stu 1911s # %Ob -> expected: Pro 1911s # %Ob -> actual: pro 1911s # %B -> expected: sausio 1911s # %B -> actual: sausio 1911s # %B -> expected: vasario 1911s # %B -> actual: vasario 1911s # %B -> expected: kovo 1911s # %B -> actual: kovo 1911s # %OB -> expected: balandis 1911s # %OB -> actual: balandis 1911s # %OB -> expected: gegužė 1911s # %OB -> actual: gegužė 1911s # %OB -> expected: birželis 1911s # %OB -> actual: birželis 1911s # %b -> expected: liep. 1911s # %b -> actual: liep. 1911s # %Ob -> expected: rugp. 1911s # %Ob -> actual: rugp. 1911s # %B -> expected: maja 1911s # %B -> actual: maja 1911s # %B -> expected: czerwca 1911s # %B -> actual: czerwca 1911s # %B -> expected: lipca 1911s # %B -> actual: lipca 1911s # %OB -> expected: sierpień 1911s # %OB -> actual: sierpień 1911s # %OB -> expected: wrzesień 1911s # %OB -> actual: wrzesień 1911s # %OB -> expected: październik 1911s # %OB -> actual: październik 1911s # %b -> expected: lis 1911s # %b -> actual: lis 1911s # %Ob -> expected: gru 1911s # %Ob -> actual: gru 1911s # %B -> expected: января 1911s # %B -> actual: января 1911s # %B -> expected: февраля 1911s # %B -> actual: февраля 1911s # %B -> expected: марта 1911s # %B -> actual: марта 1911s # %OB -> expected: Апрель 1911s # %OB -> actual: Апрель 1911s # %OB -> expected: Май 1911s # %OB -> actual: Май 1911s # %OB -> expected: Июнь 1911s # %OB -> actual: Июнь 1911s # %b -> expected: июл 1911s # %b -> actual: июл 1911s # %Ob -> expected: авг 1911s # %Ob -> actual: авг 1911s # %b -> expected: мая 1911s # %b -> actual: мая 1911s # %Ob -> expected: май 1911s # %Ob -> actual: май 1911s ok 38 /GDateTime/month_names 1911s ok 39 /GDateTime/to_local 1911s ok 40 /GDateTime/to_unix 1911s ok 41 /GDateTime/to_timeval 1911s ok 42 /GDateTime/to_utc 1911s ok 43 /GDateTime/now_utc 1911s ok 44 /GDateTime/dst 1911s # Bug Reference: http://bugzilla.gnome.org/642935 1911s ok 45 /GDateTime/test_z 1913s ok 46 /GDateTime/test-all-dates 1913s # slow test /GDateTime/test-all-dates executed in 1.77 secs 1913s ok 47 /GDateTime/unix_usec 1913s # Start of new_from_unix tests 1913s # Bug Reference: http://bugzilla.gnome.org/782089 1913s ok 48 /GDateTime/new_from_unix/overflow 1913s # End of new_from_unix tests 1913s # Start of new_from_timeval tests 1913s # Bug Reference: http://bugzilla.gnome.org/782089 1913s # Maximum supported GTimeVal.tv_sec = 2147483647 1913s ok 49 /GDateTime/new_from_timeval/overflow 1913s # End of new_from_timeval tests 1913s # Start of new_from_iso8601 tests 1913s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors. 1913s # Vector 0: 1990-11-01T10:21:17Z 1913s # Vector 1: 19901101T102117Z 1913s # Vector 2: 1970-01-01T00:00:17.12Z 1913s # Vector 3: 1970-01-01T00:00:17.1234Z 1913s # Vector 4: 1970-01-01T00:00:17.123456Z 1913s # Vector 5: 1980-02-22T12:36:00+02:00 1913s # Vector 6: 1990-12-31T15:59:60-08:00 1913s # Vector 7: 1913s # Vector 8: x 1913s # Vector 9: 123x 1913s # Vector 10: 2001-10+x 1913s # Vector 11: 1980-02-22T 1913s # Vector 12: 2001-10-08Tx 1913s # Vector 13: 2001-10-08T10:11x 1913s # Vector 14: Wed Dec 19 17:20:20 GMT 2007 1913s # Vector 15: 1980-02-22T10:36:00Zulu 1913s # Vector 16: 2T0+819855292164632335 1913s # Vector 17: 2018-08-03T14:08:05.446178377+01:00 1913s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00 1913s # Vector 19: 2018-13-03T14:08:05.446178377+01:00 1913s # Vector 20: 2018-00-03T14:08:05.446178377+01:00 1913s # Vector 21: 2018-08-00T14:08:05.446178377+01:00 1913s # Vector 22: 2018-08-32T14:08:05.446178377+01:00 1913s # Vector 23: 2018-08-03T24:08:05.446178377+01:00 1913s # Vector 24: 2018-08-03T14:60:05.446178377+01:00 1913s # Vector 25: 2018-08-03T14:08:63.446178377+01:00 1913s # Vector 26: 2018-08-03T14:08:05.446178377+100:00 1913s # Vector 27: 20180803T140805.446178377+0100 1913s # Vector 28: 21474836480803T140805.446178377+0100 1913s # Vector 29: 20181303T140805.446178377+0100 1913s # Vector 30: 20180003T140805.446178377+0100 1913s # Vector 31: 20180800T140805.446178377+0100 1913s # Vector 32: 20180832T140805.446178377+0100 1913s # Vector 33: 20180803T240805.446178377+0100 1913s # Vector 34: 20180803T146005.446178377+0100 1913s # Vector 35: 20180803T140863.446178377+0100 1913s # Vector 36: 20180803T140805.446178377+10000 1913s # Vector 37: -0005-01-01T00:00:00Z 1913s # Vector 38: 2018-08-06 1913s # Vector 39: 20180803T140805,446178377+0100 1913s # Vector 40: 2018-08-03T14:08:05.446178377-01:00 1913s # Vector 41: 2018-08-03T14:08:05.446178377 01:00 1913s # Vector 42: 1990-11-01T10:21:17 1913s # Vector 43: 1719W462 407777-07 1913s # Vector 44: 4011090 260528Z 1913s # Vector 45: 0000W011 228214-22 1913s ok 50 /GDateTime/new_from_iso8601/2 1913s # End of new_from_iso8601 tests 1913s # Start of format_mixed tests 1913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1913s # %b -> expected: mar 1913s # %b -> actual: Mar 1913s # %B -> expected: march 1913s # %B -> actual: March 1913s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages 1913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1913s # %b -> expected: mar 1913s # %b -> actual: Mar 1913s # %B -> expected: march 1913s # %B -> actual: March 1913s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages 1913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1913s # %b -> expected: Mär 1913s # %b -> actual: Mär 1913s # %B -> expected: März 1913s # %B -> actual: März 1913s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages 1913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055 1913s # %b -> expected: Mär 1913s # %b -> actual: Mär 1913s # %B -> expected: März 1913s # %B -> actual: März 1913s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages 1913s # End of format_mixed tests 1913s # Start of strftime tests 1913s # %r -> expected: (null) 1913s # %r -> actual: (null) 1913s ok 55 /GDateTime/strftime/error_handling 1913s # End of strftime tests 1913s # Start of eras tests 1913s # %Ec -> expected: 令和05年06月01日 00時00分00秒 1913s # %Ec -> actual: 令和05年06月01日 00時00分00秒 1913s # %EC -> expected: 令和 1913s # %EC -> actual: 令和 1913s # %Ex -> expected: 令和05年06月01日 1913s # %Ex -> actual: 令和05年06月01日 1913s # %EX -> expected: 00時00分00秒 1913s # %EX -> actual: 00時00分00秒 1913s # %Ey -> expected: 05 1913s # %Ey -> actual: 05 1913s # %EY -> expected: 令和05年 1913s # %EY -> actual: 令和05年 1913s # %Ec -> expected: 平成31年04月30日 00時00分00秒 1913s # %Ec -> actual: 平成31年04月30日 00時00分00秒 1913s # %EC -> expected: 平成 1913s # %EC -> actual: 平成 1913s # %Ex -> expected: 平成31年04月30日 1913s # %Ex -> actual: 平成31年04月30日 1913s # %EX -> expected: 00時00分00秒 1913s # %EX -> actual: 00時00分00秒 1913s # %Ey -> expected: 31 1913s # %Ey -> actual: 31 1913s # %EY -> expected: 平成31年 1913s # %EY -> actual: 平成31年 1913s # %Ec -> expected: 昭和元年12月25日 00時00分00秒 1913s # %Ec -> actual: 昭和元年12月25日 00時00分00秒 1913s # %EC -> expected: 昭和 1913s # %EC -> actual: 昭和 1913s # %Ex -> expected: 昭和元年12月25日 1913s # %Ex -> actual: 昭和元年12月25日 1913s # %EX -> expected: 00時00分00秒 1913s # %EX -> actual: 00時00分00秒 1913s # %Ey -> expected: 01 1913s # %Ey -> actual: 01 1913s # %EY -> expected: 昭和元年 1913s # %EY -> actual: 昭和元年 1913s ok 56 /GDateTime/eras/japan 1913s ok 57 /GDateTime/eras/thailand # SKIP locale th_TH.utf-8 not available, skipping Thai era tests 1913s # Vector 0: 1913s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey 1913s # 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年 1913s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年 1913s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年 1913s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年 1913s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年 1913s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年 1913s # Vector 8: + 1913s # Vector 9: +: 1913s # Vector 10: +:: 1913s # Vector 11: +:200 1913s # Vector 12: +:2nonsense 1913s # Vector 13: +:2nonsense: 1913s # Vector 14: +:2: 1913s # Vector 15: +:2:: 1913s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年 1913s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年 1913s # Vector 18: +:2:2020:+*:令和:%EC%Ey年 1913s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年 1913s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年 1913s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年 1913s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年 1913s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年 1913s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年 1913s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年 1913s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年 1913s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年 1913s # Vector 28: +:2:2020/01/01 1913s # Vector 29: +:2:2020/01/01: 1913s # Vector 30: +:2:2020/01/01:: 1913s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年 1913s # Vector 32: +:2:2020/01/01:+* 1913s # Vector 33: +:2:2020/01/01:+*: 1913s # Vector 34: +:2:2020/01/01:+*:: 1913s # Vector 35: +:2:2020/01/01:+*:令和 1913s # Vector 36: +:2:2020/01/01:+*:令和: 1913s # Vector 37: +:2:2020/01/01:+*:令和:; 1913s ok 58 /GDateTime/eras/parsing 1913s # End of eras tests 1913s # End of GDateTime tests 1913s # Start of GTimeZone tests 1913s ok 59 /GTimeZone/find-interval 1913s ok 60 /GTimeZone/adjust-time 1913s ok 61 /GTimeZone/no-header 1913s ok 62 /GTimeZone/no-header-identifier 1913s ok 63 /GTimeZone/posix-parse 1913s # Bug Reference: http://bugzilla.gnome.org/697715 1913s ok 64 /GTimeZone/floating-point 1913s # System time zone identifier: Etc/UTC 1913s ok 65 /GTimeZone/identifier 1913s # Vector 0: -158400 1913s # Vector 1: -10000 1913s # Vector 2: -3600 1913s # Vector 3: -61 1913s # Vector 4: -60 1913s # Vector 5: -59 1913s # Vector 6: 0 1913s # Vector 7: 59 1913s # Vector 8: 60 1913s # Vector 9: 61 1913s # Vector 10: 3600 1913s # Vector 11: 10000 1913s # Vector 12: 158400 1913s ok 66 /GTimeZone/new-offset 1913s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format 1913s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129 1913s ok 67 /GTimeZone/parse-rfc8536 1913s # /GTimeZone/caching summary: GTimeZone instances are cached 1913s ok 68 /GTimeZone/caching 1913s # End of GTimeZone tests 1913s ok - glib/gdatetime.test 1913s # Running test: glib/markup-collect.test 1913s TAP version 14 1913s # random seed: R02S9f06a29f038e84c535e8af7573e6c05b 1913s 1..21 1913s # Start of markup tests 1913s # Start of collect tests 1913s ok 1 /markup/collect/0 1913s ok 2 /markup/collect/1 1913s ok 3 /markup/collect/2 1913s ok 4 /markup/collect/3 1913s ok 5 /markup/collect/4 1913s ok 6 /markup/collect/5 1913s ok 7 /markup/collect/6 1913s ok 8 /markup/collect/7 1913s ok 9 /markup/collect/8 1913s ok 10 /markup/collect/9 1913s ok 11 /markup/collect/10 1913s ok 12 /markup/collect/11 1913s ok 13 /markup/collect/12 1913s ok 14 /markup/collect/13 1913s ok 15 /markup/collect/14 1913s ok 16 /markup/collect/15 1913s ok 17 /markup/collect/16 1913s ok 18 /markup/collect/17 1913s ok 19 /markup/collect/18 1913s ok 20 /markup/collect/19 1913s ok 21 /markup/collect/cleanup 1913s # End of collect tests 1913s # End of markup tests 1913s ok - glib/markup-collect.test 1913s # Running test: glib/utf8-validate.test 1913s TAP version 14 1913s # random seed: R02Se623aaa147910b6b22dacbbcf3bf9de7 1913s 1..238 1913s # Start of utf8 tests 1913s # Vector 0 1913s # Vector 1 1913s # Vector 2 1913s # Vector 3 1913s # Vector 4 1913s # Vector 5 1913s # Vector 6 1913s # Vector 7 1913s # Vector 8 1913s # Vector 9 1913s # Vector 10 1913s # Vector 11 1913s # Vector 12 1913s # Vector 13 1913s # Vector 14 1913s # Vector 15 1913s # Vector 16 1913s # Vector 17 1913s # Vector 18 1913s # Vector 19 1913s # Vector 20 1913s # Vector 21 1913s # Vector 22 1913s # Vector 23 1913s # Vector 24 1913s # Vector 25 1913s # Vector 26 1913s # Vector 27 1913s ok 1 /utf8/get-char-validated 1913s # Start of validate tests 1913s ok 2 /utf8/validate/0 1913s ok 3 /utf8/validate/1 1913s ok 4 /utf8/validate/2 1913s ok 5 /utf8/validate/3 1913s ok 6 /utf8/validate/4 1913s ok 7 /utf8/validate/5 1913s ok 8 /utf8/validate/6 1913s ok 9 /utf8/validate/7 1913s ok 10 /utf8/validate/8 1913s ok 11 /utf8/validate/9 1913s ok 12 /utf8/validate/10 1913s ok 13 /utf8/validate/11 1913s ok 14 /utf8/validate/12 1913s ok 15 /utf8/validate/13 1913s ok 16 /utf8/validate/14 1913s ok 17 /utf8/validate/15 1913s ok 18 /utf8/validate/16 1913s ok 19 /utf8/validate/17 1913s ok 20 /utf8/validate/18 1913s ok 21 /utf8/validate/19 1913s ok 22 /utf8/validate/20 1913s ok 23 /utf8/validate/21 1913s ok 24 /utf8/validate/22 1913s ok 25 /utf8/validate/23 1913s ok 26 /utf8/validate/24 1913s ok 27 /utf8/validate/25 1913s ok 28 /utf8/validate/26 1913s ok 29 /utf8/validate/27 1913s ok 30 /utf8/validate/28 1913s ok 31 /utf8/validate/29 1913s ok 32 /utf8/validate/30 1913s ok 33 /utf8/validate/31 1913s ok 34 /utf8/validate/32 1913s ok 35 /utf8/validate/33 1913s ok 36 /utf8/validate/34 1913s ok 37 /utf8/validate/35 1913s ok 38 /utf8/validate/36 1913s ok 39 /utf8/validate/37 1913s ok 40 /utf8/validate/38 1913s ok 41 /utf8/validate/39 1913s ok 42 /utf8/validate/40 1913s ok 43 /utf8/validate/41 1913s ok 44 /utf8/validate/42 1913s ok 45 /utf8/validate/43 1913s ok 46 /utf8/validate/44 1913s ok 47 /utf8/validate/45 1913s ok 48 /utf8/validate/46 1913s ok 49 /utf8/validate/47 1913s ok 50 /utf8/validate/48 1913s ok 51 /utf8/validate/49 1913s ok 52 /utf8/validate/50 1913s ok 53 /utf8/validate/51 1913s ok 54 /utf8/validate/52 1913s ok 55 /utf8/validate/53 1913s ok 56 /utf8/validate/54 1913s ok 57 /utf8/validate/55 1913s ok 58 /utf8/validate/56 1913s ok 59 /utf8/validate/57 1913s ok 60 /utf8/validate/58 1913s ok 61 /utf8/validate/59 1913s ok 62 /utf8/validate/60 1913s ok 63 /utf8/validate/61 1913s ok 64 /utf8/validate/62 1913s ok 65 /utf8/validate/63 1913s ok 66 /utf8/validate/64 1913s ok 67 /utf8/validate/65 1913s ok 68 /utf8/validate/66 1913s ok 69 /utf8/validate/67 1913s ok 70 /utf8/validate/68 1913s ok 71 /utf8/validate/69 1913s ok 72 /utf8/validate/70 1913s ok 73 /utf8/validate/71 1913s ok 74 /utf8/validate/72 1913s ok 75 /utf8/validate/73 1913s ok 76 /utf8/validate/74 1913s ok 77 /utf8/validate/75 1913s ok 78 /utf8/validate/76 1913s ok 79 /utf8/validate/77 1913s ok 80 /utf8/validate/78 1913s ok 81 /utf8/validate/79 1913s ok 82 /utf8/validate/80 1913s ok 83 /utf8/validate/81 1913s ok 84 /utf8/validate/82 1913s ok 85 /utf8/validate/83 1913s ok 86 /utf8/validate/84 1913s ok 87 /utf8/validate/85 1913s ok 88 /utf8/validate/86 1913s ok 89 /utf8/validate/87 1913s ok 90 /utf8/validate/88 1913s ok 91 /utf8/validate/89 1913s ok 92 /utf8/validate/90 1913s ok 93 /utf8/validate/91 1913s ok 94 /utf8/validate/92 1913s ok 95 /utf8/validate/93 1913s ok 96 /utf8/validate/94 1913s ok 97 /utf8/validate/95 1913s ok 98 /utf8/validate/96 1913s ok 99 /utf8/validate/97 1913s ok 100 /utf8/validate/98 1913s ok 101 /utf8/validate/99 1913s ok 102 /utf8/validate/100 1913s ok 103 /utf8/validate/101 1913s ok 104 /utf8/validate/102 1913s ok 105 /utf8/validate/103 1913s ok 106 /utf8/validate/104 1913s ok 107 /utf8/validate/105 1913s ok 108 /utf8/validate/106 1913s ok 109 /utf8/validate/107 1913s ok 110 /utf8/validate/108 1913s ok 111 /utf8/validate/109 1913s ok 112 /utf8/validate/110 1913s ok 113 /utf8/validate/111 1913s ok 114 /utf8/validate/112 1913s ok 115 /utf8/validate/113 1913s ok 116 /utf8/validate/114 1913s ok 117 /utf8/validate/115 1913s ok 118 /utf8/validate/116 1913s ok 119 /utf8/validate/117 1913s ok 120 /utf8/validate/118 1913s ok 121 /utf8/validate/119 1913s ok 122 /utf8/validate/120 1913s ok 123 /utf8/validate/121 1913s ok 124 /utf8/validate/122 1913s ok 125 /utf8/validate/123 1913s ok 126 /utf8/validate/124 1913s ok 127 /utf8/validate/125 1913s ok 128 /utf8/validate/126 1913s ok 129 /utf8/validate/127 1913s ok 130 /utf8/validate/128 1913s ok 131 /utf8/validate/129 1913s ok 132 /utf8/validate/130 1913s ok 133 /utf8/validate/131 1913s ok 134 /utf8/validate/132 1913s ok 135 /utf8/validate/133 1913s ok 136 /utf8/validate/134 1913s ok 137 /utf8/validate/135 1913s ok 138 /utf8/validate/136 1913s ok 139 /utf8/validate/137 1913s ok 140 /utf8/validate/138 1913s ok 141 /utf8/validate/139 1913s ok 142 /utf8/validate/140 1913s ok 143 /utf8/validate/141 1913s ok 144 /utf8/validate/142 1913s ok 145 /utf8/validate/143 1913s ok 146 /utf8/validate/144 1913s ok 147 /utf8/validate/145 1913s ok 148 /utf8/validate/146 1913s ok 149 /utf8/validate/147 1913s ok 150 /utf8/validate/148 1913s ok 151 /utf8/validate/149 1913s ok 152 /utf8/validate/150 1913s ok 153 /utf8/validate/151 1913s ok 154 /utf8/validate/152 1913s ok 155 /utf8/validate/153 1913s ok 156 /utf8/validate/154 1913s ok 157 /utf8/validate/155 1913s ok 158 /utf8/validate/156 1913s ok 159 /utf8/validate/157 1913s ok 160 /utf8/validate/158 1913s ok 161 /utf8/validate/159 1913s ok 162 /utf8/validate/160 1913s ok 163 /utf8/validate/161 1913s ok 164 /utf8/validate/162 1913s ok 165 /utf8/validate/163 1913s ok 166 /utf8/validate/164 1913s ok 167 /utf8/validate/165 1913s ok 168 /utf8/validate/166 1913s ok 169 /utf8/validate/167 1913s ok 170 /utf8/validate/168 1913s ok 171 /utf8/validate/169 1913s ok 172 /utf8/validate/170 1913s ok 173 /utf8/validate/171 1913s ok 174 /utf8/validate/172 1913s ok 175 /utf8/validate/173 1913s ok 176 /utf8/validate/174 1913s ok 177 /utf8/validate/175 1913s ok 178 /utf8/validate/176 1913s ok 179 /utf8/validate/177 1913s ok 180 /utf8/validate/178 1913s ok 181 /utf8/validate/179 1913s ok 182 /utf8/validate/180 1913s ok 183 /utf8/validate/181 1913s ok 184 /utf8/validate/182 1913s ok 185 /utf8/validate/183 1913s ok 186 /utf8/validate/184 1913s ok 187 /utf8/validate/185 1913s ok 188 /utf8/validate/186 1913s ok 189 /utf8/validate/187 1913s ok 190 /utf8/validate/188 1913s ok 191 /utf8/validate/189 1913s ok 192 /utf8/validate/190 1913s ok 193 /utf8/validate/191 1913s ok 194 /utf8/validate/192 1913s ok 195 /utf8/validate/193 1913s ok 196 /utf8/validate/194 1913s ok 197 /utf8/validate/195 1913s ok 198 /utf8/validate/196 1913s ok 199 /utf8/validate/197 1913s ok 200 /utf8/validate/198 1913s ok 201 /utf8/validate/199 1913s ok 202 /utf8/validate/200 1913s ok 203 /utf8/validate/201 1913s ok 204 /utf8/validate/202 1913s ok 205 /utf8/validate/203 1913s ok 206 /utf8/validate/204 1913s ok 207 /utf8/validate/205 1913s ok 208 /utf8/validate/206 1913s ok 209 /utf8/validate/207 1913s ok 210 /utf8/validate/208 1913s ok 211 /utf8/validate/209 1913s ok 212 /utf8/validate/210 1913s ok 213 /utf8/validate/211 1913s ok 214 /utf8/validate/212 1913s ok 215 /utf8/validate/213 1913s ok 216 /utf8/validate/214 1913s ok 217 /utf8/validate/215 1913s ok 218 /utf8/validate/216 1913s ok 219 /utf8/validate/217 1913s ok 220 /utf8/validate/218 1913s ok 221 /utf8/validate/219 1913s ok 222 /utf8/validate/220 1913s ok 223 /utf8/validate/221 1913s ok 224 /utf8/validate/222 1913s ok 225 /utf8/validate/223 1913s ok 226 /utf8/validate/224 1913s ok 227 /utf8/validate/225 1913s ok 228 /utf8/validate/226 1913s ok 229 /utf8/validate/227 1913s ok 230 /utf8/validate/228 1913s ok 231 /utf8/validate/229 1913s ok 232 /utf8/validate/230 1913s ok 233 /utf8/validate/231 1913s ok 234 /utf8/validate/232 1913s ok 235 /utf8/validate/233 1913s ok 236 /utf8/validate/234 1913s ok 237 /utf8/validate/235 1913s ok 238 /utf8/validate/236 1913s # End of validate tests 1913s # End of utf8 tests 1913s ok - glib/utf8-validate.test 1913s # Running test: glib/slice.test 1913s TAP version 14 1913s # random seed: R02Sbdafc944f0715b032fd4f675465cb042 1913s 1..3 1913s # Start of slice tests 1913s ok 1 /slice/copy 1913s ok 2 /slice/chain 1913s ok 3 /slice/allocate 1913s # End of slice tests 1913s ok - glib/slice.test 1913s # Running test: glib/gio-tool.py.test 1914s TAP version 13 1914s ok 1 __main__.TestGioTool.test_help 1914s # gio: /usr/bin/gio 1914s # tmpdir: /tmp/tmpnicf4eku 1914s # Running: ['/usr/bin/gio', '--help'] 1914s # Return code: 0 1914s # Output: 1914s # Usage: 1914s # gio COMMAND [ARGS…] 1914s # 1914s # Commands: 1914s # help Print help 1914s # version Print version 1914s # cat Concatenate files to standard output 1914s # copy Copy one or more files 1914s # info Show information about locations 1914s # launch Launch an application from a desktop file 1914s # list List the contents of locations 1914s # mime Get or set the handler for a mimetype 1914s # mkdir Create directories 1914s # monitor Monitor files and directories for changes 1914s # mount Mount or unmount the locations 1914s # move Move one or more files 1914s # open Open files with the default application 1914s # rename Rename a file 1914s # remove Delete one or more files 1914s # save Read from standard input and save 1914s # set Set a file attribute 1914s # trash Move files or directories to the trash 1914s # tree Lists the contents of locations in a tree 1914s # 1914s # Use “gio help COMMAND” to get detailed help. 1914s # Error: 1914s # 1914s # Running: ['/usr/bin/gio', 'help'] 1914s # Return code: 0 1914s # Output: 1914s # Usage: 1914s # gio COMMAND [ARGS…] 1914s # 1914s # Commands: 1914s # help Print help 1914s # version Print version 1914s # cat Concatenate files to standard output 1914s # copy Copy one or more files 1914s # info Show information about locations 1914s # launch Launch an application from a desktop file 1914s # list List the contents of locations 1914s # mime Get or set the handler for a mimetype 1914s # mkdir Create directories 1914s # monitor Monitor files and directories for changes 1914s # mount Mount or unmount the locations 1914s # move Move one or more files 1914s # open Open files with the default application 1914s # rename Rename a file 1914s # remove Delete one or more files 1914s # save Read from standard input and save 1914s # set Set a file attribute 1914s # trash Move files or directories to the trash 1914s # tree Lists the contents of locations in a tree 1914s # 1914s # Use “gio help COMMAND” to get detailed help. 1914s # Error: 1914s ok 2 __main__.TestGioTool.test_info_non_default_attributes 1914s # gio: /usr/bin/gio 1914s # tmpdir: /tmp/tmp7gku7ayi 1914s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp7gku7ayi/tmpwvfr_dxm'] 1914s # Return code: 0 1914s # Output: 1914s # uri: file:///tmp/tmp7gku7ayi/tmpwvfr_dxm 1914s # local path: /tmp/tmp7gku7ayi/tmpwvfr_dxm 1914s # unix mount: /dev/vda2[/lxd/containers/autopkgtest-lxd-grwwip/rootfs] / btrfs rw,relatime,idmapped,discard=async,space_cache=v2,user_subvol_rm_allowed,subvolid=14373,subvol=/lxd/containers/autopkgtest-lxd-grwwip 1914s # attributes: 1914s # standard::content-type: application/x-zerosize 1914s # Error: 1914s ok 3 __main__.TestGioTool.test_no_args 1914s # gio: /usr/bin/gio 1914s # tmpdir: /tmp/tmp_dykbakk 1914s # Running: ['/usr/bin/gio'] 1914s # Return code: 1 1914s # Output: 1914s # 1914s # Error: 1914s # Usage: 1914s # gio COMMAND [ARGS…] 1914s # 1914s # Commands: 1914s # help Print help 1914s # version Print version 1914s # cat Concatenate files to standard output 1914s # copy Copy one or more files 1914s # info Show information about locations 1914s # launch Launch an application from a desktop file 1914s # list List the contents of locations 1914s # mime Get or set the handler for a mimetype 1914s # mkdir Create directories 1914s # monitor Monitor files and directories for changes 1914s # mount Mount or unmount the locations 1914s # move Move one or more files 1914s # open Open files with the default application 1914s # rename Rename a file 1914s # remove Delete one or more files 1914s # save Read from standard input and save 1914s # set Set a file attribute 1914s # trash Move files or directories to the trash 1914s # tree Lists the contents of locations in a tree 1914s # 1914s # Use “gio help COMMAND” to get detailed help. 1914s 1..3 1914s ok - glib/gio-tool.py.test 1914s # Running test: glib/defaultvalue.test 1914s TAP version 14 1914s # random seed: R02S319bdbd8e6630dcca10552cbe94ec8ac 1914s 1..84 1914s # Start of Default Values tests 1914s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton 1914s ok 2 /Default Values/GAppLaunchContext 1914s ok 3 /Default Values/GApplicationCommandLine 1914s # skipping GApplication:is-remote 1914s ok 4 /Default Values/GApplication 1914s ok 5 /Default Values/GBinding # SKIP mandatory construct params 1914s ok 6 /Default Values/GBindingGroup 1914s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params 1914s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params 1914s ok 9 /Default Values/GBytesIcon 1914s ok 10 /Default Values/GCancellable 1914s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params 1914s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params 1914s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params 1914s ok 14 /Default Values/GCredentials 1914s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params 1914s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params 1914s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params 1914s ok 18 /Default Values/GDBusAuthObserver 1914s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params 1914s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize 1914s ok 21 /Default Values/GDBusMessage 1914s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize 1914s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params 1914s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params 1914s ok 25 /Default Values/GDBusObjectProxy 1914s ok 26 /Default Values/GDBusObjectSkeleton 1914s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params 1914s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params 1914s ok 29 /Default Values/GEmblem 1914s ok 30 /Default Values/GEmblemedIcon 1914s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract 1914s ok 32 /Default Values/GFileInfo 1914s ok 33 /Default Values/GFileInputStream 1914s ok 34 /Default Values/GFileIOStream # SKIP should be abstract 1914s ok 35 /Default Values/GFileOutputStream 1914s ok 36 /Default Values/GFilenameCompleter 1914s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params 1914s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed 1914s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params 1914s ok 40 /Default Values/GInitiallyUnowned 1914s ok 41 /Default Values/GIOModule 1914s ok 42 /Default Values/GListStore 1914s ok 43 /Default Values/GMemoryInputStream 1914s ok 44 /Default Values/GMemoryOutputStream 1914s ok 45 /Default Values/GMenu 1914s ok 46 /Default Values/GMenuItem 1914s ok 47 /Default Values/GMountOperation 1914s ok 48 /Default Values/GNativeSocketAddress 1914s ok 49 /Default Values/GNetworkAddress 1914s ok 50 /Default Values/GNetworkService 1914s ok 51 /Default Values/GNotification 1914s ok 52 /Default Values/GObject 1914s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params 1914s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 1914s # skipping GProxyAddressEnumerator:proxy-resolver 1914s ok 54 /Default Values/GProxyAddressEnumerator 1914s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params 1914s ok 56 /Default Values/GSettings # SKIP mandatory construct params 1914s ok 57 /Default Values/GSignalGroup 1914s ok 58 /Default Values/GSimpleAction 1914s ok 59 /Default Values/GSimpleActionGroup 1914s ok 60 /Default Values/GSimpleAsyncResult 1914s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params 1914s ok 62 /Default Values/GSimplePermission 1914s ok 63 /Default Values/GSimpleProxyResolver 1914s # skipping GSocketClient:proxy-resolver 1914s ok 64 /Default Values/GSocketClient 1914s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params 1914s ok 66 /Default Values/GSocket # SKIP initialization failed 1914s ok 67 /Default Values/GSocketListener 1914s ok 68 /Default Values/GSocketService 1914s ok 69 /Default Values/GSubprocess # SKIP initialization failed 1914s ok 70 /Default Values/GSubprocessLauncher 1914s # GLib-GIO-DEBUG: GTask 0x461cf08 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 1914s ok 71 /Default Values/GTask 1914s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params 1914s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params 1914s ok 74 /Default Values/GTestDBus 1914s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params 1914s ok 76 /Default Values/GThreadedSocketService 1914s ok 77 /Default Values/GTlsInteraction 1914s ok 78 /Default Values/GTlsPassword 1914s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params 1914s ok 80 /Default Values/GUnixFDList 1914s ok 81 /Default Values/GVfs 1914s ok 82 /Default Values/GVolumeMonitor 1914s ok 83 /Default Values/GZlibCompressor 1914s ok 84 /Default Values/GZlibDecompressor 1914s # End of Default Values tests 1914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1914s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1914s ok - glib/defaultvalue.test 1914s # Running test: glib/trash.test 1914s TAP version 14 1914s # random seed: R02Sc5c9c01ebb919d8790feee0826c5827d 1914s 1..3 1914s # Start of trash tests 1914s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251 1914s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1914s # File: /tmp/test-trashOSKD22 (parent st_dev: 84) 1914s # Home: /home/ubuntu (st_dev: 84) 1914s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test 1914s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522 1914s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist 1914s ok 3 /trash/long-filename 1914s # End of trash tests 1914s ok - glib/trash.test 1914s # Running test: glib/signal-handler.test 1914s TAP version 14 1914s # random seed: R02S39744e94ab046ffe45895b8ce29b6cdc 1914s 1..7 1914s # Start of signal tests 1914s # Start of handler tests 1914s # min perf: connected 1 handlers in 0.000 seconds 1914s ok 1 /signal/handler/connect-many 1914s # min perf: disconnected 1 handlers in 0.000 seconds 1914s ok 2 /signal/handler/disconnect-many-ordered 1914s # min perf: disconnected 1 handlers in 0.000 seconds 1914s ok 3 /signal/handler/disconnect-many-inverse 1914s # min perf: disconnected 1 handlers in 0.000 seconds 1914s ok 4 /signal/handler/disconnect-many-random 1914s # min perf: disconnected 1 handlers in 0.000 seconds 1914s ok 5 /signal/handler/disconnect-2-signals 1914s # min perf: disconnected 1 handlers in 0.000 seconds 1914s ok 6 /signal/handler/disconnect-2-objects 1914s # min perf: blocked and unblocked 1 handlers in 0.000 seconds 1914s ok 7 /signal/handler/block-many 1914s # End of handler tests 1914s # End of signal tests 1914s ok - glib/signal-handler.test 1914s # Running test: glib/atomic-c-17.test 1914s TAP version 14 1914s # random seed: R02S089f3d9148c7c2c3b62290e5d008436b 1914s 1..2 1914s # Start of atomic tests 1914s ok 1 /atomic/types 1914s ok 2 /atomic/threaded 1914s # End of atomic tests 1914s ok - glib/atomic-c-17.test 1914s # Running test: glib/gsubprocess.test 1914s TAP version 14 1914s # random seed: R02Sde90365cfb378d0fc972dccd0ba93117 1914s 1..84 1914s # Start of gsubprocess tests 1914s ok 1 /gsubprocess/noop 1914s ok 2 /gsubprocess/noop-all-to-null 1914s ok 3 /gsubprocess/noop-no-wait 1914s ok 4 /gsubprocess/noop-stdin-inherit 1914s ok 5 /gsubprocess/search-path 1914s ok 6 /gsubprocess/search-path-from-envp 1916s # Executing: glib/gsubprocess.test 1917s ok 7 /gsubprocess/signal 1917s # slow test /gsubprocess/signal executed in 3.58 secs 1917s ok 8 /gsubprocess/exit1 1917s ok 9 /gsubprocess/echo1 1917s ok 10 /gsubprocess/echo-merged 1917s ok 11 /gsubprocess/cat-utf8 1918s ok 12 /gsubprocess/cat-eof 1918s # slow test /gsubprocess/cat-eof executed in 1.00 secs 1921s # Executing: glib/gsubprocess.test 1921s ok 13 /gsubprocess/multi1 1921s # slow test /gsubprocess/multi1 executed in 3.01 secs 1921s ok 14 /gsubprocess/communicate 1924s ok 15 /gsubprocess/terminate 1924s # slow test /gsubprocess/terminate executed in 2.97 secs 1924s ok 16 /gsubprocess/fail-initialization 1924s ok 17 /gsubprocess/env 1924s ok 18 /gsubprocess/cwd 1924s ok 19 /gsubprocess/launcher-close 1924s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 1924s ok 20 /gsubprocess/stdout-file 1924s ok 21 /gsubprocess/stdout-fd 1924s ok 22 /gsubprocess/child-setup 1924s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1924s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1924s ok 23 /gsubprocess/launcher-environment 1924s # Start of exit1 tests 1924s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1924s ok 24 /gsubprocess/exit1/cancel 1924s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456 1924s ok 25 /gsubprocess/exit1/cancel_in_cb 1924s # End of exit1 tests 1924s # Start of communicate tests 1924s ok 26 /gsubprocess/communicate/cancelled 1924s ok 27 /gsubprocess/communicate/async 1924s ok 28 /gsubprocess/communicate/utf8 1924s # hello world 1924s ok 29 /gsubprocess/communicate/no-pipes 1924s ok 30 /gsubprocess/communicate/separate-stderr 1924s ok 31 /gsubprocess/communicate/stdout-only 1924s # hello world 1924s ok 32 /gsubprocess/communicate/stderr-only 1924s ok 33 /gsubprocess/communicate/stdout-silence 1924s ok 34 /gsubprocess/communicate/nothing 1924s # Start of async tests 1924s ok 35 /gsubprocess/communicate/async/cancelled 1924s # hello world 1924s ok 36 /gsubprocess/communicate/async/no-pipes 1924s ok 37 /gsubprocess/communicate/async/separate-stderr 1924s ok 38 /gsubprocess/communicate/async/stdout-only 1924s # hello world 1924s ok 39 /gsubprocess/communicate/async/stderr-only 1924s ok 40 /gsubprocess/communicate/async/stdout-silence 1924s # Start of cancelled tests 1924s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes 1924s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr 1924s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only 1924s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only 1924s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence 1924s # End of cancelled tests 1924s # End of async tests 1924s # Start of utf8 tests 1924s ok 46 /gsubprocess/communicate/utf8/cancelled 1924s ok 47 /gsubprocess/communicate/utf8/async 1924s # hello world 1924s ok 48 /gsubprocess/communicate/utf8/no-pipes 1924s ok 49 /gsubprocess/communicate/utf8/separate-stderr 1924s ok 50 /gsubprocess/communicate/utf8/stdout-only 1924s # hello world 1924s ok 51 /gsubprocess/communicate/utf8/stderr-only 1924s ok 52 /gsubprocess/communicate/utf8/stdout-silence 1924s ok 53 /gsubprocess/communicate/utf8/invalid 1924s # Start of async tests 1924s ok 54 /gsubprocess/communicate/utf8/async/cancelled 1924s # hello world 1924s ok 55 /gsubprocess/communicate/utf8/async/no-pipes 1924s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr 1924s ok 57 /gsubprocess/communicate/utf8/async/stdout-only 1924s # hello world 1924s ok 58 /gsubprocess/communicate/utf8/async/stderr-only 1924s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence 1924s ok 60 /gsubprocess/communicate/utf8/async/invalid 1924s # Start of cancelled tests 1924s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes 1924s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr 1924s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only 1924s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only 1924s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence 1924s # End of cancelled tests 1924s # End of async tests 1924s # Start of cancelled tests 1924s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes 1924s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr 1924s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only 1924s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only 1924s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence 1924s # End of cancelled tests 1924s # End of utf8 tests 1924s # Start of cancelled tests 1924s ok 71 /gsubprocess/communicate/cancelled/no-pipes 1924s ok 72 /gsubprocess/communicate/cancelled/separate-stderr 1924s ok 73 /gsubprocess/communicate/cancelled/stdout-only 1924s ok 74 /gsubprocess/communicate/cancelled/stderr-only 1924s ok 75 /gsubprocess/communicate/cancelled/stdout-silence 1924s # End of cancelled tests 1924s # End of communicate tests 1924s # Start of env tests 1924s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1924s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 1924s ok 76 /gsubprocess/env/inherit 1924s # End of env tests 1924s # Start of pass-fd tests 1924s ok 77 /gsubprocess/pass-fd/basic 1924s ok 78 /gsubprocess/pass-fd/empty-child-setup 1924s ok 79 /gsubprocess/pass-fd/inherit-fds 1924s # End of pass-fd tests 1924s # Start of fd-conflation tests 1924s ok 80 /gsubprocess/fd-conflation/basic 1924s ok 81 /gsubprocess/fd-conflation/empty-child-setup 1924s ok 82 /gsubprocess/fd-conflation/inherit-fds 1924s ok 83 /gsubprocess/fd-conflation/child-err-report-fd 1924s # End of fd-conflation tests 1924s # Start of exit-status tests 1924s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes 1924s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433 1924s ok 84 /gsubprocess/exit-status/trapped 1924s # End of exit-status tests 1924s # End of gsubprocess tests 1924s ok - glib/gsubprocess.test 1924s # Running test: glib/mimeapps.test 1924s TAP version 14 1924s # random seed: R02S853f590c01ac01010336180d685a6e80 1924s 1..7 1924s # Start of appinfo tests 1924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/home 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/cache 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/system-config2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/config 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/system-data2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/state 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/runtime 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/system-data1/applications' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/system-data1/applications/mimeapps.list' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data/applications' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data/applications/myapp.desktop' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data/applications/myapp2.desktop' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data/applications/myapp3.desktop' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data/applications/myapp4.desktop' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data/applications/myapp5.desktop' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data/applications/nosuchapp.desktop' 1924s # removing '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data/applications/mimeapps.list' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/data/applications/mimeinfo.cache' 1924s ok 1 /appinfo/all 1924s # Start of mime tests 1924s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/home 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/cache 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/system-config2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/config 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/system-data2 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/state 1924s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/runtime 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/system-data1/applications' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data/applications' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data/applications/myapp.desktop' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data/applications/myapp2.desktop' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data/applications/myapp3.desktop' 1924s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data/applications/myapp4.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data/applications/myapp5.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop' 1925s # removing '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache' 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/config 1925s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_J2DA22/appinfo/all/.dirs/config to /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/config 1925s ok 2 /appinfo/mime/api 1925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/home 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/cache 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/system-config2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/config 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/system-data2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/state 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/runtime 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/system-data1/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data/applications/myapp.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data/applications/myapp2.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data/applications/myapp3.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data/applications/myapp4.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data/applications/myapp5.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop' 1925s # removing '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache' 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/config 1925s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_J2DA22/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/config 1925s ok 3 /appinfo/mime/default 1925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/home 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/cache 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/system-config2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/config 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/system-data2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/state 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/runtime 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/system-data1/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data/applications/myapp.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data/applications/myapp2.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data/applications/myapp3.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data/applications/myapp4.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data/applications/myapp5.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop' 1925s # removing '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache' 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/config 1925s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_J2DA22/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/config 1925s ok 4 /appinfo/mime/file 1925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/home 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/cache 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/system-config2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/config 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/system-data2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/state 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/runtime 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/system-data1/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop' 1925s # removing '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache' 1925s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_J2DA22/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/config 1925s ok 5 /appinfo/mime/scheme-handler 1925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/home 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/cache 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/system-config2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/config 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/system-data2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/state 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/runtime 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/system-data1/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop' 1925s # removing '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache' 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/config 1925s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_J2DA22/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/config 1925s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/config 1925s ok 6 /appinfo/mime/default-last-used 1925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/home 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/cache 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/system-config2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/config 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/system-data2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/state 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/runtime 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data/applications' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop' 1925s # removing '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list' 1925s # creating '/tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache' 1925s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_J2DA22/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_J2DA22/appinfo/mime/ignore-nonexisting/.dirs/config 1925s ok 7 /appinfo/mime/ignore-nonexisting 1925s # End of mime tests 1925s # End of appinfo tests 1925s ok - glib/mimeapps.test 1925s # Running test: glib/gdbus-proxy-well-known-name.test 1925s TAP version 14 1925s # random seed: R02Sfd6662acc4b4a4c3856b5d03c8f3c700 1925s 1..1 1925s # Start of gdbus tests 1925s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/home 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/cache 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/system-config2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/config 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/system-data2 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/data 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/state 1925s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_GN1C22/gdbus/proxy-well-known-name/.dirs/runtime 1925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1925s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 1925s ok 1 /gdbus/proxy-well-known-name 1925s # End of gdbus tests 1925s ok - glib/gdbus-proxy-well-known-name.test 1925s # Running test: glib/closure-refcount.test 1925s TAP version 14 1925s # random seed: R02S4a0f3e944fe7a4e1917a1cb624cad395 1925s 1..1 1925s # Start of closure tests 1925s # Init 0x11b3b8e8 1925s # Yielding from thread1 1925s # Yielding from thread1 1925s # Yielding from thread1 1925s # Yielding from thread1 1925s # Yielding from main thread 1925s # Yielding from thread1 1925s # Yielding from thread2 1925s # Yielding from thread1 1925s # Yielding from thread1 1925s # Yielding from main thread 1925s # Yielding from thread1 1926s # Yielding from thread1 1926s # Yielding from thread1 1926s # Yielding from thread1 1926s # Yielding from thread2 1926s # Yielding from thread1 1926s # Yielding from thread1 1926s # Yielding from thread1 1926s # Yielding from thread1 1926s # Yielding from thread2 1926s # Executing: glib/closure-refcount.test 1926s # Yielding from thread1 1926s # Yielding from thread2 1926s # Yielding from main thread 1927s # Yielding from thread1 1927s # Yielding from thread1 1927s # Yielding from thread2 1927s # Yielding from thread1 1927s # Yielding from thread2 1927s # Yielding from thread1 1927s # Yielding from thread1 1927s # Yielding from thread2 1927s # Yielding from thread1 1927s # Yielding from thread2 1927s # Yielding from thread1 1928s # Yielding from thread1 1928s # Yielding from thread2 1928s # Yielding from thread1 1928s # Yielding from thread2 1928s # Yielding from thread1 1928s # Yielding from thread1 1928s # Yielding from thread2 1928s # Yielding from thread1 1928s # Yielding from thread2 1928s # Yielding from thread1 1929s # Yielding from thread1 1929s # Yielding from thread2 1929s # Yielding from thread1 1929s # Yielding from thread2 1929s # Yielding from thread1 1929s # Yielding from thread1 1929s # Yielding from thread2 1929s # Yielding from main thread 1929s # Yielding from thread1 1929s # Yielding from thread2 1929s # Yielding from thread1 1930s # Yielding from thread1 1930s # Yielding from thread2 1930s # Yielding from thread1 1930s # Yielding from thread2 1930s # Yielding from thread1 1930s # Yielding from thread1 1930s # Yielding from thread2 1930s # Yielding from thread1 1930s # Yielding from thread2 1930s # Yielding from thread1 1930s # Yielding from thread1 1930s # Yielding from thread2 1931s # Yielding from thread1 1931s # Yielding from thread2 1931s # Yielding from thread1 1931s # Yielding from thread1 1931s # Yielding from thread2 1931s # Yielding from thread1 1931s # Yielding from thread2 1931s # Yielding from thread1 1931s # Executing: glib/closure-refcount.test 1931s # Yielding from thread1 1931s # Yielding from thread2 1932s # Yielding from thread1 1932s # Yielding from thread2 1932s # Yielding from thread1 1932s # Yielding from main thread 1932s # Yielding from thread1 1932s # Yielding from thread2 1932s # Yielding from thread1 1932s # Yielding from thread1 1932s # Yielding from thread2 1932s # Yielding from thread1 1932s # Yielding from thread2 1932s # Yielding from thread1 1933s # Yielding from thread2 1933s # Yielding from thread1 1933s # Yielding from thread1 1933s # Yielding from thread2 1933s # Yielding from thread1 1933s # Yielding from thread2 1933s # Yielding from thread1 1933s # Yielding from thread1 1933s # Yielding from thread2 1933s # Yielding from thread1 1934s # Yielding from thread2 1934s # Yielding from thread1 1934s # Yielding from thread1 1934s # Yielding from thread2 1934s # Yielding from thread1 1934s # Yielding from thread1 1934s # Yielding from thread2 1934s # Yielding from thread1 1934s # Yielding from thread2 1934s # Yielding from main thread 1934s # Yielding from thread1 1934s # Yielding from thread1 1935s # Yielding from thread2 1935s # Yielding from thread1 1935s # Yielding from thread2 1935s # Yielding from thread1 1935s # Yielding from thread1 1935s # Yielding from thread2 1935s # Yielding from thread1 1935s # Yielding from thread2 1935s # Yielding from thread1 1935s # Yielding from thread1 1935s # Yielding from thread2 1936s # Yielding from thread1 1936s # Yielding from thread1 1936s # Yielding from thread2 1936s # Yielding from thread1 1936s # Yielding from thread2 1936s # Yielding from thread1 1936s # Yielding from thread1 1936s # Yielding from thread2 1936s # Executing: glib/closure-refcount.test 1936s # Yielding from thread1 1936s # Yielding from thread1 1936s # Yielding from thread2 1937s # Yielding from thread1 1937s # Yielding from thread2 1937s # Yielding from thread1 1937s # Yielding from thread2 1937s # Yielding from thread1 1937s # Yielding from main thread 1937s # Yielding from thread1 1937s # Yielding from thread2 1937s # Yielding from thread1 1937s # Yielding from thread2 1937s # Yielding from thread1 1938s # Yielding from thread1 1938s # Yielding from thread2 1938s # Yielding from thread1 1938s # Yielding from thread2 1938s # Yielding from thread1 1938s # Yielding from thread1 1938s # Yielding from thread2 1938s # Yielding from thread1 1938s # Yielding from thread2 1938s # Yielding from thread1 1939s # Yielding from thread1 1939s # Yielding from thread2 1939s # Yielding from thread1 1939s # Yielding from thread2 1939s # Yielding from thread1 1939s # Yielding from thread2 1939s # Yielding from thread1 1939s # Yielding from thread2 1939s # Yielding from thread1 1939s # Yielding from thread2 1939s # Yielding from thread1 1939s # Yielding from main thread 1940s # Yielding from thread1 1940s # Yielding from thread2 1940s # Yielding from thread1 1940s # Yielding from thread2 1940s # Yielding from thread1 1940s # Yielding from thread2 1940s # Yielding from thread1 1940s # Yielding from thread2 1940s # Yielding from thread1 1940s # Yielding from thread1 1940s # Yielding from thread2 1941s # Yielding from thread1 1941s # Yielding from thread2 1941s # Yielding from thread1 1941s # Yielding from thread2 1941s # Yielding from thread1 1941s # Yielding from thread2 1941s # Yielding from thread1 1941s # Yielding from thread2 1941s # Yielding from thread1 1941s # Executing: glib/closure-refcount.test 1941s # Yielding from thread2 1941s # Yielding from thread1 1942s # Yielding from main thread 1942s # Yielding from thread1 1942s # Yielding from thread2 1942s # Yielding from thread1 1942s # Yielding from thread2 1942s # Yielding from thread1 1942s # Yielding from thread2 1942s # Yielding from thread1 1942s # Yielding from thread2 1942s # Yielding from thread1 1942s # Yielding from thread2 1942s # Yielding from thread1 1943s # Yielding from thread1 1943s # Yielding from thread2 1943s # Yielding from thread1 1943s # Yielding from thread2 1943s # Yielding from thread1 1943s # Yielding from thread2 1943s # Yielding from thread1 1943s # Yielding from thread2 1943s # Yielding from thread1 1943s # Yielding from thread2 1944s # Yielding from thread1 1944s # Stopping 1944s # Stopped 1944s ok 1 /closure/refcount 1944s # slow test /closure/refcount executed in 18.92 secs 1944s # End of closure tests 1944s ok - glib/closure-refcount.test 1944s # Running test: glib/power-profile-monitor-dbus.test 1944s TAP version 13 1944s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled 1944s 1..1 1944s ok - glib/power-profile-monitor-dbus.test 1944s # Running test: glib/credentials.test 1944s TAP version 14 1944s # random seed: R02See1ed89ce5de118734d9f5a0efc7b951 1944s 1..1 1944s # Start of credentials tests 1944s # GCredentials:linux-ucred:pid=1659,uid=1000,gid=1000 1944s # GCredentials:linux-ucred:pid=1659,uid=0,gid=1000 1944s ok 1 /credentials/basic 1944s # End of credentials tests 1944s ok - glib/credentials.test 1944s # Running test: glib/onceinit.test 1944s TAP version 14 1944s # random seed: R02Sc876380ed1d0068dbd5b50f258aeae26 1944s 1..1 1944s # Start of thread tests 1944s ok 1 /thread/onceinit 1944s # End of thread tests 1944s ok - glib/onceinit.test 1944s # Running test: glib/unicode-normalize.test 1944s TAP version 14 1944s # random seed: R02S80edc86ffe6ad8ff3b73a860b05f4f40 1944s 1..3 1944s # Start of unicode tests 1944s # Processing Part0 # Specific cases 1944s # Processing Part1 # Character by character test 1944s # Processing Part2 # Canonical Order Test 1944s # Processing Part3 # PRI #29 Test 1944s # Processing Part4 # Canonical closures (excluding Hangul) 1944s # Processing Part5 # Chained primary composites 1944s ok 1 /unicode/normalize 1944s # Invalid UTF-8 vector 0 1944s # Invalid UTF-8 vector 1 1944s # Invalid UTF-8 vector 2 1944s # Invalid UTF-8 vector 3 1944s # Invalid UTF-8 vector 4 1944s # Invalid UTF-8 vector 5 1944s # Invalid UTF-8 vector 6 1944s # Invalid UTF-8 vector 7 1944s # Invalid UTF-8 vector 8 1944s # Invalid UTF-8 vector 9 1944s # Invalid UTF-8 vector 10 1944s # Invalid UTF-8 vector 11 1944s # Invalid UTF-8 vector 12 1944s ok 2 /unicode/normalize-invalid 1944s # Start of normalize tests 1944s ok 3 /unicode/normalize/bad-length 1944s # End of normalize tests 1944s # End of unicode tests 1944s ok - glib/unicode-normalize.test 1944s # Running test: glib/utils.test 1944s TAP version 14 1944s # random seed: R02Sb736da8a623fb9957fbf29abbb1c7d72 1944s 1..41 1944s # Start of utils tests 1944s ok 1 /utils/language-names 1944s ok 2 /utils/locale-variants 1944s ok 3 /utils/version 1944s ok 4 /utils/appname 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1944s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1944s ok 5 /utils/prgname-thread-safety 1944s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1944s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1944s ok 6 /utils/tmpdir 1944s ok 7 /utils/basic_bits 1944s ok 8 /utils/bits 1944s ok 9 /utils/swap 1944s ok 10 /utils/find-program 1944s ok 11 /utils/find-program-for-path 1944s ok 12 /utils/debug 1944s ok 13 /utils/codeset 1944s ok 14 /utils/codeset2 1944s ok 15 /utils/console-charset 1944s ok 16 /utils/gettext 1944s ok 17 /utils/username 1944s ok 18 /utils/realname 1944s ok 19 /utils/hostname 1944s ok 20 /utils/xdgdirs 1944s ok 21 /utils/specialdir 1944s # NAME: Ubuntu 1944s ok 22 /utils/os-info 1944s ok 23 /utils/clear-pointer 1944s ok 24 /utils/clear-pointer-cast 1944s ok 25 /utils/take-pointer 1944s ok 26 /utils/clear-source 1944s ok 27 /utils/misc-mem 1944s # /utils/aligned-mem summary: Aligned memory allocator 1944s # Alignment must not be zero 1944s # Alignment must be a power of two 1944s # Alignment must be a multiple of sizeof(void*) 1944s ok 28 /utils/aligned-mem 1944s # /utils/free-sized summary: Check that g_free_sized() works 1944s ok 29 /utils/free-sized 1944s ok 30 /utils/nullify 1944s ok 31 /utils/atexit 1944s ok 32 /utils/check-setuid 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1944s ok 33 /utils/int-limits 1944s ok 34 /utils/clear-list 1944s ok 35 /utils/clear-slist 1944s ok 36 /utils/steal-handle-id 1944s # Start of specialdir tests 1944s ok 37 /utils/specialdir/desktop 1944s # End of specialdir tests 1944s # Start of clear-pointer tests 1944s ok 38 /utils/clear-pointer/side-effects 1944s # End of clear-pointer tests 1944s # Start of aligned-mem tests 1944s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1944s ok 39 /utils/aligned-mem/alignment 1944s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1944s ok 40 /utils/aligned-mem/zeroed 1944s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1944s ok 41 /utils/aligned-mem/free-sized 1944s # Start of subprocess tests 1944s # End of subprocess tests 1944s # End of aligned-mem tests 1944s # End of utils tests 1944s ok - glib/utils.test 1944s # Running test: glib/utils-c-89.test 1944s TAP version 14 1944s # random seed: R02Sf90a763ab1248e1dc9b07a6666b9f0b7 1944s 1..41 1944s # Start of utils tests 1944s ok 1 /utils/language-names 1944s ok 2 /utils/locale-variants 1944s ok 3 /utils/version 1944s ok 4 /utils/appname 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 1944s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 1944s ok 5 /utils/prgname-thread-safety 1944s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 1944s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 1944s ok 6 /utils/tmpdir 1944s ok 7 /utils/basic_bits 1944s ok 8 /utils/bits 1944s ok 9 /utils/swap 1944s ok 10 /utils/find-program 1944s ok 11 /utils/find-program-for-path 1944s ok 12 /utils/debug 1944s ok 13 /utils/codeset 1944s ok 14 /utils/codeset2 1944s ok 15 /utils/console-charset 1944s ok 16 /utils/gettext 1944s ok 17 /utils/username 1944s ok 18 /utils/realname 1944s ok 19 /utils/hostname 1944s ok 20 /utils/xdgdirs 1944s ok 21 /utils/specialdir 1944s # NAME: Ubuntu 1944s ok 22 /utils/os-info 1944s ok 23 /utils/clear-pointer 1944s ok 24 /utils/clear-pointer-cast 1944s ok 25 /utils/take-pointer 1944s ok 26 /utils/clear-source 1944s ok 27 /utils/misc-mem 1944s # /utils/aligned-mem summary: Aligned memory allocator 1944s # Alignment must not be zero 1944s # Alignment must be a power of two 1944s # Alignment must be a multiple of sizeof(void*) 1944s ok 28 /utils/aligned-mem 1944s # /utils/free-sized summary: Check that g_free_sized() works 1944s ok 29 /utils/free-sized 1944s ok 30 /utils/nullify 1944s ok 31 /utils/atexit 1944s ok 32 /utils/check-setuid 1944s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 1944s ok 33 /utils/int-limits 1944s ok 34 /utils/clear-list 1944s ok 35 /utils/clear-slist 1944s ok 36 /utils/steal-handle-id 1944s # Start of specialdir tests 1944s ok 37 /utils/specialdir/desktop 1944s # End of specialdir tests 1944s # Start of clear-pointer tests 1944s ok 38 /utils/clear-pointer/side-effects 1944s # End of clear-pointer tests 1944s # Start of aligned-mem tests 1944s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 1944s ok 39 /utils/aligned-mem/alignment 1944s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 1944s ok 40 /utils/aligned-mem/zeroed 1944s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 1944s ok 41 /utils/aligned-mem/free-sized 1944s # Start of subprocess tests 1944s # End of subprocess tests 1944s # End of aligned-mem tests 1944s # End of utils tests 1944s ok - glib/utils-c-89.test 1944s # Running test: glib/unix-streams.test 1944s TAP version 14 1944s # random seed: R02Sca5ae9889664c20b245c6cc385c87e08 1944s 1..9 1944s # Start of unix-streams tests 1944s ok 1 /unix-streams/basic 1945s ok 2 /unix-streams/pipe-io-test 1945s # slow test /unix-streams/pipe-io-test executed in 0.50 secs 1945s ok 3 /unix-streams/nonblocking-io-test 1945s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs 1945s ok 4 /unix-streams/read_write 1945s ok 5 /unix-streams/read_writev 1945s ok 6 /unix-streams/write-wouldblock 1945s ok 7 /unix-streams/writev-wouldblock 1945s ok 8 /unix-streams/write-async-wouldblock 1945s ok 9 /unix-streams/writev-async-wouldblock 1945s # End of unix-streams tests 1945s ok - glib/unix-streams.test 1945s # Running test: glib/properties.test 1945s TAP version 14 1945s # random seed: R02S9ba36d4b2116ef017cd6040e081e3d47 1945s 1..13 1945s # Start of properties tests 1945s ok 1 /properties/install 1945s ok 2 /properties/install-many 1945s ok 3 /properties/notify 1945s ok 4 /properties/notify-queue 1945s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357 1945s ok 5 /properties/construct 1945s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values 1945s # Test g_object_get_property with an initialized value 1945s # Test g_object_get_property with an uninitialized value 1945s # Test g_object_get_property with a transformable value 1945s ok 6 /properties/get-property 1945s ok 7 /properties/testv_with_no_properties 1945s ok 8 /properties/testv_with_valid_properties 1945s ok 9 /properties/testv_with_invalid_property_type 1945s ok 10 /properties/testv_with_invalid_property_names 1945s ok 11 /properties/testv_getv 1945s ok 12 /properties/testv_notify_queue 1945s # Start of set-property tests 1945s # Start of variant tests 1945s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference 1945s ok 13 /properties/set-property/variant/floating 1945s # End of variant tests 1945s # End of set-property tests 1945s # End of properties tests 1945s ok - glib/properties.test 1945s # Running test: glib/timeout.test 1945s TAP version 14 1945s # random seed: R02Sa3d2504f3291414a0b21a853eb4b81d3 1945s 1..5 1945s # Start of timeout tests 1945s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 1946s # Executing: glib/timeout.test 1947s ok 1 /timeout/seconds 1947s # slow test /timeout/seconds executed in 2.10 secs 1950s ok 2 /timeout/seconds-once 1950s # slow test /timeout/seconds-once executed in 2.10 secs 1950s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 1951s # Executing: glib/timeout.test 1952s ok 3 /timeout/weeks-overflow 1952s # slow test /timeout/weeks-overflow executed in 2.10 secs 1952s ok 4 /timeout/far-future-ready-time 1952s ok 5 /timeout/rounding # SKIP Not reliable on older ARM hardware 1952s # End of timeout tests 1952s ok - glib/timeout.test 1952s # Running test: glib/function-info.test 1952s TAP version 14 1952s # random seed: R02S8a3b2f547f1662f18844fe36faf9f5db 1952s 1..1 1952s # Start of function-info tests 1952s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_QF9A22/function-info/invoker/.dirs/home 1952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_QF9A22/function-info/invoker/.dirs/cache 1952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_QF9A22/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_QF9A22/function-info/invoker/.dirs/system-config2 1952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_QF9A22/function-info/invoker/.dirs/config 1952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_QF9A22/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_QF9A22/function-info/invoker/.dirs/system-data2 1952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_QF9A22/function-info/invoker/.dirs/data 1952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_QF9A22/function-info/invoker/.dirs/state 1952s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_QF9A22/function-info/invoker/.dirs/runtime 1952s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 1952s # /function-info/invoker summary: Test preparing a function invoker 1952s ok 1 /function-info/invoker 1952s # End of function-info tests 1952s ok - glib/function-info.test 1952s # Running test: glib/utf8-misc.test 1952s TAP version 14 1952s # random seed: R02S4f86ae672a93a747e1b43d72d2cca0ff 1952s 1..7 1952s # Start of utf8 tests 1952s ok 1 /utf8/strlen 1952s ok 2 /utf8/strncpy 1952s ok 3 /utf8/strrchr 1952s ok 4 /utf8/reverse 1952s ok 5 /utf8/substring 1952s ok 6 /utf8/make-valid 1952s ok 7 /utf8/truncate-middle 1952s # End of utf8 tests 1952s ok - glib/utf8-misc.test 1952s # Running test: glib/hash.test 1952s TAP version 14 1952s # random seed: R02S5b51fc0b5a0f6bb7718907b2aff10b43 1952s 1..34 1952s # Start of hash tests 1952s ok 1 /hash/misc 1952s ok 2 /hash/one 1952s ok 3 /hash/honeyman 1952s ok 4 /hash/direct 1952s ok 5 /hash/direct2 1952s ok 6 /hash/int 1952s ok 7 /hash/int64 1952s ok 8 /hash/double 1952s ok 9 /hash/string 1952s ok 10 /hash/set 1952s ok 11 /hash/set-ref 1952s ok 12 /hash/ref 1952s ok 13 /hash/remove-all 1952s ok 14 /hash/recursive-remove-all 1952s ok 15 /hash/find 1952s ok 16 /hash/foreach 1952s ok 17 /hash/foreach-steal 1952s ok 18 /hash/steal-extended 1952s ok 19 /hash/steal-all-keys 1952s ok 20 /hash/steal-all-values 1952s ok 21 /hash/lookup-extended 1952s ok 22 /hash/new-similar 1952s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944 1952s ok 23 /hash/lookup-null-key 1952s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459 1952s ok 24 /hash/destroy-modify 1952s ok 25 /hash/consistency 1952s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544 1952s ok 26 /hash/iter-replace 1952s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815 1952s ok 27 /hash/set-insert-corruption 1952s ok 28 /hash/set-to-strv 1952s ok 29 /hash/get-keys-as-ptr-array 1952s ok 30 /hash/get-values-as-ptr-array 1952s ok 31 /hash/primes 1952s # Start of int64 tests 1952s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word 1952s ok 32 /hash/int64/collisions 1952s # End of int64 tests 1952s # Start of double tests 1952s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64) 1952s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771 1952s ok 33 /hash/double/collisions 1952s # End of double tests 1952s # Start of recursive-remove-all tests 1952s # End of recursive-remove-all tests 1952s # Start of steal-extended tests 1952s ok 34 /hash/steal-extended/optional 1952s # End of steal-extended tests 1952s # End of hash tests 1952s ok - glib/hash.test 1952s # Running test: glib/gobject-private.test 1952s TAP version 14 1952s # random seed: R02S39d96f998f730904966c754670353321 1952s 1..3 1952s # Start of private tests 1952s ok 1 /private/instance 1952s ok 2 /private/derived-instance 1952s ok 3 /private/mixed-derived-instance 1952s # End of private tests 1952s ok - glib/gobject-private.test 1952s # Running test: glib/deprecated-properties.test 1952s TAP version 14 1952s # random seed: R02S3deb66e3142ccabbb42417001a5b4cff 1952s 1..3 1952s # Start of deprecated-properties tests 1952s ok 1 /deprecated-properties/construct 1952s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1952s ok 2 /deprecated-properties/default-construct 1952s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748 1952s ok 3 /deprecated-properties/set 1952s # End of deprecated-properties tests 1952s ok - glib/deprecated-properties.test 1952s # Running test: glib/network-monitor-race.test 1952s TAP version 14 1952s # random seed: R02Sc6cc80425946d0aba345d6188a96c4f0 1952s 1..1 1952s # Start of network-monitor tests 1952s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727 1954s ok 1 /network-monitor/create-in-thread 1954s # slow test /network-monitor/create-in-thread executed in 2.27 secs 1954s # End of network-monitor tests 1954s ok - glib/network-monitor-race.test 1954s # Running test: glib/repository-search-paths.test 1954s TAP version 14 1954s # random seed: R02S87a206321d09244327d9ffa757c40f2b 1954s 1..4 1954s # Start of repository tests 1954s # Start of search-paths tests 1954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/home 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/cache 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/system-config2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/config 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/system-data2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/data 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/state 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/default/.dirs/runtime 1954s ok 1 /repository/search-paths/default 1954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/home 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/cache 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/system-config2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/config 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/system-data2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/data 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/state 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1PUK22/repository/search-paths/prepend/.dirs/runtime 1954s ok 2 /repository/search-paths/prepend 1954s # End of search-paths tests 1954s # Start of library-paths tests 1954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/home 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/cache 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/system-config2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/config 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/system-data2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/data 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/state 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/default/.dirs/runtime 1954s ok 3 /repository/library-paths/default 1954s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/home 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/cache 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/system-config2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/config 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/system-data2 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/data 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/state 1954s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_1PUK22/repository/library-paths/prepend/.dirs/runtime 1954s ok 4 /repository/library-paths/prepend 1954s # End of library-paths tests 1954s # End of repository tests 1954s ok - glib/repository-search-paths.test 1954s # Running test: glib/custom-dispatch.test 1954s TAP version 14 1954s # random seed: R02S52abb1f69d355e1dce13303c3aab8b0e 1954s 1..2 1954s # Start of properties tests 1954s # Start of custom-dispatch tests 1954s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization 1954s ok 1 /properties/custom-dispatch/init 1954s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers 1954s ok 2 /properties/custom-dispatch/set 1954s # End of custom-dispatch tests 1954s # End of properties tests 1954s ok - glib/custom-dispatch.test 1954s # Running test: glib/relation.test 1954s TAP version 14 1954s # random seed: R02Sfd7a89a522a69425dbcc38789941ef41 1954s 1..1 1954s # Start of glib tests 1954s ok 1 /glib/relation 1954s # End of glib tests 1954s ok - glib/relation.test 1954s # Running test: glib/performance.test 1954s Running test simple-construction 1956s # Executing: glib/performance.test 1961s # Executing: glib/performance.test 1965s simple-construction: Millions of constructed objects per second: 12.738 1965s Running test simple-construction1 1966s # Executing: glib/performance.test 1967s simple-construction1: Millions of constructed objects per second: 68.689 1967s Running test complex-construction 1971s # Executing: glib/performance.test 1971s complex-construction: Millions of constructed objects per second: 4.770 1971s Running test complex-construction1 1976s # Executing: glib/performance.test 1977s complex-construction1: Millions of constructed objects per second: 7.605 1977s Running test complex-construction2 1981s # Executing: glib/performance.test 1984s complex-construction2: Millions of constructed objects per second: 8.607 1984s Running test finalization 1985s finalization: Millions of finalized objects per second: 1.697 1985s Running test type-check 1986s # Executing: glib/performance.test 1986s type-check: Million type checks per second: 40.12 1986s Running test emit-unhandled 1987s emit-unhandled: Emissions per second: 2730278 1987s Running test emit-unhandled-empty 1988s emit-unhandled-empty: Emissions per second: 24026362 1988s Running test emit-unhandled-generic 1989s emit-unhandled-generic: Emissions per second: 3685582 1989s Running test emit-unhandled-generic-empty 1990s emit-unhandled-generic-empty: Emissions per second: 24050400 1990s Running test emit-unhandled-args 1991s # Executing: glib/performance.test 1992s emit-unhandled-args: Emissions per second: 2410542 1992s Running test emit-handled 1993s emit-handled: Emissions per second: 1817169 1993s Running test emit-handled-empty 1994s emit-handled-empty: Emissions per second: 1867518 1994s Running test emit-handled-generic 1995s emit-handled-generic: Emissions per second: 1884524 1995s Running test emit-handled-generic-empty 1996s emit-handled-generic-empty: Emissions per second: 3033471 1996s Running test emit-handled-args 1996s # Executing: glib/performance.test 1997s emit-handled-args: Emissions per second: 1666002 1997s Running test notify-unhandled 1998s notify-unhandled: Notify (unhandled) per second: 10904092 1998s Running test notify-by-pspec-unhandled 1999s notify-by-pspec-unhandled: Notify (unhandled) per second: 75598787 1999s Running test notify-handled 2000s notify-handled: Notify per second: 1087120 2000s Running test notify-by-pspec-handled 2001s notify-by-pspec-handled: Notify per second: 1186560 2001s Running test property-set 2001s # Executing: glib/performance.test 2002s property-set: Property set per second: 9952630 2002s Running test property-get 2003s property-get: Property get per second: 10857197 2003s Running test refcount 2004s refcount: Million refs+unref per second: 16.84 2004s Running test refcount-1 2005s refcount-1: Million refs+unref per second: 40.91 2005s Running test refcount-toggle 2006s # Executing: glib/performance.test 2006s refcount-toggle: Million refs+unref per second: 24.74 2006s ok - glib/performance.test 2006s # Running test: glib/threadtests.test 2006s TAP version 14 2006s # random seed: R02S884fbe3067a177484b216a9bab41725b 2006s 1..5 2006s # Start of GObject tests 2006s ok 1 /GObject/threaded-object-init 2007s ok 2 /GObject/threaded-weak-ref 2007s # slow test /GObject/threaded-weak-ref executed in 0.88 secs 2007s ok 3 /GObject/threaded-toggle-notify # SKIP Not reliable on 32-bit ARM 2007s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2007s # Start of threaded-weak-ref tests 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2007s # /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. 2007s ok 5 /GObject/threaded-weak-ref/on-finalization 2007s # End of threaded-weak-ref tests 2007s # End of GObject tests 2007s ok - glib/threadtests.test 2007s # Running test: glib/permission.test 2007s TAP version 14 2007s # random seed: R02S6dcc2aa65a4ae047b795b4f8b8ee1e07 2007s 1..1 2007s # Start of permission tests 2007s ok 1 /permission/simple 2007s # End of permission tests 2007s ok - glib/permission.test 2007s # Running test: glib/notify-init2.test 2007s TAP version 14 2007s # random seed: R02S666626baa1f15fb24213c9f7149711bd 2007s 1..1 2007s # Start of properties tests 2007s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works 2007s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 2007s ok 1 /properties/notify-in-init2 2007s # End of properties tests 2007s ok - glib/notify-init2.test 2007s # Running test: glib/data-input-stream.test 2007s TAP version 14 2007s # random seed: R02S9e7f63c10c2391d624ca3fb9d7d13a1f 2007s 1..10 2007s # Start of data-input-stream tests 2007s ok 1 /data-input-stream/basic 2007s ok 2 /data-input-stream/read-lines-LF 2007s ok 3 /data-input-stream/read-lines-LF-valid-utf8 2007s ok 4 /data-input-stream/read-lines-LF-invalid-utf8 2007s ok 5 /data-input-stream/read-lines-CR 2007s ok 6 /data-input-stream/read-lines-CR-LF 2007s ok 7 /data-input-stream/read-lines-any 2007s ok 8 /data-input-stream/read-until 2007s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^ 2007s # Test vector 1: {"key": "value"}? and ? 2007s ok 9 /data-input-stream/read-upto 2008s ok 10 /data-input-stream/read-int 2008s # End of data-input-stream tests 2008s ok - glib/data-input-stream.test 2008s # Running test: glib/gdbus-proxy-threads.test 2008s TAP version 14 2008s # random seed: R02Sa0fc25b0f5f7560c6f8e1df890d62f59 2008s 1..1 2008s # Start of gdbus tests 2008s # Start of proxy tests 2008s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/home 2008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/cache 2008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/system-config2 2008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/config 2008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/system-data2 2008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/data 2008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/state 2008s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_6GDC22/gdbus/proxy/vs-threads/.dirs/runtime 2009s ok 1 /gdbus/proxy/vs-threads 2009s # slow test /gdbus/proxy/vs-threads executed in 1.29 secs 2009s # End of proxy tests 2009s # End of gdbus tests 2009s cleaning up pid 6872 2009s ok - glib/gdbus-proxy-threads.test 2009s # Running test: glib/type-flags.test 2009s TAP version 14 2009s # random seed: R02Sde624e9df8af35561647a6bc6bbac12f 2009s 1..4 2009s # Start of type tests 2009s # Start of flags tests 2009s ok 1 /type/flags/interface 2009s ok 2 /type/flags/final 2009s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning. 2009s ok 3 /type/flags/deprecated 2009s # Start of final tests 2009s ok 4 /type/flags/final/instance-check 2009s # End of final tests 2009s # End of flags tests 2009s # End of type tests 2009s ok - glib/type-flags.test 2009s # Running test: glib/tls-bindings.test 2009s TAP version 14 2009s # random seed: R02S0b80af9be8539e764a44d107a2374118 2009s 1..2 2009s # Start of tls-connection tests 2009s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 2009s ok 1 /tls-connection/get-tls-channel-binding 2009s ok 2 /tls-connection/get-dtls-channel-binding 2009s # End of tls-connection tests 2009s ok - glib/tls-bindings.test 2009s # Running test: glib/sandbox.test 2009s TAP version 14 2009s # random seed: R02S51e00d759fb6f787126763a47b9dd7e6 2009s 1..4 2009s # Start of sandbox tests 2009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_TV3G22/sandbox/none/.dirs/home 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_TV3G22/sandbox/none/.dirs/cache 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_TV3G22/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_TV3G22/sandbox/none/.dirs/system-config2 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_TV3G22/sandbox/none/.dirs/config 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_TV3G22/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_TV3G22/sandbox/none/.dirs/system-data2 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_TV3G22/sandbox/none/.dirs/data 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_TV3G22/sandbox/none/.dirs/state 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_TV3G22/sandbox/none/.dirs/runtime 2009s ok 1 /sandbox/none 2009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/home 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/cache 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/system-config2 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/config 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/system-data2 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/data 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/state 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_TV3G22/sandbox/snap/.dirs/runtime 2009s # Created snap.yaml in /tmp/test_sandbox_TV3G22/snap/current/meta/snap.yaml 2009s ok 2 /sandbox/snap 2009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/home 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/cache 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/system-config2 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/config 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/system-data2 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/data 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/state 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_TV3G22/sandbox/classic-snap/.dirs/runtime 2009s # Created snap.yaml in /tmp/test_sandbox_TV3G22/snap/current/meta/snap.yaml 2009s ok 3 /sandbox/classic-snap 2009s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/home 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/cache 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/system-config2 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/config 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/system-data2 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/data 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/state 2009s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/runtime 2009s # Creating .flatpak-info in /tmp/test_sandbox_TV3G22/sandbox/flatpak/.dirs/runtime/.flatpak-info 2009s ok 4 /sandbox/flatpak 2009s # End of sandbox tests 2009s ok - glib/sandbox.test 2009s # Running test: glib/unicode-encoding.test 2009s TAP version 14 2009s # random seed: R02Sa7fd1773c3abd1c614a62b51a358ca06 2009s 1..1 2009s # Start of unicode tests 2009s ok 1 /unicode/encoding 2009s # End of unicode tests 2009s ok - glib/unicode-encoding.test 2009s # Running test: glib/performance-threaded.test 2009s Running test "liststore-is-a" 2010s 6912 runs, min/avg/max = 0.139/0.144/7.785 ms 2010s Running test "liststore-interface-peek" 2011s 8678 runs, min/avg/max = 0.110/0.114/7.953 ms 2011s Running test "liststore-interface-peek-same" 2011s # Executing: glib/performance-threaded.test 2012s 8641 runs, min/avg/max = 0.110/0.115/9.801 ms 2012s ok - glib/performance-threaded.test 2012s # Running test: glib/thread-deprecated.test 2012s TAP version 14 2012s # random seed: R02S091cb467fef53ea3964ca3e07bd442f1 2012s 1..6 2012s # Start of thread tests 2012s ok 1 /thread/mutex 2013s ok 2 /thread/static-rec-mutex 2016s # Executing: glib/thread-deprecated.test 2017s ok 3 /thread/static-private 2017s # slow test /thread/static-private executed in 4.40 secs 2021s # Executing: glib/thread-deprecated.test 2022s ok 4 /thread/static-rw-lock 2022s # slow test /thread/static-rw-lock executed in 5.00 secs 2022s ok 5 /thread/once 2026s # Executing: glib/thread-deprecated.test 2031s # Executing: glib/thread-deprecated.test 2032s ok 6 /thread/rerun-all 2032s # slow test /thread/rerun-all executed in 10.03 secs 2032s # End of thread tests 2032s ok - glib/thread-deprecated.test 2032s # Running test: glib/thumbnail-verification.test 2032s TAP version 14 2032s # random seed: R02Sa6bff435e045dedca4db56ceb4fd61dc 2032s 1..1 2032s # Start of png-thumbs tests 2032s ok 1 /png-thumbs/validity 2032s # End of png-thumbs tests 2032s ok - glib/thumbnail-verification.test 2032s # Running test: glib/mkenums.py.test 2032s TAP version 13 2032s ok 1 __main__.TestMkenums.test_available_in 2032s # glib-mkenums: /usr/bin/glib-mkenums 2032s # tmpdir: /tmp/tmp5xx5wz2f 2032s # rspfile: False 2032s # /tmp/tmp5xx5wz2f/tmpu75u1g6i.h: 2032s # typedef enum { 2032s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 2032s # } GDBusServerFlags; 2032s # 2032s # /tmp/tmp5xx5wz2f/tmp0se6v349.template: 2032s # /*** BEGIN file-header ***/ 2032s # file-header 2032s # /*** END file-header ***/ 2032s # 2032s # /*** BEGIN file-production ***/ 2032s # file-production 2032s # filename: @filename@ 2032s # basename: @basename@ 2032s # /*** END file-production ***/ 2032s # 2032s # /*** BEGIN enumeration-production ***/ 2032s # enumeration-production 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END enumeration-production ***/ 2032s # 2032s # /*** BEGIN value-header ***/ 2032s # value-header 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-header ***/ 2032s # 2032s # /*** BEGIN value-production ***/ 2032s # value-production 2032s # VALUENAME: @VALUENAME@ 2032s # valuenick: @valuenick@ 2032s # valuenum: @valuenum@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-production ***/ 2032s # 2032s # /*** BEGIN value-tail ***/ 2032s # value-tail 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-tail ***/ 2032s # 2032s # /*** BEGIN comment ***/ 2032s # comment 2032s # comment: @comment@ 2032s # /*** END comment ***/ 2032s # 2032s # /*** BEGIN file-tail ***/ 2032s # file-tail 2032s # /*** END file-tail ***/ 2032s # 2032s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5xx5wz2f/tmp0se6v349.template', '/tmp/tmp5xx5wz2f/tmpu75u1g6i.h'] 2032s # Return code: 0 2032s # Output: 2032s # comment 2032s # 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. 2032s # 2032s # 2032s # file-header 2032s # file-production 2032s # filename: /tmp/tmp5xx5wz2f/tmpu75u1g6i.h 2032s # basename: tmpu75u1g6i.h 2032s # enumeration-production 2032s # EnumName: GDBusServerFlags 2032s # enum_name: g_dbus_server_flags 2032s # ENUMNAME: G_DBUS_SERVER_FLAGS 2032s # ENUMSHORT: DBUS_SERVER_FLAGS 2032s # ENUMPREFIX: G 2032s # enumsince: 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # value-header 2032s # EnumName: GDBusServerFlags 2032s # enum_name: g_dbus_server_flags 2032s # ENUMNAME: G_DBUS_SERVER_FLAGS 2032s # ENUMSHORT: DBUS_SERVER_FLAGS 2032s # ENUMPREFIX: G 2032s # enumsince: 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # value-production 2032s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2032s # valuenick: user 2032s # valuenum: 4 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # value-tail 2032s # EnumName: GDBusServerFlags 2032s # enum_name: g_dbus_server_flags 2032s # ENUMNAME: G_DBUS_SERVER_FLAGS 2032s # ENUMSHORT: DBUS_SERVER_FLAGS 2032s # ENUMPREFIX: G 2032s # enumsince: 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # file-tail 2032s # 2032s # comment 2032s # comment: Generated data ends here 2032s # Error: 2032s ok 2 __main__.TestMkenums.test_comma_in_enum_value 2032s # glib-mkenums: /usr/bin/glib-mkenums 2032s # tmpdir: /tmp/tmp8wc3t5dx 2032s # rspfile: False 2032s # /tmp/tmp8wc3t5dx/tmpe8c8r9hl.h: 2032s # typedef enum { 2032s # ENUM_VALUE_WITH_COMMA = ',', 2032s # } TestCommaEnum; 2032s # 2032s # /tmp/tmp8wc3t5dx/tmpwrbmmve_.template: 2032s # /*** BEGIN file-header ***/ 2032s # file-header 2032s # /*** END file-header ***/ 2032s # 2032s # /*** BEGIN file-production ***/ 2032s # file-production 2032s # filename: @filename@ 2032s # basename: @basename@ 2032s # /*** END file-production ***/ 2032s # 2032s # /*** BEGIN enumeration-production ***/ 2032s # enumeration-production 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END enumeration-production ***/ 2032s # 2032s # /*** BEGIN value-header ***/ 2032s # value-header 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-header ***/ 2032s # 2032s # /*** BEGIN value-production ***/ 2032s # value-production 2032s # VALUENAME: @VALUENAME@ 2032s # valuenick: @valuenick@ 2032s # valuenum: @valuenum@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-production ***/ 2032s # 2032s # /*** BEGIN value-tail ***/ 2032s # value-tail 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-tail ***/ 2032s # 2032s # /*** BEGIN comment ***/ 2032s # comment 2032s # comment: @comment@ 2032s # /*** END comment ***/ 2032s # 2032s # /*** BEGIN file-tail ***/ 2032s # file-tail 2032s # /*** END file-tail ***/ 2032s # 2032s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8wc3t5dx/tmpwrbmmve_.template', '/tmp/tmp8wc3t5dx/tmpe8c8r9hl.h'] 2032s # Return code: 0 2032s # Output: 2032s # comment 2032s # 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. 2032s # 2032s # 2032s # file-header 2032s # file-production 2032s # filename: /tmp/tmp8wc3t5dx/tmpe8c8r9hl.h 2032s # basename: tmpe8c8r9hl.h 2032s # enumeration-production 2032s # EnumName: TestCommaEnum 2032s # enum_name: test_comma_enum 2032s # ENUMNAME: TEST_COMMA_ENUM 2032s # ENUMSHORT: COMMA_ENUM 2032s # ENUMPREFIX: TEST 2032s # enumsince: 2032s # type: enum 2032s # Type: Enum 2032s # TYPE: ENUM 2032s # value-header 2032s # EnumName: TestCommaEnum 2032s # enum_name: test_comma_enum 2032s # ENUMNAME: TEST_COMMA_ENUM 2032s # ENUMSHORT: COMMA_ENUM 2032s # ENUMPREFIX: TEST 2032s # enumsince: 2032s # type: enum 2032s # Type: Enum 2032s # TYPE: ENUM 2032s # value-production 2032s # VALUENAME: ENUM_VALUE_WITH_COMMA 2032s # valuenick: comma 2032s # valuenum: 44 2032s # type: enum 2032s # Type: Enum 2032s # TYPE: ENUM 2032s # value-tail 2032s # EnumName: TestCommaEnum 2032s # enum_name: test_comma_enum 2032s # ENUMNAME: TEST_COMMA_ENUM 2032s # ENUMSHORT: COMMA_ENUM 2032s # ENUMPREFIX: TEST 2032s # enumsince: 2032s # type: enum 2032s # Type: Enum 2032s # TYPE: ENUM 2032s # file-tail 2032s # 2032s # comment 2032s # comment: Generated data ends here 2032s # Error: 2032s ok 3 __main__.TestMkenums.test_deprecated_in 2032s # glib-mkenums: /usr/bin/glib-mkenums 2032s # tmpdir: /tmp/tmpulp5d3zg 2032s # rspfile: False 2032s # /tmp/tmpulp5d3zg/tmpl23l3m__.h: 2032s # typedef enum { 2032s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 2032s # } GDBusServerFlags; 2032s # 2032s # /tmp/tmpulp5d3zg/tmpw4n_ykp3.template: 2032s # /*** BEGIN file-header ***/ 2032s # file-header 2032s # /*** END file-header ***/ 2032s # 2032s # /*** BEGIN file-production ***/ 2032s # file-production 2032s # filename: @filename@ 2032s # basename: @basename@ 2032s # /*** END file-production ***/ 2032s # 2032s # /*** BEGIN enumeration-production ***/ 2032s # enumeration-production 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END enumeration-production ***/ 2032s # 2032s # /*** BEGIN value-header ***/ 2032s # value-header 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-header ***/ 2032s # 2032s # /*** BEGIN value-production ***/ 2032s # value-production 2032s # VALUENAME: @VALUENAME@ 2032s # valuenick: @valuenick@ 2032s # valuenum: @valuenum@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-production ***/ 2032s # 2032s # /*** BEGIN value-tail ***/ 2032s # value-tail 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-tail ***/ 2032s # 2032s # /*** BEGIN comment ***/ 2032s # comment 2032s # comment: @comment@ 2032s # /*** END comment ***/ 2032s # 2032s # /*** BEGIN file-tail ***/ 2032s # file-tail 2032s # /*** END file-tail ***/ 2032s # 2032s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpulp5d3zg/tmpw4n_ykp3.template', '/tmp/tmpulp5d3zg/tmpl23l3m__.h'] 2032s # Return code: 0 2032s # Output: 2032s # comment 2032s # 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. 2032s # 2032s # 2032s # file-header 2032s # file-production 2032s # filename: /tmp/tmpulp5d3zg/tmpl23l3m__.h 2032s # basename: tmpl23l3m__.h 2032s # enumeration-production 2032s # EnumName: GDBusServerFlags 2032s # enum_name: g_dbus_server_flags 2032s # ENUMNAME: G_DBUS_SERVER_FLAGS 2032s # ENUMSHORT: DBUS_SERVER_FLAGS 2032s # ENUMPREFIX: G 2032s # enumsince: 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # value-header 2032s # EnumName: GDBusServerFlags 2032s # enum_name: g_dbus_server_flags 2032s # ENUMNAME: G_DBUS_SERVER_FLAGS 2032s # ENUMSHORT: DBUS_SERVER_FLAGS 2032s # ENUMPREFIX: G 2032s # enumsince: 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # value-production 2032s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2032s # valuenick: user 2032s # valuenum: 4 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # value-tail 2032s # EnumName: GDBusServerFlags 2032s # enum_name: g_dbus_server_flags 2032s # ENUMNAME: G_DBUS_SERVER_FLAGS 2032s # ENUMSHORT: DBUS_SERVER_FLAGS 2032s # ENUMPREFIX: G 2032s # enumsince: 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # file-tail 2032s # 2032s # comment 2032s # comment: Generated data ends here 2032s # Error: 2032s ok 4 __main__.TestMkenums.test_deprecated_in_for 2032s # glib-mkenums: /usr/bin/glib-mkenums 2032s # tmpdir: /tmp/tmpdy7vymgf 2032s # rspfile: False 2032s # /tmp/tmpdy7vymgf/tmpt2hdmgmk.h: 2032s # typedef enum { 2032s # 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) 2032s # } GDBusServerFlags; 2032s # 2032s # /tmp/tmpdy7vymgf/tmp33vt5fiq.template: 2032s # /*** BEGIN file-header ***/ 2032s # file-header 2032s # /*** END file-header ***/ 2032s # 2032s # /*** BEGIN file-production ***/ 2032s # file-production 2032s # filename: @filename@ 2032s # basename: @basename@ 2032s # /*** END file-production ***/ 2032s # 2032s # /*** BEGIN enumeration-production ***/ 2032s # enumeration-production 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END enumeration-production ***/ 2032s # 2032s # /*** BEGIN value-header ***/ 2032s # value-header 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-header ***/ 2032s # 2032s # /*** BEGIN value-production ***/ 2032s # value-production 2032s # VALUENAME: @VALUENAME@ 2032s # valuenick: @valuenick@ 2032s # valuenum: @valuenum@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-production ***/ 2032s # 2032s # /*** BEGIN value-tail ***/ 2032s # value-tail 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-tail ***/ 2032s # 2032s # /*** BEGIN comment ***/ 2032s # comment 2032s # comment: @comment@ 2032s # /*** END comment ***/ 2032s # 2032s # /*** BEGIN file-tail ***/ 2032s # file-tail 2032s # /*** END file-tail ***/ 2032s # 2032s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdy7vymgf/tmp33vt5fiq.template', '/tmp/tmpdy7vymgf/tmpt2hdmgmk.h'] 2032s # Return code: 0 2032s # Output: 2032s # comment 2032s # 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. 2032s # 2032s # 2032s # file-header 2032s # file-production 2032s # filename: /tmp/tmpdy7vymgf/tmpt2hdmgmk.h 2032s # basename: tmpt2hdmgmk.h 2032s # enumeration-production 2032s # EnumName: GDBusServerFlags 2032s # enum_name: g_dbus_server_flags 2032s # ENUMNAME: G_DBUS_SERVER_FLAGS 2032s # ENUMSHORT: DBUS_SERVER_FLAGS 2032s # ENUMPREFIX: G 2032s # enumsince: 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # value-header 2032s # EnumName: GDBusServerFlags 2032s # enum_name: g_dbus_server_flags 2032s # ENUMNAME: G_DBUS_SERVER_FLAGS 2032s # ENUMSHORT: DBUS_SERVER_FLAGS 2032s # ENUMPREFIX: G 2032s # enumsince: 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # value-production 2032s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2032s # valuenick: user 2032s # valuenum: 4 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # value-tail 2032s # EnumName: GDBusServerFlags 2032s # enum_name: g_dbus_server_flags 2032s # ENUMNAME: G_DBUS_SERVER_FLAGS 2032s # ENUMSHORT: DBUS_SERVER_FLAGS 2032s # ENUMPREFIX: G 2032s # enumsince: 2032s # type: flags 2032s # Type: Flags 2032s # TYPE: FLAGS 2032s # file-tail 2032s # 2032s # comment 2032s # comment: Generated data ends here 2032s # Error: 2032s ok 5 __main__.TestMkenums.test_empty_header 2032s # glib-mkenums: /usr/bin/glib-mkenums 2032s # tmpdir: /tmp/tmp5ot7rqas 2032s # rspfile: False 2032s # /tmp/tmp5ot7rqas/tmpopup0ku1.h: 2032s # /tmp/tmp5ot7rqas/tmp_7ct5ck1.template: 2032s # /*** BEGIN file-header ***/ 2032s # file-header 2032s # /*** END file-header ***/ 2032s # 2032s # /*** BEGIN file-production ***/ 2032s # file-production 2032s # filename: @filename@ 2032s # basename: @basename@ 2032s # /*** END file-production ***/ 2032s # 2032s # /*** BEGIN enumeration-production ***/ 2032s # enumeration-production 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END enumeration-production ***/ 2032s # 2032s # /*** BEGIN value-header ***/ 2032s # value-header 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-header ***/ 2032s # 2032s # /*** BEGIN value-production ***/ 2032s # value-production 2032s # VALUENAME: @VALUENAME@ 2032s # valuenick: @valuenick@ 2032s # valuenum: @valuenum@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-production ***/ 2032s # 2032s # /*** BEGIN value-tail ***/ 2032s # value-tail 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-tail ***/ 2032s # 2032s # /*** BEGIN comment ***/ 2032s # comment 2032s # comment: @comment@ 2032s # /*** END comment ***/ 2032s # 2032s # /*** BEGIN file-tail ***/ 2032s # file-tail 2032s # /*** END file-tail ***/ 2032s # 2032s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5ot7rqas/tmp_7ct5ck1.template', '/tmp/tmp5ot7rqas/tmpopup0ku1.h'] 2032s # Return code: 0 2032s # Output: 2032s # comment 2032s # 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. 2032s # 2032s # 2032s # file-header 2032s # file-tail 2032s # 2032s # comment 2032s # comment: Generated data ends here 2032s # Error: 2032s ok 6 __main__.TestMkenums.test_empty_template 2032s # glib-mkenums: /usr/bin/glib-mkenums 2032s # tmpdir: /tmp/tmp3hwd6oo4 2032s # rspfile: False 2032s # /tmp/tmp3hwd6oo4/tmp9gjuona1.template: 2032s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp3hwd6oo4/tmp9gjuona1.template'] 2032s # Return code: 0 2032s # Output: 2032s # /* 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. */ 2032s # 2032s # 2032s # /* Generated data ends here */ 2032s # Error: 2032s ok 7 __main__.TestMkenums.test_enum_name 2032s # glib-mkenums: /usr/bin/glib-mkenums 2032s # tmpdir: /tmp/tmpdxjmiyvq 2032s # rspfile: False 2032s # /tmp/tmpdxjmiyvq/tmp53h29165.h: 2032s # typedef enum _SomeEnumIdentifier { 2032s # ENUM_VALUE 2032s # } SomeEnumIdentifier; 2032s # 2032s # /tmp/tmpdxjmiyvq/tmpzu2fhnrt.template: 2032s # /*** BEGIN file-header ***/ 2032s # file-header 2032s # /*** END file-header ***/ 2032s # 2032s # /*** BEGIN file-production ***/ 2032s # file-production 2032s # filename: @filename@ 2032s # basename: @basename@ 2032s # /*** END file-production ***/ 2032s # 2032s # /*** BEGIN enumeration-production ***/ 2032s # enumeration-production 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END enumeration-production ***/ 2032s # 2032s # /*** BEGIN value-header ***/ 2032s # value-header 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-header ***/ 2032s # 2032s # /*** BEGIN value-production ***/ 2032s # value-production 2032s # VALUENAME: @VALUENAME@ 2032s # valuenick: @valuenick@ 2032s # valuenum: @valuenum@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-production ***/ 2032s # 2032s # /*** BEGIN value-tail ***/ 2032s # value-tail 2032s # EnumName: @EnumName@ 2032s # enum_name: @enum_name@ 2032s # ENUMNAME: @ENUMNAME@ 2032s # ENUMSHORT: @ENUMSHORT@ 2032s # ENUMPREFIX: @ENUMPREFIX@ 2032s # enumsince: @enumsince@ 2032s # type: @type@ 2032s # Type: @Type@ 2032s # TYPE: @TYPE@ 2032s # /*** END value-tail ***/ 2032s # 2032s # /*** BEGIN comment ***/ 2032s # comment 2032s # comment: @comment@ 2032s # /*** END comment ***/ 2032s # 2032s # /*** BEGIN file-tail ***/ 2032s # file-tail 2032s # /*** END file-tail ***/ 2032s # 2032s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpdxjmiyvq/tmpzu2fhnrt.template', '/tmp/tmpdxjmiyvq/tmp53h29165.h'] 2032s # Return code: 0 2032s # Output: 2032s # comment 2032s # 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. 2032s # 2032s # 2032s # file-header 2032s # file-production 2032s # filename: /tmp/tmpdxjmiyvq/tmp53h29165.h 2032s # basename: tmp53h29165.h 2032s # enumeration-production 2032s # EnumName: SomeEnumIdentifier 2032s # enum_name: some_enum_identifier 2032s # ENUMNAME: SOME_ENUM_IDENTIFIER 2032s # ENUMSHORT: ENUM_IDENTIFIER 2032s # ENUMPREFIX: SOME 2032s # enumsince: 2032s # type: enum 2032s # Type: Enum 2032s # TYPE: ENUM 2032s # value-header 2032s # EnumName: SomeEnumIdentifier 2032s # enum_name: some_enum_identifier 2032s # ENUMNAME: SOME_ENUM_IDENTIFIER 2032s # ENUMSHORT: ENUM_IDENTIFIER 2032s # ENUMPREFIX: SOME 2032s # enumsince: 2032s # type: enum 2032s # Type: Enum 2032s # TYPE: ENUM 2032s # value-production 2032s # VALUENAME: ENUM_VALUE 2032s # valuenick: value 2032s # valuenum: 0 2032s # type: enum 2032s # Type: Enum 2032s # TYPE: ENUM 2032s # value-tail 2032s # EnumName: SomeEnumIdentifier 2032s # enum_name: some_enum_identifier 2032s # ENUMNAME: SOME_ENUM_IDENTIFIER 2032s # ENUMSHORT: ENUM_IDENTIFIER 2032s # ENUMPREFIX: SOME 2032s # enumsince: 2032s # type: enum 2032s # Type: Enum 2032s # TYPE: ENUM 2032s # file-tail 2032s # 2032s # comment 2032s # comment: Generated data ends here 2032s # Error: 2033s ok 8 __main__.TestMkenums.test_enum_private_public 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmph57x5a93 2033s # rspfile: False 2033s # /tmp/tmph57x5a93/tmpb4iez_1u.h: 2033s # typedef enum { 2033s # ENUM_VALUE_PUBLIC1, 2033s # /*< private >*/ 2033s # ENUM_VALUE_PRIVATE, 2033s # } SomeEnumA 2033s # 2033s # /tmp/tmph57x5a93/tmpjel2agky.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmph57x5a93/tmpjel2agky.template', '/tmp/tmph57x5a93/tmpb4iez_1u.h'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmph57x5a93/tmpb4iez_1u.h 2033s # basename: tmpb4iez_1u.h 2033s # enumeration-production 2033s # EnumName: SomeEnumA 2033s # enum_name: some_enum_a 2033s # ENUMNAME: SOME_ENUM_A 2033s # ENUMSHORT: ENUM_A 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-header 2033s # EnumName: SomeEnumA 2033s # enum_name: some_enum_a 2033s # ENUMNAME: SOME_ENUM_A 2033s # ENUMSHORT: ENUM_A 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-production 2033s # VALUENAME: ENUM_VALUE_PUBLIC1 2033s # valuenick: public1 2033s # valuenum: 0 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-tail 2033s # EnumName: SomeEnumA 2033s # enum_name: some_enum_a 2033s # ENUMNAME: SOME_ENUM_A 2033s # ENUMSHORT: ENUM_A 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s # 2033s # /tmp/tmph57x5a93/tmpe7dxna4b.h: 2033s # typedef enum { 2033s # /*< private >*/ 2033s # ENUM_VALUE_PRIVATE, 2033s # /*< public >*/ 2033s # ENUM_VALUE_PUBLIC2, 2033s # } SomeEnumB; 2033s # 2033s # /tmp/tmph57x5a93/tmpxwje65lb.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmph57x5a93/tmpxwje65lb.template', '/tmp/tmph57x5a93/tmpe7dxna4b.h'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmph57x5a93/tmpe7dxna4b.h 2033s # basename: tmpe7dxna4b.h 2033s # enumeration-production 2033s # EnumName: SomeEnumB 2033s # enum_name: some_enum_b 2033s # ENUMNAME: SOME_ENUM_B 2033s # ENUMSHORT: ENUM_B 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-header 2033s # EnumName: SomeEnumB 2033s # enum_name: some_enum_b 2033s # ENUMNAME: SOME_ENUM_B 2033s # ENUMSHORT: ENUM_B 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-production 2033s # VALUENAME: ENUM_VALUE_PUBLIC2 2033s # valuenick: public2 2033s # valuenum: 1 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-tail 2033s # EnumName: SomeEnumB 2033s # enum_name: some_enum_b 2033s # ENUMNAME: SOME_ENUM_B 2033s # ENUMSHORT: ENUM_B 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 9 __main__.TestMkenums.test_enum_symbolic_expression 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmpkmcawi2a 2033s # rspfile: False 2033s # /tmp/tmpkmcawi2a/tmp5_j4tm_g.h: 2033s # typedef enum { 2033s # /*< private >*/ 2033s # ENUM_VALUE_PRIVATE = 5, 2033s # /*< public >*/ 2033s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 2033s # } TestSymbolicEnum; 2033s # 2033s # /tmp/tmpkmcawi2a/tmpns89rpk8.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpkmcawi2a/tmpns89rpk8.template', '/tmp/tmpkmcawi2a/tmp5_j4tm_g.h'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmpkmcawi2a/tmp5_j4tm_g.h 2033s # basename: tmp5_j4tm_g.h 2033s # enumeration-production 2033s # EnumName: TestSymbolicEnum 2033s # enum_name: test_symbolic_enum 2033s # ENUMNAME: TEST_SYMBOLIC_ENUM 2033s # ENUMSHORT: SYMBOLIC_ENUM 2033s # ENUMPREFIX: TEST 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-header 2033s # EnumName: TestSymbolicEnum 2033s # enum_name: test_symbolic_enum 2033s # ENUMNAME: TEST_SYMBOLIC_ENUM 2033s # ENUMSHORT: SYMBOLIC_ENUM 2033s # ENUMPREFIX: TEST 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-production 2033s # VALUENAME: ENUM_VALUE_PUBLIC 2033s # valuenick: public 2033s # valuenum: 7 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-tail 2033s # EnumName: TestSymbolicEnum 2033s # enum_name: test_symbolic_enum 2033s # ENUMNAME: TEST_SYMBOLIC_ENUM 2033s # ENUMSHORT: SYMBOLIC_ENUM 2033s # ENUMPREFIX: TEST 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmpgfnmww49 2033s # rspfile: False 2033s # /tmp/tmpgfnmww49/tmpxadwnb4h.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-tail ***/ 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgfnmww49/tmpxadwnb4h.template'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # file-tail 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s # WARNING: @filename@ used in file-header section. 2033s # WARNING: @basename@ used in file-header section. 2033s # WARNING: @filename@ used in file-tail section. 2033s # WARNING: @basename@ used in file-tail section. 2033s ok 11 __main__.TestMkenums.test_help 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmplf91obui 2033s # rspfile: False 2033s # Running: ['/usr/bin/glib-mkenums', '--help'] 2033s # Return code: 0 2033s # Output: 2033s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 2033s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 2033s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 2033s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 2033s # [--comments COMMENT_TMPL] [--template TEMPLATE] 2033s # [--output OUTPUT] [--version] 2033s # [args ...] 2033s # 2033s # positional arguments: 2033s # args One or more input files, or a single argument 2033s # @rspfile_path pointing to a file that contains the 2033s # actual arguments 2033s # 2033s # options: 2033s # -h, --help show this help message and exit 2033s # --identifier-prefix IDPREFIX 2033s # Identifier prefix 2033s # --symbol-prefix SYMPREFIX 2033s # Symbol prefix 2033s # --fhead FHEAD Output file header 2033s # --ftail FTAIL Output file footer 2033s # --fprod FPROD Put out TEXT every time a new input file is being 2033s # processed. 2033s # --eprod EPROD Per enum text, produced prior to value iterations 2033s # --vhead VHEAD Value header, produced before iterating over enum 2033s # values 2033s # --vprod VPROD Value text, produced for each enum value. 2033s # --vtail VTAIL Value tail, produced after iterating over enum values 2033s # --comments COMMENT_TMPL 2033s # Comment structure 2033s # --template TEMPLATE Template file 2033s # --output OUTPUT 2033s # --version, -v Print version information 2033s # 2033s # Production text substitutions: 2033s # @EnumName@ PrefixTheXEnum 2033s # @enum_name@ prefix_the_xenum 2033s # @ENUMNAME@ PREFIX_THE_XENUM 2033s # @ENUMSHORT@ THE_XENUM 2033s # @ENUMPREFIX@ PREFIX 2033s # @enumsince@ the user-provided since value given 2033s # @VALUENAME@ PREFIX_THE_XVALUE 2033s # @valuenick@ the-xvalue 2033s # @valuenum@ the integer value (limited support, Since: 2.26) 2033s # @type@ either enum or flags 2033s # @Type@ either Enum or Flags 2033s # @TYPE@ either ENUM or FLAGS 2033s # @filename@ name of current input file 2033s # @basename@ base name of the current input file (Since: 2.22) 2033s # Error: 2033s ok 12 __main__.TestMkenums.test_no_args 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmpnf1ivfjj 2033s # rspfile: False 2033s # Running: ['/usr/bin/glib-mkenums'] 2033s # Return code: 0 2033s # Output: 2033s # /* 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. */ 2033s # 2033s # 2033s # /* Generated data ends here */ 2033s # Error: 2033s ok 13 __main__.TestMkenums.test_no_headers 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmpcxf6m2cf 2033s # rspfile: False 2033s # /tmp/tmpcxf6m2cf/tmpv1cgs1hr.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpcxf6m2cf/tmpv1cgs1hr.template'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 14 __main__.TestMkenums.test_no_nick 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmpeqw99f8q 2033s # rspfile: False 2033s # /tmp/tmpeqw99f8q/tmpqc6_x16p.h: 2033s # typedef enum { 2033s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 2033s # } GeglSamplerType; 2033s # 2033s # /tmp/tmpeqw99f8q/tmpredjcfms.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpeqw99f8q/tmpredjcfms.template', '/tmp/tmpeqw99f8q/tmpqc6_x16p.h'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmpeqw99f8q/tmpqc6_x16p.h 2033s # basename: tmpqc6_x16p.h 2033s # enumeration-production 2033s # EnumName: GeglSamplerType 2033s # enum_name: gegl_sampler_type 2033s # ENUMNAME: GEGL_SAMPLER_TYPE 2033s # ENUMSHORT: SAMPLER_TYPE 2033s # ENUMPREFIX: GEGL 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-header 2033s # EnumName: GeglSamplerType 2033s # enum_name: gegl_sampler_type 2033s # ENUMNAME: GEGL_SAMPLER_TYPE 2033s # ENUMSHORT: SAMPLER_TYPE 2033s # ENUMPREFIX: GEGL 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-production 2033s # VALUENAME: GEGL_SAMPLER_NEAREST 2033s # valuenick: nearest 2033s # valuenum: 0 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-tail 2033s # EnumName: GeglSamplerType 2033s # enum_name: gegl_sampler_type 2033s # ENUMNAME: GEGL_SAMPLER_TYPE 2033s # ENUMSHORT: SAMPLER_TYPE 2033s # ENUMPREFIX: GEGL 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 15 __main__.TestMkenums.test_non_utf8_encoding 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmphnxvp8h_ 2033s # rspfile: False 2033s # /tmp/tmphnxvp8h_/tmpsblgnkiv.h: 2033s # /* Copyright © La Peña */ 2033s # typedef enum { 2033s # ENUM_VALUE 2033s # } SomeEnumIdentifier; 2033s # 2033s # /tmp/tmphnxvp8h_/tmp8e9av13b.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmphnxvp8h_/tmp8e9av13b.template', '/tmp/tmphnxvp8h_/tmpsblgnkiv.h'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmphnxvp8h_/tmpsblgnkiv.h 2033s # basename: tmpsblgnkiv.h 2033s # enumeration-production 2033s # EnumName: SomeEnumIdentifier 2033s # enum_name: some_enum_identifier 2033s # ENUMNAME: SOME_ENUM_IDENTIFIER 2033s # ENUMSHORT: ENUM_IDENTIFIER 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-header 2033s # EnumName: SomeEnumIdentifier 2033s # enum_name: some_enum_identifier 2033s # ENUMNAME: SOME_ENUM_IDENTIFIER 2033s # ENUMSHORT: ENUM_IDENTIFIER 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-production 2033s # VALUENAME: ENUM_VALUE 2033s # valuenick: value 2033s # valuenum: 0 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-tail 2033s # EnumName: SomeEnumIdentifier 2033s # enum_name: some_enum_identifier 2033s # ENUMNAME: SOME_ENUM_IDENTIFIER 2033s # ENUMSHORT: ENUM_IDENTIFIER 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 2033s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 2033s ok 16 __main__.TestMkenums.test_reproducible 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmps2ye812z 2033s # rspfile: False 2033s # /tmp/tmps2ye812z/tmpbmqdbkcr.template: template 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmps2ye812z/tmpbmqdbkcr.template', '/tmp/tmps2ye812z/tmpl7sspju31.h', '/tmp/tmps2ye812z/tmpw8hr1w5b2.h'] 2033s # Return code: 0 2033s # Output: 2033s # /* 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. */ 2033s # 2033s # 2033s # /* Generated data ends here */ 2033s # Error: 2033s # 2033s # /tmp/tmps2ye812z/tmp0yyu6zyq.template: template 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmps2ye812z/tmp0yyu6zyq.template', '/tmp/tmps2ye812z/tmpw8hr1w5b2.h', '/tmp/tmps2ye812z/tmpl7sspju31.h'] 2033s # Return code: 0 2033s # Output: 2033s # /* 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. */ 2033s # 2033s # 2033s # /* Generated data ends here */ 2033s # Error: 2033s ok 17 __main__.TestMkenums.test_since 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmp8rr43e0p 2033s # rspfile: False 2033s # /tmp/tmp8rr43e0p/tmp2l3ophuw.h: 2033s # typedef enum { /*< since=1.0 >*/ 2033s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 2033s # } QmiWmsMessageProtocol; 2033s # 2033s # /tmp/tmp8rr43e0p/tmpz9h5es87.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8rr43e0p/tmpz9h5es87.template', '/tmp/tmp8rr43e0p/tmp2l3ophuw.h'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmp8rr43e0p/tmp2l3ophuw.h 2033s # basename: tmp2l3ophuw.h 2033s # enumeration-production 2033s # EnumName: QmiWmsMessageProtocol 2033s # enum_name: qmi_wms_message_protocol 2033s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2033s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2033s # ENUMPREFIX: QMI 2033s # enumsince: 1.0 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-header 2033s # EnumName: QmiWmsMessageProtocol 2033s # enum_name: qmi_wms_message_protocol 2033s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2033s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2033s # ENUMPREFIX: QMI 2033s # enumsince: 1.0 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-production 2033s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 2033s # valuenick: cdma 2033s # valuenum: 0 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-tail 2033s # EnumName: QmiWmsMessageProtocol 2033s # enum_name: qmi_wms_message_protocol 2033s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2033s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2033s # ENUMPREFIX: QMI 2033s # enumsince: 1.0 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 18 __main__.TestMkenums.test_with_double_quotes 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmpapk7920y 2033s # rspfile: False 2033s # /tmp/tmpapk7920y/tmpmwo594vo.h: 2033s # typedef enum { 2033s # FOO_VALUE /*< nick="eek, a comma" >*/ 2033s # } Foo; 2033s # 2033s # /tmp/tmpapk7920y/tmpwp2s4q8k.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpapk7920y/tmpwp2s4q8k.template', '/tmp/tmpapk7920y/tmpmwo594vo.h'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmpapk7920y/tmpmwo594vo.h 2033s # basename: tmpmwo594vo.h 2033s # enumeration-production 2033s # EnumName: Foo 2033s # enum_name: foo_ 2033s # ENUMNAME: FOO_ 2033s # ENUMSHORT: 2033s # ENUMPREFIX: FOO 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-header 2033s # EnumName: Foo 2033s # enum_name: foo_ 2033s # ENUMNAME: FOO_ 2033s # ENUMSHORT: 2033s # ENUMPREFIX: FOO 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-production 2033s # VALUENAME: FOO_VALUE 2033s # valuenick: eek, a comma 2033s # valuenum: 0 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-tail 2033s # EnumName: Foo 2033s # enum_name: foo_ 2033s # ENUMNAME: FOO_ 2033s # ENUMSHORT: 2033s # ENUMPREFIX: FOO 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 19 __main__.TestRspMkenums.test_available_in 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmps1cav0kl 2033s # rspfile: True 2033s # /tmp/tmps1cav0kl/tmpio_jqbbl.h: 2033s # typedef enum { 2033s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2) 2033s # } GDBusServerFlags; 2033s # 2033s # /tmp/tmps1cav0kl/tmptea3nor5.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Response file contains: --template /tmp/tmps1cav0kl/tmptea3nor5.template /tmp/tmps1cav0kl/tmpio_jqbbl.h 2033s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmps1cav0kl/tmpjnohitbf'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmps1cav0kl/tmpio_jqbbl.h 2033s # basename: tmpio_jqbbl.h 2033s # enumeration-production 2033s # EnumName: GDBusServerFlags 2033s # enum_name: g_dbus_server_flags 2033s # ENUMNAME: G_DBUS_SERVER_FLAGS 2033s # ENUMSHORT: DBUS_SERVER_FLAGS 2033s # ENUMPREFIX: G 2033s # enumsince: 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # value-header 2033s # EnumName: GDBusServerFlags 2033s # enum_name: g_dbus_server_flags 2033s # ENUMNAME: G_DBUS_SERVER_FLAGS 2033s # ENUMSHORT: DBUS_SERVER_FLAGS 2033s # ENUMPREFIX: G 2033s # enumsince: 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # value-production 2033s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2033s # valuenick: user 2033s # valuenum: 4 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # value-tail 2033s # EnumName: GDBusServerFlags 2033s # enum_name: g_dbus_server_flags 2033s # ENUMNAME: G_DBUS_SERVER_FLAGS 2033s # ENUMSHORT: DBUS_SERVER_FLAGS 2033s # ENUMPREFIX: G 2033s # enumsince: 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmp7i78e1n5 2033s # rspfile: True 2033s # /tmp/tmp7i78e1n5/tmpycm6k_xc.h: 2033s # typedef enum { 2033s # ENUM_VALUE_WITH_COMMA = ',', 2033s # } TestCommaEnum; 2033s # 2033s # /tmp/tmp7i78e1n5/tmpftgas0sc.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Response file contains: --template /tmp/tmp7i78e1n5/tmpftgas0sc.template /tmp/tmp7i78e1n5/tmpycm6k_xc.h 2033s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7i78e1n5/tmp_ghv25k_'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmp7i78e1n5/tmpycm6k_xc.h 2033s # basename: tmpycm6k_xc.h 2033s # enumeration-production 2033s # EnumName: TestCommaEnum 2033s # enum_name: test_comma_enum 2033s # ENUMNAME: TEST_COMMA_ENUM 2033s # ENUMSHORT: COMMA_ENUM 2033s # ENUMPREFIX: TEST 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-header 2033s # EnumName: TestCommaEnum 2033s # enum_name: test_comma_enum 2033s # ENUMNAME: TEST_COMMA_ENUM 2033s # ENUMSHORT: COMMA_ENUM 2033s # ENUMPREFIX: TEST 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-production 2033s # VALUENAME: ENUM_VALUE_WITH_COMMA 2033s # valuenick: comma 2033s # valuenum: 44 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-tail 2033s # EnumName: TestCommaEnum 2033s # enum_name: test_comma_enum 2033s # ENUMNAME: TEST_COMMA_ENUM 2033s # ENUMSHORT: COMMA_ENUM 2033s # ENUMPREFIX: TEST 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 21 __main__.TestRspMkenums.test_deprecated_in 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmprsmh9bdn 2033s # rspfile: True 2033s # /tmp/tmprsmh9bdn/tmp41aia26s.h: 2033s # typedef enum { 2033s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2) 2033s # } GDBusServerFlags; 2033s # 2033s # /tmp/tmprsmh9bdn/tmpwlve63ub.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Response file contains: --template /tmp/tmprsmh9bdn/tmpwlve63ub.template /tmp/tmprsmh9bdn/tmp41aia26s.h 2033s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmprsmh9bdn/tmp3_4g1yam'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmprsmh9bdn/tmp41aia26s.h 2033s # basename: tmp41aia26s.h 2033s # enumeration-production 2033s # EnumName: GDBusServerFlags 2033s # enum_name: g_dbus_server_flags 2033s # ENUMNAME: G_DBUS_SERVER_FLAGS 2033s # ENUMSHORT: DBUS_SERVER_FLAGS 2033s # ENUMPREFIX: G 2033s # enumsince: 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # value-header 2033s # EnumName: GDBusServerFlags 2033s # enum_name: g_dbus_server_flags 2033s # ENUMNAME: G_DBUS_SERVER_FLAGS 2033s # ENUMSHORT: DBUS_SERVER_FLAGS 2033s # ENUMPREFIX: G 2033s # enumsince: 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # value-production 2033s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2033s # valuenick: user 2033s # valuenum: 4 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # value-tail 2033s # EnumName: GDBusServerFlags 2033s # enum_name: g_dbus_server_flags 2033s # ENUMNAME: G_DBUS_SERVER_FLAGS 2033s # ENUMSHORT: DBUS_SERVER_FLAGS 2033s # ENUMPREFIX: G 2033s # enumsince: 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 22 __main__.TestRspMkenums.test_deprecated_in_for 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmpbg9dalyc 2033s # rspfile: True 2033s # /tmp/tmpbg9dalyc/tmpmqqviqar.h: 2033s # typedef enum { 2033s # 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) 2033s # } GDBusServerFlags; 2033s # 2033s # /tmp/tmpbg9dalyc/tmpk8yiyo04.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Response file contains: --template /tmp/tmpbg9dalyc/tmpk8yiyo04.template /tmp/tmpbg9dalyc/tmpmqqviqar.h 2033s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpbg9dalyc/tmp9b09oxmd'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmpbg9dalyc/tmpmqqviqar.h 2033s # basename: tmpmqqviqar.h 2033s # enumeration-production 2033s # EnumName: GDBusServerFlags 2033s # enum_name: g_dbus_server_flags 2033s # ENUMNAME: G_DBUS_SERVER_FLAGS 2033s # ENUMSHORT: DBUS_SERVER_FLAGS 2033s # ENUMPREFIX: G 2033s # enumsince: 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # value-header 2033s # EnumName: GDBusServerFlags 2033s # enum_name: g_dbus_server_flags 2033s # ENUMNAME: G_DBUS_SERVER_FLAGS 2033s # ENUMSHORT: DBUS_SERVER_FLAGS 2033s # ENUMPREFIX: G 2033s # enumsince: 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # value-production 2033s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER 2033s # valuenick: user 2033s # valuenum: 4 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # value-tail 2033s # EnumName: GDBusServerFlags 2033s # enum_name: g_dbus_server_flags 2033s # ENUMNAME: G_DBUS_SERVER_FLAGS 2033s # ENUMSHORT: DBUS_SERVER_FLAGS 2033s # ENUMPREFIX: G 2033s # enumsince: 2033s # type: flags 2033s # Type: Flags 2033s # TYPE: FLAGS 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 23 __main__.TestRspMkenums.test_empty_header 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmpp5hzegxc 2033s # rspfile: True 2033s # /tmp/tmpp5hzegxc/tmp4wicss_n.h: 2033s # /tmp/tmpp5hzegxc/tmpprd6r53o.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Response file contains: --template /tmp/tmpp5hzegxc/tmpprd6r53o.template /tmp/tmpp5hzegxc/tmp4wicss_n.h 2033s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpp5hzegxc/tmpuja29gu3'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2033s ok 24 __main__.TestRspMkenums.test_empty_template 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmphhew36c7 2033s # rspfile: True 2033s # /tmp/tmphhew36c7/tmp70uti6kp.template: 2033s # Response file contains: --template /tmp/tmphhew36c7/tmp70uti6kp.template 2033s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphhew36c7/tmp5v2xr26y'] 2033s # Return code: 0 2033s # Output: 2033s # /* 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. */ 2033s # 2033s # 2033s # /* Generated data ends here */ 2033s # Error: 2033s ok 25 __main__.TestRspMkenums.test_enum_name 2033s # glib-mkenums: /usr/bin/glib-mkenums 2033s # tmpdir: /tmp/tmpsxye5d5i 2033s # rspfile: True 2033s # /tmp/tmpsxye5d5i/tmpkn6cw5m0.h: 2033s # typedef enum _SomeEnumIdentifier { 2033s # ENUM_VALUE 2033s # } SomeEnumIdentifier; 2033s # 2033s # /tmp/tmpsxye5d5i/tmparx_7gsy.template: 2033s # /*** BEGIN file-header ***/ 2033s # file-header 2033s # /*** END file-header ***/ 2033s # 2033s # /*** BEGIN file-production ***/ 2033s # file-production 2033s # filename: @filename@ 2033s # basename: @basename@ 2033s # /*** END file-production ***/ 2033s # 2033s # /*** BEGIN enumeration-production ***/ 2033s # enumeration-production 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END enumeration-production ***/ 2033s # 2033s # /*** BEGIN value-header ***/ 2033s # value-header 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-header ***/ 2033s # 2033s # /*** BEGIN value-production ***/ 2033s # value-production 2033s # VALUENAME: @VALUENAME@ 2033s # valuenick: @valuenick@ 2033s # valuenum: @valuenum@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-production ***/ 2033s # 2033s # /*** BEGIN value-tail ***/ 2033s # value-tail 2033s # EnumName: @EnumName@ 2033s # enum_name: @enum_name@ 2033s # ENUMNAME: @ENUMNAME@ 2033s # ENUMSHORT: @ENUMSHORT@ 2033s # ENUMPREFIX: @ENUMPREFIX@ 2033s # enumsince: @enumsince@ 2033s # type: @type@ 2033s # Type: @Type@ 2033s # TYPE: @TYPE@ 2033s # /*** END value-tail ***/ 2033s # 2033s # /*** BEGIN comment ***/ 2033s # comment 2033s # comment: @comment@ 2033s # /*** END comment ***/ 2033s # 2033s # /*** BEGIN file-tail ***/ 2033s # file-tail 2033s # /*** END file-tail ***/ 2033s # 2033s # Response file contains: --template /tmp/tmpsxye5d5i/tmparx_7gsy.template /tmp/tmpsxye5d5i/tmpkn6cw5m0.h 2033s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpsxye5d5i/tmpiw09obai'] 2033s # Return code: 0 2033s # Output: 2033s # comment 2033s # 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. 2033s # 2033s # 2033s # file-header 2033s # file-production 2033s # filename: /tmp/tmpsxye5d5i/tmpkn6cw5m0.h 2033s # basename: tmpkn6cw5m0.h 2033s # enumeration-production 2033s # EnumName: SomeEnumIdentifier 2033s # enum_name: some_enum_identifier 2033s # ENUMNAME: SOME_ENUM_IDENTIFIER 2033s # ENUMSHORT: ENUM_IDENTIFIER 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-header 2033s # EnumName: SomeEnumIdentifier 2033s # enum_name: some_enum_identifier 2033s # ENUMNAME: SOME_ENUM_IDENTIFIER 2033s # ENUMSHORT: ENUM_IDENTIFIER 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-production 2033s # VALUENAME: ENUM_VALUE 2033s # valuenick: value 2033s # valuenum: 0 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # value-tail 2033s # EnumName: SomeEnumIdentifier 2033s # enum_name: some_enum_identifier 2033s # ENUMNAME: SOME_ENUM_IDENTIFIER 2033s # ENUMSHORT: ENUM_IDENTIFIER 2033s # ENUMPREFIX: SOME 2033s # enumsince: 2033s # type: enum 2033s # Type: Enum 2033s # TYPE: ENUM 2033s # file-tail 2033s # 2033s # comment 2033s # comment: Generated data ends here 2033s # Error: 2034s ok 26 __main__.TestRspMkenums.test_enum_private_public 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmp85kbg1ms 2034s # rspfile: True 2034s # /tmp/tmp85kbg1ms/tmp20ta9ipl.h: 2034s # typedef enum { 2034s # ENUM_VALUE_PUBLIC1, 2034s # /*< private >*/ 2034s # ENUM_VALUE_PRIVATE, 2034s # } SomeEnumA 2034s # 2034s # /tmp/tmp85kbg1ms/tmplzj6qvgg.template: 2034s # /*** BEGIN file-header ***/ 2034s # file-header 2034s # /*** END file-header ***/ 2034s # 2034s # /*** BEGIN file-production ***/ 2034s # file-production 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-production ***/ 2034s # 2034s # /*** BEGIN enumeration-production ***/ 2034s # enumeration-production 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END enumeration-production ***/ 2034s # 2034s # /*** BEGIN value-header ***/ 2034s # value-header 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-header ***/ 2034s # 2034s # /*** BEGIN value-production ***/ 2034s # value-production 2034s # VALUENAME: @VALUENAME@ 2034s # valuenick: @valuenick@ 2034s # valuenum: @valuenum@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-production ***/ 2034s # 2034s # /*** BEGIN value-tail ***/ 2034s # value-tail 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-tail ***/ 2034s # 2034s # /*** BEGIN comment ***/ 2034s # comment 2034s # comment: @comment@ 2034s # /*** END comment ***/ 2034s # 2034s # /*** BEGIN file-tail ***/ 2034s # file-tail 2034s # /*** END file-tail ***/ 2034s # 2034s # Response file contains: --template /tmp/tmp85kbg1ms/tmplzj6qvgg.template /tmp/tmp85kbg1ms/tmp20ta9ipl.h 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp85kbg1ms/tmpucf2vyqv'] 2034s # Return code: 0 2034s # Output: 2034s # comment 2034s # 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. 2034s # 2034s # 2034s # file-header 2034s # file-production 2034s # filename: /tmp/tmp85kbg1ms/tmp20ta9ipl.h 2034s # basename: tmp20ta9ipl.h 2034s # enumeration-production 2034s # EnumName: SomeEnumA 2034s # enum_name: some_enum_a 2034s # ENUMNAME: SOME_ENUM_A 2034s # ENUMSHORT: ENUM_A 2034s # ENUMPREFIX: SOME 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-header 2034s # EnumName: SomeEnumA 2034s # enum_name: some_enum_a 2034s # ENUMNAME: SOME_ENUM_A 2034s # ENUMSHORT: ENUM_A 2034s # ENUMPREFIX: SOME 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-production 2034s # VALUENAME: ENUM_VALUE_PUBLIC1 2034s # valuenick: public1 2034s # valuenum: 0 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-tail 2034s # EnumName: SomeEnumA 2034s # enum_name: some_enum_a 2034s # ENUMNAME: SOME_ENUM_A 2034s # ENUMSHORT: ENUM_A 2034s # ENUMPREFIX: SOME 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # file-tail 2034s # 2034s # comment 2034s # comment: Generated data ends here 2034s # Error: 2034s # 2034s # /tmp/tmp85kbg1ms/tmp9dz7vfgn.h: 2034s # typedef enum { 2034s # /*< private >*/ 2034s # ENUM_VALUE_PRIVATE, 2034s # /*< public >*/ 2034s # ENUM_VALUE_PUBLIC2, 2034s # } SomeEnumB; 2034s # 2034s # /tmp/tmp85kbg1ms/tmpeiok0tzx.template: 2034s # /*** BEGIN file-header ***/ 2034s # file-header 2034s # /*** END file-header ***/ 2034s # 2034s # /*** BEGIN file-production ***/ 2034s # file-production 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-production ***/ 2034s # 2034s # /*** BEGIN enumeration-production ***/ 2034s # enumeration-production 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END enumeration-production ***/ 2034s # 2034s # /*** BEGIN value-header ***/ 2034s # value-header 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-header ***/ 2034s # 2034s # /*** BEGIN value-production ***/ 2034s # value-production 2034s # VALUENAME: @VALUENAME@ 2034s # valuenick: @valuenick@ 2034s # valuenum: @valuenum@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-production ***/ 2034s # 2034s # /*** BEGIN value-tail ***/ 2034s # value-tail 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-tail ***/ 2034s # 2034s # /*** BEGIN comment ***/ 2034s # comment 2034s # comment: @comment@ 2034s # /*** END comment ***/ 2034s # 2034s # /*** BEGIN file-tail ***/ 2034s # file-tail 2034s # /*** END file-tail ***/ 2034s # 2034s # Response file contains: --template /tmp/tmp85kbg1ms/tmpeiok0tzx.template /tmp/tmp85kbg1ms/tmp9dz7vfgn.h 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp85kbg1ms/tmpu673ynsm'] 2034s # Return code: 0 2034s # Output: 2034s # comment 2034s # 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. 2034s # 2034s # 2034s # file-header 2034s # file-production 2034s # filename: /tmp/tmp85kbg1ms/tmp9dz7vfgn.h 2034s # basename: tmp9dz7vfgn.h 2034s # enumeration-production 2034s # EnumName: SomeEnumB 2034s # enum_name: some_enum_b 2034s # ENUMNAME: SOME_ENUM_B 2034s # ENUMSHORT: ENUM_B 2034s # ENUMPREFIX: SOME 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-header 2034s # EnumName: SomeEnumB 2034s # enum_name: some_enum_b 2034s # ENUMNAME: SOME_ENUM_B 2034s # ENUMSHORT: ENUM_B 2034s # ENUMPREFIX: SOME 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-production 2034s # VALUENAME: ENUM_VALUE_PUBLIC2 2034s # valuenick: public2 2034s # valuenum: 1 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-tail 2034s # EnumName: SomeEnumB 2034s # enum_name: some_enum_b 2034s # ENUMNAME: SOME_ENUM_B 2034s # ENUMSHORT: ENUM_B 2034s # ENUMPREFIX: SOME 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # file-tail 2034s # 2034s # comment 2034s # comment: Generated data ends here 2034s # Error: 2034s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmpcxaajz6i 2034s # rspfile: True 2034s # /tmp/tmpcxaajz6i/tmp8zszw25n.h: 2034s # typedef enum { 2034s # /*< private >*/ 2034s # ENUM_VALUE_PRIVATE = 5, 2034s # /*< public >*/ 2034s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2, 2034s # } TestSymbolicEnum; 2034s # 2034s # /tmp/tmpcxaajz6i/tmprt9flccs.template: 2034s # /*** BEGIN file-header ***/ 2034s # file-header 2034s # /*** END file-header ***/ 2034s # 2034s # /*** BEGIN file-production ***/ 2034s # file-production 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-production ***/ 2034s # 2034s # /*** BEGIN enumeration-production ***/ 2034s # enumeration-production 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END enumeration-production ***/ 2034s # 2034s # /*** BEGIN value-header ***/ 2034s # value-header 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-header ***/ 2034s # 2034s # /*** BEGIN value-production ***/ 2034s # value-production 2034s # VALUENAME: @VALUENAME@ 2034s # valuenick: @valuenick@ 2034s # valuenum: @valuenum@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-production ***/ 2034s # 2034s # /*** BEGIN value-tail ***/ 2034s # value-tail 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-tail ***/ 2034s # 2034s # /*** BEGIN comment ***/ 2034s # comment 2034s # comment: @comment@ 2034s # /*** END comment ***/ 2034s # 2034s # /*** BEGIN file-tail ***/ 2034s # file-tail 2034s # /*** END file-tail ***/ 2034s # 2034s # Response file contains: --template /tmp/tmpcxaajz6i/tmprt9flccs.template /tmp/tmpcxaajz6i/tmp8zszw25n.h 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpcxaajz6i/tmprm8tgfhq'] 2034s # Return code: 0 2034s # Output: 2034s # comment 2034s # 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. 2034s # 2034s # 2034s # file-header 2034s # file-production 2034s # filename: /tmp/tmpcxaajz6i/tmp8zszw25n.h 2034s # basename: tmp8zszw25n.h 2034s # enumeration-production 2034s # EnumName: TestSymbolicEnum 2034s # enum_name: test_symbolic_enum 2034s # ENUMNAME: TEST_SYMBOLIC_ENUM 2034s # ENUMSHORT: SYMBOLIC_ENUM 2034s # ENUMPREFIX: TEST 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-header 2034s # EnumName: TestSymbolicEnum 2034s # enum_name: test_symbolic_enum 2034s # ENUMNAME: TEST_SYMBOLIC_ENUM 2034s # ENUMSHORT: SYMBOLIC_ENUM 2034s # ENUMPREFIX: TEST 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-production 2034s # VALUENAME: ENUM_VALUE_PUBLIC 2034s # valuenick: public 2034s # valuenum: 7 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-tail 2034s # EnumName: TestSymbolicEnum 2034s # enum_name: test_symbolic_enum 2034s # ENUMNAME: TEST_SYMBOLIC_ENUM 2034s # ENUMSHORT: SYMBOLIC_ENUM 2034s # ENUMPREFIX: TEST 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # file-tail 2034s # 2034s # comment 2034s # comment: Generated data ends here 2034s # Error: 2034s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmpj601euo0 2034s # rspfile: True 2034s # /tmp/tmpj601euo0/tmp9n_cwmgb.template: 2034s # /*** BEGIN file-header ***/ 2034s # file-header 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-header ***/ 2034s # 2034s # /*** BEGIN comment ***/ 2034s # comment 2034s # comment: @comment@ 2034s # /*** END comment ***/ 2034s # 2034s # /*** BEGIN file-tail ***/ 2034s # file-tail 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-tail ***/ 2034s # Response file contains: --template /tmp/tmpj601euo0/tmp9n_cwmgb.template 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpj601euo0/tmp_zs9ba4p'] 2034s # Return code: 0 2034s # Output: 2034s # comment 2034s # 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. 2034s # 2034s # 2034s # file-header 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # file-tail 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # 2034s # comment 2034s # comment: Generated data ends here 2034s # Error: 2034s # WARNING: @filename@ used in file-header section. 2034s # WARNING: @basename@ used in file-header section. 2034s # WARNING: @filename@ used in file-tail section. 2034s # WARNING: @basename@ used in file-tail section. 2034s ok 29 __main__.TestRspMkenums.test_help 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmp60gk3qfd 2034s # rspfile: True 2034s # Response file contains: --help 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp60gk3qfd/tmpjxu3uueg'] 2034s # Return code: 0 2034s # Output: 2034s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX] 2034s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD] 2034s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD] 2034s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL] 2034s # [--comments COMMENT_TMPL] [--template TEMPLATE] 2034s # [--output OUTPUT] [--version] 2034s # [args ...] 2034s # 2034s # positional arguments: 2034s # args One or more input files, or a single argument 2034s # @rspfile_path pointing to a file that contains the 2034s # actual arguments 2034s # 2034s # options: 2034s # -h, --help show this help message and exit 2034s # --identifier-prefix IDPREFIX 2034s # Identifier prefix 2034s # --symbol-prefix SYMPREFIX 2034s # Symbol prefix 2034s # --fhead FHEAD Output file header 2034s # --ftail FTAIL Output file footer 2034s # --fprod FPROD Put out TEXT every time a new input file is being 2034s # processed. 2034s # --eprod EPROD Per enum text, produced prior to value iterations 2034s # --vhead VHEAD Value header, produced before iterating over enum 2034s # values 2034s # --vprod VPROD Value text, produced for each enum value. 2034s # --vtail VTAIL Value tail, produced after iterating over enum values 2034s # --comments COMMENT_TMPL 2034s # Comment structure 2034s # --template TEMPLATE Template file 2034s # --output OUTPUT 2034s # --version, -v Print version information 2034s # 2034s # Production text substitutions: 2034s # @EnumName@ PrefixTheXEnum 2034s # @enum_name@ prefix_the_xenum 2034s # @ENUMNAME@ PREFIX_THE_XENUM 2034s # @ENUMSHORT@ THE_XENUM 2034s # @ENUMPREFIX@ PREFIX 2034s # @enumsince@ the user-provided since value given 2034s # @VALUENAME@ PREFIX_THE_XVALUE 2034s # @valuenick@ the-xvalue 2034s # @valuenum@ the integer value (limited support, Since: 2.26) 2034s # @type@ either enum or flags 2034s # @Type@ either Enum or Flags 2034s # @TYPE@ either ENUM or FLAGS 2034s # @filename@ name of current input file 2034s # @basename@ base name of the current input file (Since: 2.22) 2034s # Error: 2034s ok 30 __main__.TestRspMkenums.test_no_args 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmped7iyq00 2034s # rspfile: True 2034s # Response file contains: 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmped7iyq00/tmppi0tp1j4'] 2034s # Return code: 0 2034s # Output: 2034s # /* 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. */ 2034s # 2034s # 2034s # /* Generated data ends here */ 2034s # Error: 2034s ok 31 __main__.TestRspMkenums.test_no_headers 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmpb3pi0j6p 2034s # rspfile: True 2034s # /tmp/tmpb3pi0j6p/tmpeqfqakog.template: 2034s # /*** BEGIN file-header ***/ 2034s # file-header 2034s # /*** END file-header ***/ 2034s # 2034s # /*** BEGIN file-production ***/ 2034s # file-production 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-production ***/ 2034s # 2034s # /*** BEGIN enumeration-production ***/ 2034s # enumeration-production 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END enumeration-production ***/ 2034s # 2034s # /*** BEGIN value-header ***/ 2034s # value-header 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-header ***/ 2034s # 2034s # /*** BEGIN value-production ***/ 2034s # value-production 2034s # VALUENAME: @VALUENAME@ 2034s # valuenick: @valuenick@ 2034s # valuenum: @valuenum@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-production ***/ 2034s # 2034s # /*** BEGIN value-tail ***/ 2034s # value-tail 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-tail ***/ 2034s # 2034s # /*** BEGIN comment ***/ 2034s # comment 2034s # comment: @comment@ 2034s # /*** END comment ***/ 2034s # 2034s # /*** BEGIN file-tail ***/ 2034s # file-tail 2034s # /*** END file-tail ***/ 2034s # 2034s # Response file contains: --template /tmp/tmpb3pi0j6p/tmpeqfqakog.template 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpb3pi0j6p/tmpnx2pdmyj'] 2034s # Return code: 0 2034s # Output: 2034s # comment 2034s # 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. 2034s # 2034s # 2034s # file-header 2034s # file-tail 2034s # 2034s # comment 2034s # comment: Generated data ends here 2034s # Error: 2034s ok 32 __main__.TestRspMkenums.test_no_nick 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmpv_1gw66c 2034s # rspfile: True 2034s # /tmp/tmpv_1gw66c/tmp3ygiz9fm.h: 2034s # typedef enum { 2034s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/ 2034s # } GeglSamplerType; 2034s # 2034s # /tmp/tmpv_1gw66c/tmpcmbfs90d.template: 2034s # /*** BEGIN file-header ***/ 2034s # file-header 2034s # /*** END file-header ***/ 2034s # 2034s # /*** BEGIN file-production ***/ 2034s # file-production 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-production ***/ 2034s # 2034s # /*** BEGIN enumeration-production ***/ 2034s # enumeration-production 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END enumeration-production ***/ 2034s # 2034s # /*** BEGIN value-header ***/ 2034s # value-header 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-header ***/ 2034s # 2034s # /*** BEGIN value-production ***/ 2034s # value-production 2034s # VALUENAME: @VALUENAME@ 2034s # valuenick: @valuenick@ 2034s # valuenum: @valuenum@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-production ***/ 2034s # 2034s # /*** BEGIN value-tail ***/ 2034s # value-tail 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-tail ***/ 2034s # 2034s # /*** BEGIN comment ***/ 2034s # comment 2034s # comment: @comment@ 2034s # /*** END comment ***/ 2034s # 2034s # /*** BEGIN file-tail ***/ 2034s # file-tail 2034s # /*** END file-tail ***/ 2034s # 2034s # Response file contains: --template /tmp/tmpv_1gw66c/tmpcmbfs90d.template /tmp/tmpv_1gw66c/tmp3ygiz9fm.h 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpv_1gw66c/tmplrh1koli'] 2034s # Return code: 0 2034s # Output: 2034s # comment 2034s # 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. 2034s # 2034s # 2034s # file-header 2034s # file-production 2034s # filename: /tmp/tmpv_1gw66c/tmp3ygiz9fm.h 2034s # basename: tmp3ygiz9fm.h 2034s # enumeration-production 2034s # EnumName: GeglSamplerType 2034s # enum_name: gegl_sampler_type 2034s # ENUMNAME: GEGL_SAMPLER_TYPE 2034s # ENUMSHORT: SAMPLER_TYPE 2034s # ENUMPREFIX: GEGL 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-header 2034s # EnumName: GeglSamplerType 2034s # enum_name: gegl_sampler_type 2034s # ENUMNAME: GEGL_SAMPLER_TYPE 2034s # ENUMSHORT: SAMPLER_TYPE 2034s # ENUMPREFIX: GEGL 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-production 2034s # VALUENAME: GEGL_SAMPLER_NEAREST 2034s # valuenick: nearest 2034s # valuenum: 0 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-tail 2034s # EnumName: GeglSamplerType 2034s # enum_name: gegl_sampler_type 2034s # ENUMNAME: GEGL_SAMPLER_TYPE 2034s # ENUMSHORT: SAMPLER_TYPE 2034s # ENUMPREFIX: GEGL 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # file-tail 2034s # 2034s # comment 2034s # comment: Generated data ends here 2034s # Error: 2034s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmpgbcqiqxg 2034s # rspfile: True 2034s # /tmp/tmpgbcqiqxg/tmp99lbquyx.h: 2034s # /* Copyright © La Peña */ 2034s # typedef enum { 2034s # ENUM_VALUE 2034s # } SomeEnumIdentifier; 2034s # 2034s # /tmp/tmpgbcqiqxg/tmp1em7btvc.template: 2034s # /*** BEGIN file-header ***/ 2034s # file-header 2034s # /*** END file-header ***/ 2034s # 2034s # /*** BEGIN file-production ***/ 2034s # file-production 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-production ***/ 2034s # 2034s # /*** BEGIN enumeration-production ***/ 2034s # enumeration-production 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END enumeration-production ***/ 2034s # 2034s # /*** BEGIN value-header ***/ 2034s # value-header 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-header ***/ 2034s # 2034s # /*** BEGIN value-production ***/ 2034s # value-production 2034s # VALUENAME: @VALUENAME@ 2034s # valuenick: @valuenick@ 2034s # valuenum: @valuenum@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-production ***/ 2034s # 2034s # /*** BEGIN value-tail ***/ 2034s # value-tail 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-tail ***/ 2034s # 2034s # /*** BEGIN comment ***/ 2034s # comment 2034s # comment: @comment@ 2034s # /*** END comment ***/ 2034s # 2034s # /*** BEGIN file-tail ***/ 2034s # file-tail 2034s # /*** END file-tail ***/ 2034s # 2034s # Response file contains: --template /tmp/tmpgbcqiqxg/tmp1em7btvc.template /tmp/tmpgbcqiqxg/tmp99lbquyx.h 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgbcqiqxg/tmpne70uvjs'] 2034s # Return code: 0 2034s # Output: 2034s # comment 2034s # 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. 2034s # 2034s # 2034s # file-header 2034s # file-production 2034s # filename: /tmp/tmpgbcqiqxg/tmp99lbquyx.h 2034s # basename: tmp99lbquyx.h 2034s # enumeration-production 2034s # EnumName: SomeEnumIdentifier 2034s # enum_name: some_enum_identifier 2034s # ENUMNAME: SOME_ENUM_IDENTIFIER 2034s # ENUMSHORT: ENUM_IDENTIFIER 2034s # ENUMPREFIX: SOME 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-header 2034s # EnumName: SomeEnumIdentifier 2034s # enum_name: some_enum_identifier 2034s # ENUMNAME: SOME_ENUM_IDENTIFIER 2034s # ENUMSHORT: ENUM_IDENTIFIER 2034s # ENUMPREFIX: SOME 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-production 2034s # VALUENAME: ENUM_VALUE 2034s # valuenick: value 2034s # valuenum: 0 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-tail 2034s # EnumName: SomeEnumIdentifier 2034s # enum_name: some_enum_identifier 2034s # ENUMNAME: SOME_ENUM_IDENTIFIER 2034s # ENUMSHORT: ENUM_IDENTIFIER 2034s # ENUMPREFIX: SOME 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # file-tail 2034s # 2034s # comment 2034s # comment: Generated data ends here 2034s # Error: 2034s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1') 2034s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ') 2034s ok 34 __main__.TestRspMkenums.test_reproducible 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmphckyc0ke 2034s # rspfile: True 2034s # /tmp/tmphckyc0ke/tmpu9v9p52p.template: template 2034s # Response file contains: --template /tmp/tmphckyc0ke/tmpu9v9p52p.template /tmp/tmphckyc0ke/tmp0zl55ho_1.h /tmp/tmphckyc0ke/tmpngwrh4092.h 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphckyc0ke/tmpm25elb2z'] 2034s # Return code: 0 2034s # Output: 2034s # /* 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. */ 2034s # 2034s # 2034s # /* Generated data ends here */ 2034s # Error: 2034s # 2034s # /tmp/tmphckyc0ke/tmp0t_62kj4.template: template 2034s # Response file contains: --template /tmp/tmphckyc0ke/tmp0t_62kj4.template /tmp/tmphckyc0ke/tmpngwrh4092.h /tmp/tmphckyc0ke/tmp0zl55ho_1.h 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphckyc0ke/tmpp72yvfhg'] 2034s # Return code: 0 2034s # Output: 2034s # /* 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. */ 2034s # 2034s # 2034s # /* Generated data ends here */ 2034s # Error: 2034s ok 35 __main__.TestRspMkenums.test_since 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmpmcqm17td 2034s # rspfile: True 2034s # /tmp/tmpmcqm17td/tmplwnj4k9m.h: 2034s # typedef enum { /*< since=1.0 >*/ 2034s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0, 2034s # } QmiWmsMessageProtocol; 2034s # 2034s # /tmp/tmpmcqm17td/tmppp2461jh.template: 2034s # /*** BEGIN file-header ***/ 2034s # file-header 2034s # /*** END file-header ***/ 2034s # 2034s # /*** BEGIN file-production ***/ 2034s # file-production 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-production ***/ 2034s # 2034s # /*** BEGIN enumeration-production ***/ 2034s # enumeration-production 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END enumeration-production ***/ 2034s # 2034s # /*** BEGIN value-header ***/ 2034s # value-header 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-header ***/ 2034s # 2034s # /*** BEGIN value-production ***/ 2034s # value-production 2034s # VALUENAME: @VALUENAME@ 2034s # valuenick: @valuenick@ 2034s # valuenum: @valuenum@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-production ***/ 2034s # 2034s # /*** BEGIN value-tail ***/ 2034s # value-tail 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-tail ***/ 2034s # 2034s # /*** BEGIN comment ***/ 2034s # comment 2034s # comment: @comment@ 2034s # /*** END comment ***/ 2034s # 2034s # /*** BEGIN file-tail ***/ 2034s # file-tail 2034s # /*** END file-tail ***/ 2034s # 2034s # Response file contains: --template /tmp/tmpmcqm17td/tmppp2461jh.template /tmp/tmpmcqm17td/tmplwnj4k9m.h 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmcqm17td/tmpawbcfkn0'] 2034s # Return code: 0 2034s # Output: 2034s # comment 2034s # 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. 2034s # 2034s # 2034s # file-header 2034s # file-production 2034s # filename: /tmp/tmpmcqm17td/tmplwnj4k9m.h 2034s # basename: tmplwnj4k9m.h 2034s # enumeration-production 2034s # EnumName: QmiWmsMessageProtocol 2034s # enum_name: qmi_wms_message_protocol 2034s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2034s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2034s # ENUMPREFIX: QMI 2034s # enumsince: 1.0 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-header 2034s # EnumName: QmiWmsMessageProtocol 2034s # enum_name: qmi_wms_message_protocol 2034s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2034s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2034s # ENUMPREFIX: QMI 2034s # enumsince: 1.0 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-production 2034s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA 2034s # valuenick: cdma 2034s # valuenum: 0 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-tail 2034s # EnumName: QmiWmsMessageProtocol 2034s # enum_name: qmi_wms_message_protocol 2034s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL 2034s # ENUMSHORT: WMS_MESSAGE_PROTOCOL 2034s # ENUMPREFIX: QMI 2034s # enumsince: 1.0 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # file-tail 2034s # 2034s # comment 2034s # comment: Generated data ends here 2034s # Error: 2034s ok 36 __main__.TestRspMkenums.test_with_double_quotes 2034s # glib-mkenums: /usr/bin/glib-mkenums 2034s # tmpdir: /tmp/tmpwgv1ie50 2034s # rspfile: True 2034s # /tmp/tmpwgv1ie50/tmptkjgetf9.h: 2034s # typedef enum { 2034s # FOO_VALUE /*< nick="eek, a comma" >*/ 2034s # } Foo; 2034s # 2034s # /tmp/tmpwgv1ie50/tmp68926na7.template: 2034s # /*** BEGIN file-header ***/ 2034s # file-header 2034s # /*** END file-header ***/ 2034s # 2034s # /*** BEGIN file-production ***/ 2034s # file-production 2034s # filename: @filename@ 2034s # basename: @basename@ 2034s # /*** END file-production ***/ 2034s # 2034s # /*** BEGIN enumeration-production ***/ 2034s # enumeration-production 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END enumeration-production ***/ 2034s # 2034s # /*** BEGIN value-header ***/ 2034s # value-header 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-header ***/ 2034s # 2034s # /*** BEGIN value-production ***/ 2034s # value-production 2034s # VALUENAME: @VALUENAME@ 2034s # valuenick: @valuenick@ 2034s # valuenum: @valuenum@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-production ***/ 2034s # 2034s # /*** BEGIN value-tail ***/ 2034s # value-tail 2034s # EnumName: @EnumName@ 2034s # enum_name: @enum_name@ 2034s # ENUMNAME: @ENUMNAME@ 2034s # ENUMSHORT: @ENUMSHORT@ 2034s # ENUMPREFIX: @ENUMPREFIX@ 2034s # enumsince: @enumsince@ 2034s # type: @type@ 2034s # Type: @Type@ 2034s # TYPE: @TYPE@ 2034s # /*** END value-tail ***/ 2034s # 2034s # /*** BEGIN comment ***/ 2034s # comment 2034s # comment: @comment@ 2034s # /*** END comment ***/ 2034s # 2034s # /*** BEGIN file-tail ***/ 2034s # file-tail 2034s # /*** END file-tail ***/ 2034s # 2034s # Response file contains: --template /tmp/tmpwgv1ie50/tmp68926na7.template /tmp/tmpwgv1ie50/tmptkjgetf9.h 2034s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwgv1ie50/tmpgn96fhmp'] 2034s # Return code: 0 2034s # Output: 2034s # comment 2034s # 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. 2034s # 2034s # 2034s # file-header 2034s # file-production 2034s # filename: /tmp/tmpwgv1ie50/tmptkjgetf9.h 2034s # basename: tmptkjgetf9.h 2034s # enumeration-production 2034s # EnumName: Foo 2034s # enum_name: foo_ 2034s # ENUMNAME: FOO_ 2034s # ENUMSHORT: 2034s # ENUMPREFIX: FOO 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-header 2034s # EnumName: Foo 2034s # enum_name: foo_ 2034s # ENUMNAME: FOO_ 2034s # ENUMSHORT: 2034s # ENUMPREFIX: FOO 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-production 2034s # VALUENAME: FOO_VALUE 2034s # valuenick: eek, a comma 2034s # valuenum: 0 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # value-tail 2034s # EnumName: Foo 2034s # enum_name: foo_ 2034s # ENUMNAME: FOO_ 2034s # ENUMSHORT: 2034s # ENUMPREFIX: FOO 2034s # enumsince: 2034s # type: enum 2034s # Type: Enum 2034s # TYPE: ENUM 2034s # file-tail 2034s # 2034s # comment 2034s # comment: Generated data ends here 2034s # Error: 2034s 1..36 2034s ok - glib/mkenums.py.test 2034s # Running test: glib/module-test-plugin.test 2034s TAP version 14 2034s # random seed: R02S72ad154395c7509b912e005988edf38a 2034s 1..3 2034s # Start of module tests 2034s ok 1 /module/basics 2034s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 2034s ok 2 /module/invalid-libtool-archive 2034s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 2034s ok 3 /module/local-binding 2034s # End of module tests 2034s ok - glib/module-test-plugin.test 2034s # Running test: glib/utils-c-99.test 2034s TAP version 14 2034s # random seed: R02S449745497d870ed8bb82bb7e7f0b9a72 2034s 1..41 2034s # Start of utils tests 2034s ok 1 /utils/language-names 2034s ok 2 /utils/locale-variants 2034s ok 3 /utils/version 2034s ok 4 /utils/appname 2034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 2034s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 2034s ok 5 /utils/prgname-thread-safety 2034s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 2034s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 2034s ok 6 /utils/tmpdir 2034s ok 7 /utils/basic_bits 2034s ok 8 /utils/bits 2034s ok 9 /utils/swap 2034s ok 10 /utils/find-program 2034s ok 11 /utils/find-program-for-path 2034s ok 12 /utils/debug 2034s ok 13 /utils/codeset 2034s ok 14 /utils/codeset2 2034s ok 15 /utils/console-charset 2034s ok 16 /utils/gettext 2034s ok 17 /utils/username 2034s ok 18 /utils/realname 2034s ok 19 /utils/hostname 2034s ok 20 /utils/xdgdirs 2034s ok 21 /utils/specialdir 2034s # NAME: Ubuntu 2034s ok 22 /utils/os-info 2034s ok 23 /utils/clear-pointer 2034s ok 24 /utils/clear-pointer-cast 2034s ok 25 /utils/take-pointer 2034s ok 26 /utils/clear-source 2034s ok 27 /utils/misc-mem 2034s # /utils/aligned-mem summary: Aligned memory allocator 2034s # Alignment must not be zero 2034s # Alignment must be a power of two 2034s # Alignment must be a multiple of sizeof(void*) 2034s ok 28 /utils/aligned-mem 2034s # /utils/free-sized summary: Check that g_free_sized() works 2034s ok 29 /utils/free-sized 2034s ok 30 /utils/nullify 2034s ok 31 /utils/atexit 2034s ok 32 /utils/check-setuid 2034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 2034s ok 33 /utils/int-limits 2034s ok 34 /utils/clear-list 2034s ok 35 /utils/clear-slist 2034s ok 36 /utils/steal-handle-id 2034s # Start of specialdir tests 2034s ok 37 /utils/specialdir/desktop 2034s # End of specialdir tests 2034s # Start of clear-pointer tests 2034s ok 38 /utils/clear-pointer/side-effects 2034s # End of clear-pointer tests 2034s # Start of aligned-mem tests 2034s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 2034s ok 39 /utils/aligned-mem/alignment 2034s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 2034s ok 40 /utils/aligned-mem/zeroed 2034s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 2034s ok 41 /utils/aligned-mem/free-sized 2034s # Start of subprocess tests 2034s # End of subprocess tests 2034s # End of aligned-mem tests 2034s # End of utils tests 2034s ok - glib/utils-c-99.test 2034s # Running test: glib/slist.test 2034s TAP version 14 2034s # random seed: R02Sd678a42686a1f07f3e9af2473d778afb 2034s 1..14 2034s # Start of slist tests 2034s ok 1 /slist/sort 2034s ok 2 /slist/sort-with-data 2034s ok 3 /slist/insert-sorted 2034s ok 4 /slist/insert-sorted-with-data 2034s ok 5 /slist/reverse 2034s ok 6 /slist/nth 2034s ok 7 /slist/remove 2034s ok 8 /slist/remove-all 2034s ok 9 /slist/insert 2034s ok 10 /slist/position 2034s ok 11 /slist/concat 2034s ok 12 /slist/copy 2034s # Start of sort tests 2034s ok 13 /slist/sort/stable 2034s # End of sort tests 2034s # Start of copy tests 2034s ok 14 /slist/copy/deep 2034s # End of copy tests 2034s # End of slist tests 2034s ok - glib/slist.test 2034s # Running test: glib/boxed.test 2034s TAP version 14 2034s # random seed: R02S4874e123bf877ce3a08e5af82cc50c7f 2034s 1..27 2034s # Start of boxed tests 2034s ok 1 /boxed/define 2034s ok 2 /boxed/ownership 2034s ok 3 /boxed/closure 2034s ok 4 /boxed/date 2034s ok 5 /boxed/value 2034s ok 6 /boxed/string 2034s ok 7 /boxed/hashtable 2034s ok 8 /boxed/array 2034s ok 9 /boxed/ptrarray 2034s ok 10 /boxed/regex 2034s ok 11 /boxed/varianttype 2034s ok 12 /boxed/error 2034s ok 13 /boxed/datetime 2034s ok 14 /boxed/matchinfo 2034s ok 15 /boxed/keyfile 2034s ok 16 /boxed/mainloop 2034s ok 17 /boxed/maincontext 2034s ok 18 /boxed/source 2034s ok 19 /boxed/variantbuilder 2034s ok 20 /boxed/timezone 2034s ok 21 /boxed/pollfd 2034s ok 22 /boxed/markup 2034s ok 23 /boxed/thread 2034s ok 24 /boxed/checksum 2034s ok 25 /boxed/tree 2034s ok 26 /boxed/patternspec 2034s ok 27 /boxed/rand 2034s # End of boxed tests 2034s ok - glib/boxed.test 2034s # Running test: glib/g-file-info-filesystem-readonly.test 2034s TAP version 14 2034s # random seed: R02Sa9a8277dc7946b1f5a1b0b987c0ab169 2034s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731 2034s 1..2 2034s # Start of g-file-info-filesystem-readonly tests 2034s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 2034s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test 2034s # End of g-file-info-filesystem-readonly tests 2034s ok - glib/g-file-info-filesystem-readonly.test 2034s # Running test: glib/gdbus-serialization.test 2034s TAP version 14 2034s # random seed: R02S9fffb4a671f5284ca54ee2331d5a7bc6 2034s 1..18 2034s # Start of gdbus tests 2034s # Start of message-serialize tests 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/basic/.dirs/runtime 2034s ok 1 /gdbus/message-serialize/basic 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/complex/.dirs/runtime 2034s ok 2 /gdbus/message-serialize/complex 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/invalid/.dirs/runtime 2034s ok 3 /gdbus/message-serialize/invalid 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/.dirs/runtime 2034s ok 4 /gdbus/message-serialize/header-checks 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/double-array/.dirs/runtime 2034s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754 2034s ok 5 /gdbus/message-serialize/double-array 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/empty-structure/.dirs/runtime 2034s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing. 2034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 2034s ok 6 /gdbus/message-serialize/empty-structure 2034s # Start of header-checks tests 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-serialize/header-checks/valid/.dirs/runtime 2034s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types 2034s ok 7 /gdbus/message-serialize/header-checks/valid 2034s # End of header-checks tests 2034s # End of message-serialize tests 2034s # Start of message-parse tests 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime 2034s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612 2034s ok 8 /gdbus/message-parse/empty-arrays-of-arrays 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/non-signature-header/.dirs/runtime 2034s ok 9 /gdbus/message-parse/non-signature-header 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-signature-header/.dirs/runtime 2034s ok 10 /gdbus/message-parse/empty-signature-header 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/multiple-signature-header/.dirs/runtime 2034s ok 11 /gdbus/message-parse/multiple-signature-header 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/over-long-signature-header/.dirs/runtime 2034s ok 12 /gdbus/message-parse/over-long-signature-header 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-header-nesting/.dirs/runtime 2034s ok 13 /gdbus/message-parse/deep-header-nesting 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/deep-body-nesting/.dirs/runtime 2034s ok 14 /gdbus/message-parse/deep-body-nesting 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/truncated/.dirs/runtime 2034s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected. 2034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528 2034s ok 15 /gdbus/message-parse/truncated 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/empty-structure/.dirs/runtime 2034s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing. 2034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557 2034s ok 16 /gdbus/message-parse/empty-structure 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/missing-header/.dirs/runtime 2034s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error. 2034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 2034s ok 17 /gdbus/message-parse/missing-header 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_SBV312/gdbus/message-parse/invalid-header-type/.dirs/runtime 2034s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked. 2034s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061 2034s ok 18 /gdbus/message-parse/invalid-header-type 2034s # End of message-parse tests 2034s # End of gdbus tests 2034s ok - glib/gdbus-serialization.test 2034s # Running test: glib/win32-appinfo.test 2034s TAP version 14 2034s # random seed: R02Seac3f38fd099fa6a2edd386a5e15153d 2034s 1..5 2034s # Start of appinfo tests 2034s ok 1 /appinfo/utf16-strfuncs 2034s ok 2 /appinfo/win32-extract-executable 2034s ok 3 /appinfo/win32-rundll32-fixup 2034s ok 4 /appinfo/win32-parse-filename 2034s ok 5 /appinfo/win32-utf16-conversion-fail 2034s # Start of subprocess tests 2034s # End of subprocess tests 2034s # End of appinfo tests 2034s ok - glib/win32-appinfo.test 2034s # Running test: glib/convert.test 2034s TAP version 14 2034s # random seed: R02S1c61582879fd1f2585331b774fa6ee35 2034s 1..14 2034s # Start of conversion tests 2034s ok 1 /conversion/no-conv 2034s ok 2 /conversion/iconv-state 2034s ok 3 /conversion/illegal-sequence 2034s ok 4 /conversion/byte-order 2034s ok 5 /conversion/unicode 2034s ok 6 /conversion/filename-utf8 2034s ok 7 /conversion/filename-display 2034s ok 8 /conversion/convert-embedded-nul 2034s # Start of locale-to-utf8 tests 2034s ok 9 /conversion/locale-to-utf8/embedded-nul 2034s # Start of embedded-nul tests 2034s # Start of subprocess tests 2034s # End of subprocess tests 2034s # End of embedded-nul tests 2034s # End of locale-to-utf8 tests 2034s # Start of locale-from-utf8 tests 2034s ok 10 /conversion/locale-from-utf8/embedded-nul 2034s # Start of embedded-nul tests 2034s # Start of subprocess tests 2034s # End of subprocess tests 2034s # End of embedded-nul tests 2034s # End of locale-from-utf8 tests 2034s # Start of filename-to-utf8 tests 2034s ok 11 /conversion/filename-to-utf8/embedded-nul 2034s # Start of embedded-nul tests 2034s # Start of subprocess tests 2034s # End of subprocess tests 2034s # End of embedded-nul tests 2034s # End of filename-to-utf8 tests 2034s # Start of filename-from-utf8 tests 2034s ok 12 /conversion/filename-from-utf8/embedded-nul 2034s # Start of embedded-nul tests 2034s # Start of subprocess tests 2034s # End of subprocess tests 2034s # End of embedded-nul tests 2034s # End of filename-from-utf8 tests 2034s # Start of filename-from-uri tests 2034s ok 13 /conversion/filename-from-uri/query-is-ignored 2034s ok 14 /conversion/filename-from-uri/fragment-is-ignored 2034s # End of filename-from-uri tests 2034s # End of conversion tests 2034s ok - glib/convert.test 2034s # Running test: glib/volumemonitor.test 2034s TAP version 14 2034s # random seed: R02S9e04422140ec6ba8e8d496b327211950 2034s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2034s 1..3 2034s # Start of volumemonitor tests 2034s ok 1 /volumemonitor/connected_drives 2034s ok 2 /volumemonitor/volumes 2034s ok 3 /volumemonitor/mounts 2034s # End of volumemonitor tests 2034s ok - glib/volumemonitor.test 2034s # Running test: glib/atomic-c-11.test 2034s TAP version 14 2034s # random seed: R02Se23eb6719d72669f866aab16c33d8efa 2034s 1..2 2034s # Start of atomic tests 2034s ok 1 /atomic/types 2034s ok 2 /atomic/threaded 2034s # End of atomic tests 2034s ok - glib/atomic-c-11.test 2034s # Running test: glib/error.test 2034s TAP version 14 2034s # random seed: R02S59bd7237bfd4676ee6380cc0d778f8e1 2034s 1..3 2034s # Start of error tests 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_74I912/error/from-errno/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_74I912/error/from-errno/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_74I912/error/from-errno/.dirs/system-config1:/tmp/test_error_74I912/error/from-errno/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_74I912/error/from-errno/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_74I912/error/from-errno/.dirs/system-data1:/tmp/test_error_74I912/error/from-errno/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_74I912/error/from-errno/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_74I912/error/from-errno/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_74I912/error/from-errno/.dirs/runtime 2034s ok 1 /error/from-errno 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_74I912/error/from-file-error/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_74I912/error/from-file-error/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_74I912/error/from-file-error/.dirs/system-config1:/tmp/test_error_74I912/error/from-file-error/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_74I912/error/from-file-error/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_74I912/error/from-file-error/.dirs/system-data1:/tmp/test_error_74I912/error/from-file-error/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_74I912/error/from-file-error/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_74I912/error/from-file-error/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_74I912/error/from-file-error/.dirs/runtime 2034s ok 2 /error/from-file-error 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_74I912/error/from-win32-error/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_74I912/error/from-win32-error/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_74I912/error/from-win32-error/.dirs/system-config1:/tmp/test_error_74I912/error/from-win32-error/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_74I912/error/from-win32-error/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_74I912/error/from-win32-error/.dirs/system-data1:/tmp/test_error_74I912/error/from-win32-error/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_74I912/error/from-win32-error/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_74I912/error/from-win32-error/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_74I912/error/from-win32-error/.dirs/runtime 2034s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows 2034s # End of error tests 2034s ok - glib/error.test 2034s # Running test: glib/gdbus-peer-object-manager.test 2034s TAP version 14 2034s # random seed: R02Se337b95d8766cb4acb3961fb71214cac 2034s 1..2 2034s # Start of gdbus tests 2034s # Start of peer-object-manager tests 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/normal/.dirs/runtime 2034s ok 1 /gdbus/peer-object-manager/normal 2034s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/home 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/cache 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/system-config2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/config 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/system-data2 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/data 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/state 2034s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_47P912/gdbus/peer-object-manager/root/.dirs/runtime 2034s ok 2 /gdbus/peer-object-manager/root 2034s # End of peer-object-manager tests 2034s # End of gdbus tests 2034s ok - glib/gdbus-peer-object-manager.test 2035s # Running test: glib/rwlock.test 2035s TAP version 14 2035s # random seed: R02S0b77cb69e38fad010cbe10d4f637fafc 2035s 1..8 2035s # Start of thread tests 2035s ok 1 /thread/rwlock1 2035s ok 2 /thread/rwlock2 2035s ok 3 /thread/rwlock3 2035s ok 4 /thread/rwlock4 2035s ok 5 /thread/rwlock5 2035s ok 6 /thread/rwlock6 2036s # Executing: glib/rwlock.test 2038s ok 7 /thread/rwlock7 2038s # slow test /thread/rwlock7 executed in 3.17 secs 2038s ok 8 /thread/rwlock8 2038s # End of thread tests 2038s ok - glib/rwlock.test 2038s # Running test: glib/tls-database.test 2038s TAP version 14 2038s # random seed: R02S643a9a9cda9e20f1b4591c939c62f862 2038s 1..1 2038s # Start of tls-backend tests 2038s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 2038s ok 1 /tls-backend/set-default-database 2038s # End of tls-backend tests 2038s ok - glib/tls-database.test 2038s # Running test: glib/dynamictests.test 2038s TAP version 14 2038s # random seed: R02S08c8d6939f9fbfed811027a46eba4059 2038s 1..2 2038s # Start of GObject tests 2038s ok 1 /GObject/threaded-dynamic-ref-unref-init 2038s ok 2 /GObject/dynamic-interface-properties 2038s # End of GObject tests 2038s ok - glib/dynamictests.test 2038s # Running test: glib/scannerapi.test 2038s TAP version 14 2038s # random seed: R02Sbc7375afa460d38e82fc6aa9e285bf84 2038s 1..4 2038s # Start of scanner tests 2038s ok 1 /scanner/warn 2038s ok 2 /scanner/error 2038s ok 3 /scanner/symbols 2038s ok 4 /scanner/tokens 2038s # End of scanner tests 2038s ok - glib/scannerapi.test 2038s # Running test: glib/async-splice-output-stream.test 2038s TAP version 14 2038s # random seed: R02S72ac20c2f092641cd685ea95e5dd2036 2038s 1..5 2038s # Start of async-splice tests 2038s ok 1 /async-splice/copy-chunks 2038s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2038s ok 2 /async-splice/copy-chunks-threaded-input 2038s ok 3 /async-splice/copy-chunks-threaded-output 2038s ok 4 /async-splice/copy-chunks-threaded 2038s ok 5 /async-splice/cancelled 2038s # End of async-splice tests 2038s ok - glib/async-splice-output-stream.test 2038s # Running test: glib/keyfile.test 2038s TAP version 14 2038s # random seed: R02Sebf1146734e64875645ee02b4b34133b 2038s 1..36 2038s # Start of keyfile tests 2038s ok 1 /keyfile/line-ends 2038s ok 2 /keyfile/whitespace 2038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 2038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104 2038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047 2038s ok 3 /keyfile/comments 2038s ok 4 /keyfile/listing 2038s ok 5 /keyfile/string 2038s ok 6 /keyfile/boolean 2038s ok 7 /keyfile/number 2038s ok 8 /keyfile/locale-string 2038s ok 9 /keyfile/lists 2038s ok 10 /keyfile/lists-set-get 2038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887 2038s ok 11 /keyfile/group-remove 2038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980 2038s ok 12 /keyfile/key-remove 2038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309 2038s ok 13 /keyfile/groups 2038s ok 14 /keyfile/duplicate-keys 2038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877 2038s ok 15 /keyfile/duplicate-groups 2038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910 2038s ok 16 /keyfile/duplicate-groups2 2038s ok 17 /keyfile/group-names 2038s ok 18 /keyfile/key-names 2038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686 2038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927 2038s ok 19 /keyfile/reload 2038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=614864 2038s ok 20 /keyfile/int64 2038s ok 21 /keyfile/load 2038s ok 22 /keyfile/save 2038s ok 23 /keyfile/load-fail 2038s ok 24 /keyfile/non-utf8 2038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695 2038s ok 25 /keyfile/page-boundary 2038s ok 26 /keyfile/ref 2038s ok 27 /keyfile/replace-value 2038s ok 28 /keyfile/list-separator 2038s ok 29 /keyfile/empty-string 2038s ok 30 /keyfile/limbo 2038s # Testing invalid encoding ?non-UTF-8? 2038s # Testing invalid encoding ?UTF? 2038s # Testing invalid encoding ?UTF-9? 2038s ok 31 /keyfile/utf8 2038s ok 32 /keyfile/roundtrip 2038s ok 33 /keyfile/bytes 2038s ok 34 /keyfile/get-locale 2038s ok 35 /keyfile/free-when-not-last-ref 2038s # Start of locale-string tests 2038s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works 2038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361 2038s ok 36 /keyfile/locale-string/multiple-loads 2038s # End of locale-string tests 2038s # End of keyfile tests 2038s ok - glib/keyfile.test 2038s # Running test: glib/gdbus-server-auth.test 2038s TAP version 14 2038s # random seed: R02S94a16df442e8a33c874a83e2fb0bb136 2038s 1..9 2038s # Start of gdbus tests 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/.dirs/runtime 2038s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-RLLG22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 2038s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-RLLG22/dbus-TOUFgfSQ 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7299 2038s ok 1 /gdbus/server-auth 2038s # Start of server-auth tests 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/abstract/.dirs/runtime 2038s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-M1NH22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 2038s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-M1NH22/dbus-A4bHAhg1 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2038s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2038s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7299 2038s ok 2 /gdbus/server-auth/abstract 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/tcp/.dirs/runtime 2038s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 2038s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/.dirs/runtime 2038s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-NHCH22 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 2038s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-NHCH22/dbus-eURd2aXp 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7299 2038s ok 4 /gdbus/server-auth/anonymous 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/.dirs/runtime 2038s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-2ADL22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2038s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-2ADL22/dbus-2ckVPOHa 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7299 2038s ok 5 /gdbus/server-auth/external 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/.dirs/runtime 2038s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-VH3K22 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 2038s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 2038s # Start of anonymous tests 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/anonymous/tcp/.dirs/runtime 2038s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 2038s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 2038s # End of anonymous tests 2038s # Start of external tests 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/external/require-same-user/.dirs/runtime 2038s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-H02K22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2038s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_GSLG22/gdbus-server-auth-H02K22/dbus-MOXF83ES 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7299 2038s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2038s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2038s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2038s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7299,uid=1000,gid=1000 2038s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7299 2038s ok 8 /gdbus/server-auth/external/require-same-user 2038s # End of external tests 2038s # Start of sha1 tests 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_GSLG22/gdbus/server-auth/sha1/tcp/.dirs/runtime 2038s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 2038s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206 2038s # End of sha1 tests 2038s # End of server-auth tests 2038s # End of gdbus tests 2038s ok - glib/gdbus-server-auth.test 2038s # Running test: glib/hostutils.test 2038s TAP version 14 2038s # random seed: R02Sa5d0bfdfd1b90045e5fb90e82b859795 2038s 1..3 2038s # Start of hostutils tests 2038s ok 1 /hostutils/to_ascii 2038s ok 2 /hostutils/to_unicode 2038s ok 3 /hostutils/is_ip_addr 2038s # End of hostutils tests 2038s ok - glib/hostutils.test 2038s # Running test: glib/strvbuilder.test 2038s TAP version 14 2038s # random seed: R02S843bf9c2e87da9bb1ec9dc9c134de6a4 2038s 1..7 2038s # Start of strvbuilder tests 2038s ok 1 /strvbuilder/empty 2038s ok 2 /strvbuilder/add 2038s ok 3 /strvbuilder/addv 2038s ok 4 /strvbuilder/add_many 2038s ok 5 /strvbuilder/take 2038s ok 6 /strvbuilder/ref 2038s ok 7 /strvbuilder/unref_to_strv 2038s # End of strvbuilder tests 2038s ok - glib/strvbuilder.test 2038s # Running test: glib/completion.test 2038s TAP version 14 2038s # random seed: R02S8eceb5b95faef3b626511841aa468d0c 2038s 1..1 2038s # Start of completion tests 2038s ok 1 /completion/test-completion 2038s # End of completion tests 2038s ok - glib/completion.test 2038s # Running test: glib/binding.test 2038s TAP version 14 2038s # random seed: R02Sb8863929b31d9f5ccdcb4ccba9616732 2038s 1..19 2038s # Start of binding tests 2038s ok 1 /binding/default 2038s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work 2038s ok 2 /binding/canonicalisation 2038s ok 3 /binding/bidirectional 2038s ok 4 /binding/transform 2038s ok 5 /binding/transform-default 2038s ok 6 /binding/transform-closure 2038s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782 2038s ok 7 /binding/chain 2038s ok 8 /binding/sync-create 2038s ok 9 /binding/invert-boolean 2038s ok 10 /binding/same-object 2038s ok 11 /binding/unbind 2038s ok 12 /binding/unbind-weak 2038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373 2038s ok 13 /binding/unbind-multiple 2038s ok 14 /binding/fail 2038s ok 15 /binding/interface 2038s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly 2038s ok 16 /binding/concurrent-unbind 2038s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly 2038s ok 17 /binding/concurrent-finalizing 2038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 2038s ok 18 /binding/dispose-source 2038s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676 2038s ok 19 /binding/dispose-target 2038s # End of binding tests 2038s ok - glib/binding.test 2038s # Running test: glib/repository.test 2038s TAP version 14 2038s # random seed: R02S2ed41e3cceb3fdd1d3b3351af32f7b6c 2038s 1..23 2038s # Start of repository tests 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/basic/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/basic/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/basic/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/basic/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/basic/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/basic/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/basic/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/basic/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/basic/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/basic/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/basic summary: Test basic opening of a repository and requiring a typelib 2038s ok 1 /repository/basic 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/info/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/info/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/info/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/info/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/info/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/info/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/info/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/info/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/info/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/info/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/info summary: Test retrieving some basic info blobs from a typelib 2038s ok 2 /repository/info 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/dependencies/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/dependencies/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/dependencies/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/dependencies/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/dependencies/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/dependencies/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/dependencies/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/dependencies/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/dependencies/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/dependencies/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed 2038s ok 3 /repository/dependencies 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/arg-info/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/arg-info/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/arg-info/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/arg-info/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/arg-info/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/arg-info/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/arg-info/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/arg-info/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/arg-info/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/arg-info/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib 2038s ok 4 /repository/arg-info 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/callable-info/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/callable-info/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/callable-info/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/callable-info/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/callable-info/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/callable-info/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/callable-info/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/callable-info/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/callable-info/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/callable-info/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib 2038s ok 5 /repository/callable-info 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/callback-info/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/callback-info/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/callback-info/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/callback-info/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/callback-info/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/callback-info/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/callback-info/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/callback-info/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/callback-info/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/callback-info/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib 2038s ok 6 /repository/callback-info 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/char-types/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/char-types/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/char-types/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/char-types/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/char-types/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/char-types/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/char-types/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/char-types/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/char-types/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/char-types/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively 2038s ok 7 /repository/char-types 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/constructor-return-type/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv() 2038s ok 8 /repository/constructor-return-type 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/enum-info-c-identifier/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier 2038s ok 9 /repository/enum-info-c-identifier 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/enum-info-static-methods/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/enum-info-static-methods summary: Test an enum with methods 2038s ok 10 /repository/enum-info-static-methods 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/error-quark/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/error-quark/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/error-quark/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/error-quark/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/error-quark/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/error-quark/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/error-quark/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/error-quark/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/error-quark/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/error-quark/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/error-quark summary: Test finding an error quark by error domain 2038s ok 11 /repository/error-quark 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/flags-info-c-identifier/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier 2038s ok 12 /repository/flags-info-c-identifier 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/fundamental-ref-func/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type 2038s ok 13 /repository/fundamental-ref-func 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/instance-method-ownership-transfer/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter 2038s ok 14 /repository/instance-method-ownership-transfer 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/object-gtype-interfaces/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces() 2038s ok 15 /repository/object-gtype-interfaces 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/signal-info-with-array-length-arg/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal 2038s ok 16 /repository/signal-info-with-array-length-arg 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/type-info-name/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo 2038s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96 2038s ok 17 /repository/type-info-name 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-no-invoker/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose 2038s ok 18 /repository/vfunc-info-with-no-invoker 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async 2038s ok 19 /repository/vfunc-info-with-invoker-on-interface 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/vfunc-info-with-invoker-on-object/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display 2038s ok 20 /repository/vfunc-info-with-invoker-on-object 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/find-by-gtype/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/find-by-gtype summary: Test finding a GType 2038s ok 21 /repository/find-by-gtype 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/loaded-namespaces/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/loaded-namespaces summary: Test listing loaded namespaces 2038s ok 22 /repository/loaded-namespaces 2038s # Start of base-info tests 2038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/home 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/cache 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/system-config2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/config 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/system-data2 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/data 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/state 2038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_3Q3J22/repository/base-info/clear/.dirs/runtime 2038s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2038s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct 2038s ok 23 /repository/base-info/clear 2038s # End of base-info tests 2038s # End of repository tests 2038s ok - glib/repository.test 2038s # Running test: glib/cxx-11.test 2038s TAP version 14 2038s # random seed: R02Sb206d4535c7a3a92b9f2240d7868d8fc 2038s 1..2 2038s # Start of gtask tests 2038s # 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. 2038s ok 1 /gtask/name 2038s # Start of name tests 2038s # 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. 2038s ok 2 /gtask/name/macro-wrapper 2038s # End of name tests 2038s # End of gtask tests 2038s ok - glib/cxx-11.test 2038s # Running test: glib/search-utils.test 2038s TAP version 14 2038s # random seed: R02S05dec4d1750610eab87a2c394f312ab0 2038s # GLib-DEBUG: Current user locale: C.UTF-8 2038s 1..6 2038s # Start of search tests 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'he' - 'Hello World' should match: OK 2038s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK 2038s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK 2038s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK 2038s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK 2038s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK 2038s ok 1 /search/basic 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 2038s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK 2038s # GLib-DEBUG: 'ele' - 'élève' should match: OK 2038s # GLib-DEBUG: 'AzaÏs' - 'Azais' should NOT match: OK 2038s # GLib-DEBUG: 'Azais' - 'AzaÏs' should match: OK 2038s ok 2 /search/composed 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK 2038s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK 2038s ok 3 /search/decomposed 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK 2038s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK 2038s ok 4 /search/turkish 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK 2038s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK 2038s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK 2038s ok 5 /search/c_locale_unicode 2038s # GLib-DEBUG: Started 2038s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK 2038s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK 2038s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK 2038s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK 2038s ok 6 /search/multi_words 2038s # End of search tests 2038s ok - glib/search-utils.test 2038s # Running test: glib/codegen.py.test 2038s TAP version 13 2038s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args 2038s # gdbus-codegen: /usr/bin/gdbus-codegen 2038s # tmpdir: /tmp/tmp38_62v4q 2038s # /tmp/tmp38_62v4q/tmpprtfvsrb.xml: 2038s # 2038s # 2038s # 2038s # 2038s # 2038s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp38_62v4q/tmpprtfvsrb.xml', '--output', '-', '--header'] 2038s # Return code: 0 2038s # Output: 2038s # /* 2038s # * This file is generated by gdbus-codegen, do not modify it. 2038s # * 2038s # * The license of this code is the same as for the D-Bus interface description 2038s # * it was derived from. Note that it links to GLib, so must comply with the 2038s # * LGPL linking clauses. 2038s # */ 2038s # 2038s # #ifndef __STDOUT__ 2038s # #define __STDOUT__ 2038s # 2038s # #include 2038s # 2038s # G_BEGIN_DECLS 2038s # 2038s # 2038s # /* ------------------------------------------------------------------------ */ 2038s # /* Declarations for org.project.UsefulInterface */ 2038s # 2038s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 2038s # 2038s # struct _OrgProjectUsefulInterface; 2038s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 2038s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 2038s # 2038s # struct _OrgProjectUsefulInterfaceIface 2038s # { 2038s # GTypeInterface parent_iface; 2038s # 2038s # gboolean (*handle_useful_method) ( 2038s # OrgProjectUsefulInterface *object, 2038s # GDBusMethodInvocation *invocation); 2038s # 2038s # }; 2038s # 2038s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 2038s # 2038s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 2038s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 2038s # 2038s # 2038s # /* D-Bus method call completion functions: */ 2038s # void org_project_useful_interface_complete_useful_method ( 2038s # OrgProjectUsefulInterface *object, 2038s # GDBusMethodInvocation *invocation); 2038s # 2038s # 2038s # 2038s # /* D-Bus method calls: */ 2038s # void org_project_useful_interface_call_useful_method ( 2038s # OrgProjectUsefulInterface *proxy, 2038s # GCancellable *cancellable, 2038s # GAsyncReadyCallback callback, 2038s # gpointer user_data); 2038s # 2038s # gboolean org_project_useful_interface_call_useful_method_finish ( 2038s # OrgProjectUsefulInterface *proxy, 2038s # GAsyncResult *res, 2038s # GError **error); 2038s # 2038s # gboolean org_project_useful_interface_call_useful_method_sync ( 2038s # OrgProjectUsefulInterface *proxy, 2038s # GCancellable *cancellable, 2038s # GError **error); 2038s # 2038s # 2038s # 2038s # /* ---- */ 2038s # 2038s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 2038s # 2038s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 2038s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 2038s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 2038s # 2038s # struct _OrgProjectUsefulInterfaceProxy 2038s # { 2038s # /*< private >*/ 2038s # GDBusProxy parent_instance; 2038s # OrgProjectUsefulInterfaceProxyPrivate *priv; 2038s # }; 2038s # 2038s # struct _OrgProjectUsefulInterfaceProxyClass 2038s # { 2038s # GDBusProxyClass parent_class; 2038s # }; 2038s # 2038s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 2038s # 2038s # #if GLIB_CHECK_VERSION(2, 44, 0) 2038s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 2038s # #endif 2038s # 2038s # void org_project_useful_interface_proxy_new ( 2038s # GDBusConnection *connection, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GAsyncReadyCallback callback, 2038s # gpointer user_data); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 2038s # GAsyncResult *res, 2038s # GError **error); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 2038s # GDBusConnection *connection, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GError **error); 2038s # 2038s # void org_project_useful_interface_proxy_new_for_bus ( 2038s # GBusType bus_type, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GAsyncReadyCallback callback, 2038s # gpointer user_data); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 2038s # GAsyncResult *res, 2038s # GError **error); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 2038s # GBusType bus_type, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GError **error); 2038s # 2038s # 2038s # /* ---- */ 2038s # 2038s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 2038s # 2038s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 2038s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 2038s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 2038s # 2038s # struct _OrgProjectUsefulInterfaceSkeleton 2038s # { 2038s # /*< private >*/ 2038s # GDBusInterfaceSkeleton parent_instance; 2038s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 2038s # }; 2038s # 2038s # struct _OrgProjectUsefulInterfaceSkeletonClass 2038s # { 2038s # GDBusInterfaceSkeletonClass parent_class; 2038s # }; 2038s # 2038s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 2038s # 2038s # #if GLIB_CHECK_VERSION(2, 44, 0) 2038s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 2038s # #endif 2038s # 2038s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 2038s # 2038s # 2038s # G_END_DECLS 2038s # 2038s # #endif /* __STDOUT__ */ 2038s # Error: 2038s # 2038s # /tmp/tmp38_62v4q/tmpe7eax6xv.xml: 2038s # 2038s # 2038s # 2038s # 2038s # 2038s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp38_62v4q/tmpe7eax6xv.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 2038s # Return code: 0 2038s # Output: 2038s # /* 2038s # * This file is generated by gdbus-codegen, do not modify it. 2038s # * 2038s # * The license of this code is the same as for the D-Bus interface description 2038s # * it was derived from. Note that it links to GLib, so must comply with the 2038s # * LGPL linking clauses. 2038s # */ 2038s # 2038s # #ifndef __STDOUT__ 2038s # #define __STDOUT__ 2038s # 2038s # #include 2038s # 2038s # G_BEGIN_DECLS 2038s # 2038s # 2038s # /* ------------------------------------------------------------------------ */ 2038s # /* Declarations for org.project.UsefulInterface */ 2038s # 2038s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 2038s # 2038s # struct _OrgProjectUsefulInterface; 2038s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 2038s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 2038s # 2038s # struct _OrgProjectUsefulInterfaceIface 2038s # { 2038s # GTypeInterface parent_iface; 2038s # 2038s # gboolean (*handle_useful_method) ( 2038s # OrgProjectUsefulInterface *object, 2038s # GDBusMethodInvocation *invocation); 2038s # 2038s # }; 2038s # 2038s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 2038s # 2038s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 2038s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 2038s # 2038s # 2038s # /* D-Bus method call completion functions: */ 2038s # void org_project_useful_interface_complete_useful_method ( 2038s # OrgProjectUsefulInterface *object, 2038s # GDBusMethodInvocation *invocation); 2038s # 2038s # 2038s # 2038s # /* D-Bus method calls: */ 2038s # void org_project_useful_interface_call_useful_method ( 2038s # OrgProjectUsefulInterface *proxy, 2038s # GCancellable *cancellable, 2038s # GAsyncReadyCallback callback, 2038s # gpointer user_data); 2038s # 2038s # gboolean org_project_useful_interface_call_useful_method_finish ( 2038s # OrgProjectUsefulInterface *proxy, 2038s # GAsyncResult *res, 2038s # GError **error); 2038s # 2038s # gboolean org_project_useful_interface_call_useful_method_sync ( 2038s # OrgProjectUsefulInterface *proxy, 2038s # GCancellable *cancellable, 2038s # GError **error); 2038s # 2038s # 2038s # 2038s # /* ---- */ 2038s # 2038s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 2038s # 2038s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 2038s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 2038s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 2038s # 2038s # struct _OrgProjectUsefulInterfaceProxy 2038s # { 2038s # /*< private >*/ 2038s # GDBusProxy parent_instance; 2038s # OrgProjectUsefulInterfaceProxyPrivate *priv; 2038s # }; 2038s # 2038s # struct _OrgProjectUsefulInterfaceProxyClass 2038s # { 2038s # GDBusProxyClass parent_class; 2038s # }; 2038s # 2038s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 2038s # 2038s # #if GLIB_CHECK_VERSION(2, 44, 0) 2038s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 2038s # #endif 2038s # 2038s # void org_project_useful_interface_proxy_new ( 2038s # GDBusConnection *connection, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GAsyncReadyCallback callback, 2038s # gpointer user_data); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 2038s # GAsyncResult *res, 2038s # GError **error); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 2038s # GDBusConnection *connection, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GError **error); 2038s # 2038s # void org_project_useful_interface_proxy_new_for_bus ( 2038s # GBusType bus_type, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GAsyncReadyCallback callback, 2038s # gpointer user_data); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 2038s # GAsyncResult *res, 2038s # GError **error); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 2038s # GBusType bus_type, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GError **error); 2038s # 2038s # 2038s # /* ---- */ 2038s # 2038s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 2038s # 2038s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 2038s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 2038s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 2038s # 2038s # struct _OrgProjectUsefulInterfaceSkeleton 2038s # { 2038s # /*< private >*/ 2038s # GDBusInterfaceSkeleton parent_instance; 2038s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 2038s # }; 2038s # 2038s # struct _OrgProjectUsefulInterfaceSkeletonClass 2038s # { 2038s # GDBusInterfaceSkeletonClass parent_class; 2038s # }; 2038s # 2038s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 2038s # 2038s # #if GLIB_CHECK_VERSION(2, 44, 0) 2038s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 2038s # #endif 2038s # 2038s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 2038s # 2038s # 2038s # G_END_DECLS 2038s # 2038s # #endif /* __STDOUT__ */ 2038s # Error: 2038s # 2038s # /tmp/tmp38_62v4q/tmp3fm3_cx2.xml: 2038s # 2038s # 2038s # 2038s # 2038s # 2038s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp38_62v4q/tmp3fm3_cx2.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 2038s # Return code: 0 2038s # Output: 2038s # /* 2038s # * This file is generated by gdbus-codegen, do not modify it. 2038s # * 2038s # * The license of this code is the same as for the D-Bus interface description 2038s # * it was derived from. Note that it links to GLib, so must comply with the 2038s # * LGPL linking clauses. 2038s # */ 2038s # 2038s # #ifndef __STDOUT__ 2038s # #define __STDOUT__ 2038s # 2038s # #include 2038s # 2038s # G_BEGIN_DECLS 2038s # 2038s # 2038s # /* ------------------------------------------------------------------------ */ 2038s # /* Declarations for org.project.UsefulInterface */ 2038s # 2038s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ()) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface)) 2038s # 2038s # struct _OrgProjectUsefulInterface; 2038s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface; 2038s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface; 2038s # 2038s # struct _OrgProjectUsefulInterfaceIface 2038s # { 2038s # GTypeInterface parent_iface; 2038s # 2038s # gboolean (*handle_useful_method) ( 2038s # OrgProjectUsefulInterface *object, 2038s # GDBusMethodInvocation *invocation); 2038s # 2038s # }; 2038s # 2038s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST; 2038s # 2038s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void); 2038s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin); 2038s # 2038s # 2038s # /* D-Bus method call completion functions: */ 2038s # void org_project_useful_interface_complete_useful_method ( 2038s # OrgProjectUsefulInterface *object, 2038s # GDBusMethodInvocation *invocation); 2038s # 2038s # 2038s # 2038s # /* D-Bus method calls: */ 2038s # void org_project_useful_interface_call_useful_method ( 2038s # OrgProjectUsefulInterface *proxy, 2038s # GDBusCallFlags call_flags, 2038s # gint timeout_msec, 2038s # GCancellable *cancellable, 2038s # GAsyncReadyCallback callback, 2038s # gpointer user_data); 2038s # 2038s # gboolean org_project_useful_interface_call_useful_method_finish ( 2038s # OrgProjectUsefulInterface *proxy, 2038s # GAsyncResult *res, 2038s # GError **error); 2038s # 2038s # gboolean org_project_useful_interface_call_useful_method_sync ( 2038s # OrgProjectUsefulInterface *proxy, 2038s # GDBusCallFlags call_flags, 2038s # gint timeout_msec, 2038s # GCancellable *cancellable, 2038s # GError **error); 2038s # 2038s # 2038s # 2038s # /* ---- */ 2038s # 2038s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ()) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY)) 2038s # 2038s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy; 2038s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass; 2038s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate; 2038s # 2038s # struct _OrgProjectUsefulInterfaceProxy 2038s # { 2038s # /*< private >*/ 2038s # GDBusProxy parent_instance; 2038s # OrgProjectUsefulInterfaceProxyPrivate *priv; 2038s # }; 2038s # 2038s # struct _OrgProjectUsefulInterfaceProxyClass 2038s # { 2038s # GDBusProxyClass parent_class; 2038s # }; 2038s # 2038s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST; 2038s # 2038s # #if GLIB_CHECK_VERSION(2, 44, 0) 2038s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref) 2038s # #endif 2038s # 2038s # void org_project_useful_interface_proxy_new ( 2038s # GDBusConnection *connection, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GAsyncReadyCallback callback, 2038s # gpointer user_data); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish ( 2038s # GAsyncResult *res, 2038s # GError **error); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync ( 2038s # GDBusConnection *connection, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GError **error); 2038s # 2038s # void org_project_useful_interface_proxy_new_for_bus ( 2038s # GBusType bus_type, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GAsyncReadyCallback callback, 2038s # gpointer user_data); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish ( 2038s # GAsyncResult *res, 2038s # GError **error); 2038s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync ( 2038s # GBusType bus_type, 2038s # GDBusProxyFlags flags, 2038s # const gchar *name, 2038s # const gchar *object_path, 2038s # GCancellable *cancellable, 2038s # GError **error); 2038s # 2038s # 2038s # /* ---- */ 2038s # 2038s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ()) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 2038s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 2038s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON)) 2038s # 2038s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton; 2038s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass; 2038s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate; 2038s # 2038s # struct _OrgProjectUsefulInterfaceSkeleton 2038s # { 2038s # /*< private >*/ 2038s # GDBusInterfaceSkeleton parent_instance; 2038s # OrgProjectUsefulInterfaceSkeletonPrivate *priv; 2038s # }; 2038s # 2038s # struct _OrgProjectUsefulInterfaceSkeletonClass 2038s # { 2038s # GDBusInterfaceSkeletonClass parent_class; 2038s # }; 2038s # 2038s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST; 2038s # 2038s # #if GLIB_CHECK_VERSION(2, 44, 0) 2038s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref) 2038s # #endif 2038s # 2038s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void); 2038s # 2038s # 2038s # G_END_DECLS 2038s # 2038s # #endif /* __STDOUT__ */ 2038s # Error: 2039s ok 2 __main__.TestCodegen.test_dbus_types 2039s # gdbus-codegen: /usr/bin/gdbus-codegen 2039s # tmpdir: /tmp/tmp_928n1f1 2039s # /tmp/tmp_928n1f1/tmph7b27zod.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmph7b27zod.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1. 2039s # /tmp/tmp_928n1f1/tmp7s18sv2v.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmp7s18sv2v.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6. 2039s # /tmp/tmp_928n1f1/tmpo_stuvzh.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmpo_stuvzh.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "{s". Error parsing string or brackets not closed. 2039s # /tmp/tmp_928n1f1/tmp5rjdovyv.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmp5rjdovyv.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5. 2039s # /tmp/tmp_928n1f1/tmpnryfud0a.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmpnryfud0a.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "z". "z" is not a valid D-Bus type. 2039s # /tmp/tmp_928n1f1/tmpw37ix_fj.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmpw37ix_fj.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type. 2039s # /tmp/tmp_928n1f1/tmpl6_s681g.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmpl6_s681g.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "(". Error parsing string or brackets not closed. 2039s # /tmp/tmp_928n1f1/tmp6z3356px.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmp6z3356px.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed. 2039s # /tmp/tmp_928n1f1/tmp1njs1m82.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmp1njs1m82.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129. 2039s # /tmp/tmp_928n1f1/tmpv0mepj12.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmpv0mepj12.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: D-Bus maximum signature length of 255 exceeded. 2039s # /tmp/tmp_928n1f1/tmp_tm360ky.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmp_tm360ky.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: D-Bus maximum signature length of 255 exceeded. 2039s # /tmp/tmp_928n1f1/tmp8lwwrna0.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmp8lwwrna0.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129. 2039s # /tmp/tmp_928n1f1/tmpxsz7dxht.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmpxsz7dxht.xml', '--output', '-', '--body'] 2039s # Return code: 1 2039s # Output: 2039s # 2039s # Error: 2039s # ERROR: D-Bus maximum signature length of 255 exceeded. 2039s # /tmp/tmp_928n1f1/tmpfoazwn10.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmpfoazwn10.xml', '--output', '-', '--body'] 2039s # Return code: 0 2039s # Output: 2039s # /* 2039s # * This file is generated by gdbus-codegen, do not modify it. 2039s # * 2039s # * The license of this code is the same as for the D-Bus interface description 2039s # * it was derived from. Note that it links to GLib, so must comply with the 2039s # * LGPL linking clauses. 2039s # */ 2039s # 2039s # #ifdef HAVE_CONFIG_H 2039s # # include "config.h" 2039s # #endif 2039s # 2039s # #include 2039s # #ifdef G_OS_UNIX 2039s # # include 2039s # #endif 2039s # 2039s # #ifdef G_ENABLE_DEBUG 2039s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2039s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2039s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2039s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2039s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2039s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2039s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2039s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2039s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2039s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2039s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2039s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2039s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2039s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2039s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2039s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2039s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2039s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2039s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2039s # #else /* !G_ENABLE_DEBUG */ 2039s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2039s # * Do not access GValues directly in your code. Instead, use the 2039s # * g_value_get_*() functions 2039s # */ 2039s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2039s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2039s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2039s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2039s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2039s # #endif /* !G_ENABLE_DEBUG */ 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusArgInfo parent_struct; 2039s # gboolean use_gvariant; 2039s # } _ExtendedGDBusArgInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusMethodInfo parent_struct; 2039s # const gchar *signal_name; 2039s # gboolean pass_fdlist; 2039s # } _ExtendedGDBusMethodInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusSignalInfo parent_struct; 2039s # const gchar *signal_name; 2039s # } _ExtendedGDBusSignalInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusPropertyInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # guint use_gvariant : 1; 2039s # guint emits_changed_signal : 1; 2039s # } _ExtendedGDBusPropertyInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusInterfaceInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # } _ExtendedGDBusInterfaceInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # guint prop_id; 2039s # GValue orig_value; /* the value before the change */ 2039s # } ChangedProperty; 2039s # 2039s # static void 2039s # _changed_property_free (ChangedProperty *data) 2039s # { 2039s # g_value_unset (&data->orig_value); 2039s # g_free (data); 2039s # } 2039s # 2039s # static gboolean 2039s # _g_strv_equal0 (gchar **a, gchar **b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # guint n; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # if (g_strv_length (a) != g_strv_length (b)) 2039s # goto out; 2039s # for (n = 0; a[n] != NULL; n++) 2039s # if (g_strcmp0 (a[n], b[n]) != 0) 2039s # goto out; 2039s # ret = TRUE; 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _g_variant_equal0 (GVariant *a, GVariant *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # ret = g_variant_equal (a, b); 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # G_GNUC_UNUSED static gboolean 2039s # _g_value_equal (const GValue *a, const GValue *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2039s # switch (G_VALUE_TYPE (a)) 2039s # { 2039s # case G_TYPE_BOOLEAN: 2039s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2039s # break; 2039s # case G_TYPE_UCHAR: 2039s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2039s # break; 2039s # case G_TYPE_INT: 2039s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2039s # break; 2039s # case G_TYPE_UINT: 2039s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2039s # break; 2039s # case G_TYPE_INT64: 2039s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2039s # break; 2039s # case G_TYPE_UINT64: 2039s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2039s # break; 2039s # case G_TYPE_DOUBLE: 2039s # { 2039s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2039s # gdouble da = g_value_get_double (a); 2039s # gdouble db = g_value_get_double (b); 2039s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2039s # } 2039s # break; 2039s # case G_TYPE_STRING: 2039s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2039s # break; 2039s # case G_TYPE_VARIANT: 2039s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2039s # break; 2039s # default: 2039s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2039s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2039s # else 2039s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2039s # break; 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ 2039s # * Code for interface GoodTypes 2039s # * ------------------------------------------------------------------------ 2039s # */ 2039s # 2039s # /** 2039s # * SECTION:GoodTypes 2039s # * @title: GoodTypes 2039s # * @short_description: Generated C code for the GoodTypes D-Bus interface 2039s # * 2039s # * This section contains code for working with the GoodTypes D-Bus interface in C. 2039s # */ 2039s # 2039s # /* ---- Introspection data for GoodTypes ---- */ 2039s # 2039s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "GoodPropertyType", 2039s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}", 2039s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 2039s # NULL 2039s # }, 2039s # "good-property-type", 2039s # FALSE, 2039s # TRUE 2039s # }; 2039s # 2039s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 2039s # { 2039s # &_good_types_property_info_good_property_type.parent_struct, 2039s # NULL 2039s # }; 2039s # 2039s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "GoodTypes", 2039s # NULL, 2039s # NULL, 2039s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 2039s # NULL 2039s # }, 2039s # "good-types", 2039s # }; 2039s # 2039s # 2039s # /** 2039s # * good_types_interface_info: 2039s # * 2039s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 2039s # * 2039s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2039s # */ 2039s # GDBusInterfaceInfo * 2039s # good_types_interface_info (void) 2039s # { 2039s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 2039s # } 2039s # 2039s # /** 2039s # * good_types_override_properties: 2039s # * @klass: The class structure for a #GObject derived class. 2039s # * @property_id_begin: The property id to assign to the first overridden property. 2039s # * 2039s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 2039s # * The properties are overridden in the order they are defined. 2039s # * 2039s # * Returns: The last property id. 2039s # */ 2039s # guint 2039s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 2039s # { 2039s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 2039s # return property_id_begin - 1; 2039s # } 2039s # 2039s # 2039s # 2039s # /** 2039s # * GoodTypes: 2039s # * 2039s # * Abstract interface type for the D-Bus interface GoodTypes. 2039s # */ 2039s # 2039s # /** 2039s # * GoodTypesIface: 2039s # * @parent_iface: The parent interface. 2039s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 2039s # * 2039s # * Virtual table for the D-Bus interface GoodTypes. 2039s # */ 2039s # 2039s # typedef GoodTypesIface GoodTypesInterface; 2039s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 2039s # 2039s # static void 2039s # good_types_default_init (GoodTypesIface *iface) 2039s # { 2039s # /* GObject properties for D-Bus properties: */ 2039s # /** 2039s # * GoodTypes:good-property-type: 2039s # * 2039s # * Represents the D-Bus property "GoodPropertyType". 2039s # * 2039s # * 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. 2039s # */ 2039s # g_object_interface_install_property (iface, 2039s # 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)); 2039s # } 2039s # 2039s # /** 2039s # * good_types_get_good_property_type: (skip) 2039s # * @object: A GoodTypes. 2039s # * 2039s # * Gets the value of the "GoodPropertyType" D-Bus property. 2039s # * 2039s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2039s # * 2039s # * 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. 2039s # * 2039s # * 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. 2039s # */ 2039s # GVariant * 2039s # good_types_get_good_property_type (GoodTypes *object) 2039s # { 2039s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 2039s # 2039s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 2039s # } 2039s # 2039s # /** 2039s # * good_types_dup_good_property_type: (skip) 2039s # * @object: A GoodTypes. 2039s # * 2039s # * Gets a copy of the "GoodPropertyType" D-Bus property. 2039s # * 2039s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2039s # * 2039s # * 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(). 2039s # */ 2039s # GVariant * 2039s # good_types_dup_good_property_type (GoodTypes *object) 2039s # { 2039s # GVariant *value; 2039s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 2039s # return value; 2039s # } 2039s # 2039s # /** 2039s # * good_types_set_good_property_type: (skip) 2039s # * @object: A GoodTypes. 2039s # * @value: The value to set. 2039s # * 2039s # * Sets the "GoodPropertyType" D-Bus property to @value. 2039s # * 2039s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 2039s # */ 2039s # void 2039s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 2039s # { 2039s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * GoodTypesProxy: 2039s # * 2039s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * GoodTypesProxyClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for GoodTypesProxy. 2039s # */ 2039s # 2039s # struct _GoodTypesProxyPrivate 2039s # { 2039s # GData *qdata; 2039s # }; 2039s # 2039s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 2039s # G_ADD_PRIVATE (GoodTypesProxy) 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # good_types_proxy_finalize (GObject *object) 2039s # { 2039s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 2039s # g_datalist_clear (&proxy->priv->qdata); 2039s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_get_property (GObject *object, 2039s # guint prop_id, 2039s # GValue *value, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *variant; 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 2039s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 2039s # if (info->use_gvariant) 2039s # { 2039s # g_value_set_variant (value, variant); 2039s # } 2039s # else 2039s # { 2039s # if (variant != NULL) 2039s # g_dbus_gvariant_to_gvalue (variant, value); 2039s # } 2039s # if (variant != NULL) 2039s # g_variant_unref (variant); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 2039s # GAsyncResult *res, 2039s # gpointer user_data) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info = user_data; 2039s # GError *error; 2039s # GVariant *_ret; 2039s # error = NULL; 2039s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 2039s # if (!_ret) 2039s # { 2039s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 2039s # info->parent_struct.name, 2039s # error->message, g_quark_to_string (error->domain), error->code); 2039s # g_error_free (error); 2039s # } 2039s # else 2039s # { 2039s # g_variant_unref (_ret); 2039s # } 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_set_property (GObject *object, 2039s # guint prop_id, 2039s # const GValue *value, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *variant; 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 2039s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 2039s # g_dbus_proxy_call (G_DBUS_PROXY (object), 2039s # "org.freedesktop.DBus.Properties.Set", 2039s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 2039s # G_DBUS_CALL_FLAGS_NONE, 2039s # -1, 2039s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 2039s # g_variant_unref (variant); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_g_signal (GDBusProxy *proxy, 2039s # const gchar *sender_name G_GNUC_UNUSED, 2039s # const gchar *signal_name, 2039s # GVariant *parameters) 2039s # { 2039s # _ExtendedGDBusSignalInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # gsize n; 2039s # guint signal_id; 2039s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 2039s # if (info == NULL) 2039s # return; 2039s # num_params = g_variant_n_children (parameters); 2039s # paramv = g_new0 (GValue, num_params + 1); 2039s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 2039s # g_value_set_object (¶mv[0], proxy); 2039s # g_variant_iter_init (&iter, parameters); 2039s # n = 1; 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 2039s # g_signal_emitv (paramv, signal_id, 0, NULL); 2039s # for (n = 0; n < num_params + 1; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 2039s # GVariant *changed_properties, 2039s # const gchar *const *invalidated_properties) 2039s # { 2039s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 2039s # guint n; 2039s # const gchar *key; 2039s # GVariantIter *iter; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # g_variant_get (changed_properties, "a{sv}", &iter); 2039s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 2039s # g_datalist_remove_data (&proxy->priv->qdata, key); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # g_variant_iter_free (iter); 2039s # for (n = 0; invalidated_properties[n] != NULL; n++) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 2039s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # } 2039s # 2039s # static GVariant * 2039s # good_types_proxy_get_good_property_type (GoodTypes *object) 2039s # { 2039s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 2039s # GVariant *variant; 2039s # GVariant *value = NULL; 2039s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 2039s # value = variant; 2039s # if (variant != NULL) 2039s # g_variant_unref (variant); 2039s # return value; 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_init (GoodTypesProxy *proxy) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # proxy->priv = good_types_proxy_get_instance_private (proxy); 2039s # #else 2039s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 2039s # #endif 2039s # 2039s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusProxyClass *proxy_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = good_types_proxy_finalize; 2039s # gobject_class->get_property = good_types_proxy_get_property; 2039s # gobject_class->set_property = good_types_proxy_set_property; 2039s # 2039s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2039s # proxy_class->g_signal = good_types_proxy_g_signal; 2039s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 2039s # 2039s # good_types_override_properties (gobject_class, 1); 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_iface_init (GoodTypesIface *iface) 2039s # { 2039s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 2039s # * 2039s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # good_types_proxy_new ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with good_types_proxy_new(). 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_sync: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See good_types_proxy_new() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_sync ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /** 2039s # * good_types_proxy_new_for_bus: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 2039s # * 2039s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # good_types_proxy_new_for_bus ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_for_bus_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with good_types_proxy_new_for_bus(). 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_for_bus_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_for_bus_sync: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_for_bus_sync ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * GoodTypesSkeleton: 2039s # * 2039s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * GoodTypesSkeletonClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for GoodTypesSkeleton. 2039s # */ 2039s # 2039s # struct _GoodTypesSkeletonPrivate 2039s # { 2039s # GValue *properties; 2039s # GList *changed_properties; 2039s # GSource *changed_properties_idle_source; 2039s # GMainContext *context; 2039s # GMutex lock; 2039s # }; 2039s # 2039s # static void 2039s # _good_types_skeleton_handle_method_call ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name, 2039s # const gchar *method_name, 2039s # GVariant *parameters, 2039s # GDBusMethodInvocation *invocation, 2039s # gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # _ExtendedGDBusMethodInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # guint num_extra; 2039s # gsize n; 2039s # guint signal_id; 2039s # GValue return_value = G_VALUE_INIT; 2039s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2039s # g_assert (info != NULL); 2039s # num_params = g_variant_n_children (parameters); 2039s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2039s # n = 0; 2039s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 2039s # g_value_set_object (¶mv[n++], skeleton); 2039s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2039s # g_value_set_object (¶mv[n++], invocation); 2039s # if (info->pass_fdlist) 2039s # { 2039s # #ifdef G_OS_UNIX 2039s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2039s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2039s # #else 2039s # g_assert_not_reached (); 2039s # #endif 2039s # } 2039s # g_variant_iter_init (&iter, parameters); 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 2039s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2039s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2039s # if (!g_value_get_boolean (&return_value)) 2039s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2039s # g_value_unset (&return_value); 2039s # for (n = 0; n < num_params + num_extra; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static GVariant * 2039s # _good_types_skeleton_handle_get_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *ret; 2039s # ret = NULL; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # g_value_init (&value, pspec->value_type); 2039s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2039s # g_value_unset (&value); 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _good_types_skeleton_handle_set_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GVariant *variant, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # gboolean ret; 2039s # ret = FALSE; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # if (info->use_gvariant) 2039s # g_value_set_variant (&value, variant); 2039s # else 2039s # g_dbus_gvariant_to_gvalue (variant, &value); 2039s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # g_value_unset (&value); 2039s # ret = TRUE; 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 2039s # { 2039s # _good_types_skeleton_handle_method_call, 2039s # _good_types_skeleton_handle_get_property, 2039s # _good_types_skeleton_handle_set_property, 2039s # {NULL} 2039s # }; 2039s # 2039s # static GDBusInterfaceInfo * 2039s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return good_types_interface_info (); 2039s # } 2039s # 2039s # static GDBusInterfaceVTable * 2039s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 2039s # } 2039s # 2039s # static GVariant * 2039s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 2039s # 2039s # GVariantBuilder builder; 2039s # guint n; 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2039s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #else 2039s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #endif 2039s # if (_good_types_interface_info.parent_struct.properties == NULL) 2039s # goto out; 2039s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 2039s # { 2039s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 2039s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2039s # { 2039s # GVariant *value; 2039s # 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); 2039s # if (value != NULL) 2039s # { 2039s # g_variant_take_ref (value); 2039s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2039s # g_variant_unref (value); 2039s # } 2039s # } 2039s # } 2039s # out: 2039s # return g_variant_builder_end (&builder); 2039s # } 2039s # 2039s # static gboolean _good_types_emit_changed (gpointer user_data); 2039s # 2039s # static void 2039s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 2039s # gboolean emit_changed = FALSE; 2039s # 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # if (skeleton->priv->changed_properties_idle_source != NULL) 2039s # { 2039s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2039s # skeleton->priv->changed_properties_idle_source = NULL; 2039s # emit_changed = TRUE; 2039s # } 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # 2039s # if (emit_changed) 2039s # _good_types_emit_changed (skeleton); 2039s # } 2039s # 2039s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_ADD_PRIVATE (GoodTypesSkeleton) 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # good_types_skeleton_finalize (GObject *object) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # guint n; 2039s # for (n = 0; n < 1; n++) 2039s # g_value_unset (&skeleton->priv->properties[n]); 2039s # g_free (skeleton->priv->properties); 2039s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2039s # if (skeleton->priv->changed_properties_idle_source != NULL) 2039s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2039s # g_main_context_unref (skeleton->priv->context); 2039s # g_mutex_clear (&skeleton->priv->lock); 2039s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_get_property (GObject *object, 2039s # guint prop_id, 2039s # GValue *value, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # } 2039s # 2039s # static gboolean 2039s # _good_types_emit_changed (gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # GList *l; 2039s # GVariantBuilder builder; 2039s # GVariantBuilder invalidated_builder; 2039s # guint num_changes; 2039s # 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2039s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 2039s # #else 2039s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 2039s # #endif 2039s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 2039s # { 2039s # ChangedProperty *cp = l->data; 2039s # GVariant *variant; 2039s # const GValue *cur_value; 2039s # 2039s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 2039s # if (!_g_value_equal (cur_value, &cp->orig_value)) 2039s # { 2039s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 2039s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 2039s # g_variant_unref (variant); 2039s # num_changes++; 2039s # } 2039s # } 2039s # if (num_changes > 0) 2039s # { 2039s # GList *connections, *ll; 2039s # GVariant *signal_variant; 2039s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 2039s # &builder, &invalidated_builder)); 2039s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2039s # for (ll = connections; ll != NULL; ll = ll->next) 2039s # { 2039s # GDBusConnection *connection = ll->data; 2039s # 2039s # g_dbus_connection_emit_signal (connection, 2039s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 2039s # "org.freedesktop.DBus.Properties", 2039s # "PropertiesChanged", 2039s # signal_variant, 2039s # NULL); 2039s # } 2039s # g_variant_unref (signal_variant); 2039s # g_list_free_full (connections, g_object_unref); 2039s # } 2039s # else 2039s # { 2039s # g_variant_builder_clear (&builder); 2039s # g_variant_builder_clear (&invalidated_builder); 2039s # } 2039s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2039s # skeleton->priv->changed_properties = NULL; 2039s # skeleton->priv->changed_properties_idle_source = NULL; 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # return FALSE; 2039s # } 2039s # 2039s # static void 2039s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 2039s # { 2039s # ChangedProperty *cp; 2039s # GList *l; 2039s # cp = NULL; 2039s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 2039s # { 2039s # ChangedProperty *i_cp = l->data; 2039s # if (i_cp->info == info) 2039s # { 2039s # cp = i_cp; 2039s # break; 2039s # } 2039s # } 2039s # if (cp == NULL) 2039s # { 2039s # cp = g_new0 (ChangedProperty, 1); 2039s # cp->prop_id = prop_id; 2039s # cp->info = info; 2039s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 2039s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 2039s # g_value_copy (orig_value, &cp->orig_value); 2039s # } 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_notify (GObject *object, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # if (skeleton->priv->changed_properties != NULL && 2039s # skeleton->priv->changed_properties_idle_source == NULL) 2039s # { 2039s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 2039s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 2039s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 2039s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 2039s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 2039s # g_source_unref (skeleton->priv->changed_properties_idle_source); 2039s # } 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_set_property (GObject *object, 2039s # guint prop_id, 2039s # const GValue *value, 2039s # GParamSpec *pspec) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # g_object_freeze_notify (object); 2039s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 2039s # { 2039s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 2039s # info->emits_changed_signal) 2039s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 2039s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 2039s # g_object_notify_by_pspec (object, pspec); 2039s # } 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # g_object_thaw_notify (object); 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 2039s # #else 2039s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 2039s # #endif 2039s # 2039s # g_mutex_init (&skeleton->priv->lock); 2039s # skeleton->priv->context = g_main_context_ref_thread_default (); 2039s # skeleton->priv->properties = g_new0 (GValue, 1); 2039s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 2039s # } 2039s # 2039s # static GVariant * 2039s # good_types_skeleton_get_good_property_type (GoodTypes *object) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # GVariant *value; 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # return value; 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusInterfaceSkeletonClass *skeleton_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = good_types_skeleton_finalize; 2039s # gobject_class->get_property = good_types_skeleton_get_property; 2039s # gobject_class->set_property = good_types_skeleton_set_property; 2039s # gobject_class->notify = good_types_skeleton_notify; 2039s # 2039s # 2039s # good_types_override_properties (gobject_class, 1); 2039s # 2039s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2039s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 2039s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 2039s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 2039s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_iface_init (GoodTypesIface *iface) 2039s # { 2039s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 2039s # } 2039s # 2039s # /** 2039s # * good_types_skeleton_new: 2039s # * 2039s # * Creates a skeleton object for the D-Bus interface GoodTypes. 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 2039s # */ 2039s # GoodTypes * 2039s # good_types_skeleton_new (void) 2039s # { 2039s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 2039s # } 2039s # Error: 2039s # 2039s # /tmp/tmp_928n1f1/tmpi5kkcsku.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmpi5kkcsku.xml', '--output', '-', '--body'] 2039s # Return code: 0 2039s # Output: 2039s # /* 2039s # * This file is generated by gdbus-codegen, do not modify it. 2039s # * 2039s # * The license of this code is the same as for the D-Bus interface description 2039s # * it was derived from. Note that it links to GLib, so must comply with the 2039s # * LGPL linking clauses. 2039s # */ 2039s # 2039s # #ifdef HAVE_CONFIG_H 2039s # # include "config.h" 2039s # #endif 2039s # 2039s # #include 2039s # #ifdef G_OS_UNIX 2039s # # include 2039s # #endif 2039s # 2039s # #ifdef G_ENABLE_DEBUG 2039s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2039s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2039s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2039s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2039s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2039s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2039s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2039s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2039s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2039s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2039s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2039s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2039s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2039s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2039s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2039s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2039s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2039s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2039s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2039s # #else /* !G_ENABLE_DEBUG */ 2039s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2039s # * Do not access GValues directly in your code. Instead, use the 2039s # * g_value_get_*() functions 2039s # */ 2039s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2039s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2039s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2039s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2039s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2039s # #endif /* !G_ENABLE_DEBUG */ 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusArgInfo parent_struct; 2039s # gboolean use_gvariant; 2039s # } _ExtendedGDBusArgInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusMethodInfo parent_struct; 2039s # const gchar *signal_name; 2039s # gboolean pass_fdlist; 2039s # } _ExtendedGDBusMethodInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusSignalInfo parent_struct; 2039s # const gchar *signal_name; 2039s # } _ExtendedGDBusSignalInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusPropertyInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # guint use_gvariant : 1; 2039s # guint emits_changed_signal : 1; 2039s # } _ExtendedGDBusPropertyInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusInterfaceInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # } _ExtendedGDBusInterfaceInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # guint prop_id; 2039s # GValue orig_value; /* the value before the change */ 2039s # } ChangedProperty; 2039s # 2039s # static void 2039s # _changed_property_free (ChangedProperty *data) 2039s # { 2039s # g_value_unset (&data->orig_value); 2039s # g_free (data); 2039s # } 2039s # 2039s # static gboolean 2039s # _g_strv_equal0 (gchar **a, gchar **b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # guint n; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # if (g_strv_length (a) != g_strv_length (b)) 2039s # goto out; 2039s # for (n = 0; a[n] != NULL; n++) 2039s # if (g_strcmp0 (a[n], b[n]) != 0) 2039s # goto out; 2039s # ret = TRUE; 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _g_variant_equal0 (GVariant *a, GVariant *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # ret = g_variant_equal (a, b); 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # G_GNUC_UNUSED static gboolean 2039s # _g_value_equal (const GValue *a, const GValue *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2039s # switch (G_VALUE_TYPE (a)) 2039s # { 2039s # case G_TYPE_BOOLEAN: 2039s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2039s # break; 2039s # case G_TYPE_UCHAR: 2039s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2039s # break; 2039s # case G_TYPE_INT: 2039s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2039s # break; 2039s # case G_TYPE_UINT: 2039s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2039s # break; 2039s # case G_TYPE_INT64: 2039s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2039s # break; 2039s # case G_TYPE_UINT64: 2039s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2039s # break; 2039s # case G_TYPE_DOUBLE: 2039s # { 2039s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2039s # gdouble da = g_value_get_double (a); 2039s # gdouble db = g_value_get_double (b); 2039s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2039s # } 2039s # break; 2039s # case G_TYPE_STRING: 2039s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2039s # break; 2039s # case G_TYPE_VARIANT: 2039s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2039s # break; 2039s # default: 2039s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2039s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2039s # else 2039s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2039s # break; 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ 2039s # * Code for interface GoodTypes 2039s # * ------------------------------------------------------------------------ 2039s # */ 2039s # 2039s # /** 2039s # * SECTION:GoodTypes 2039s # * @title: GoodTypes 2039s # * @short_description: Generated C code for the GoodTypes D-Bus interface 2039s # * 2039s # * This section contains code for working with the GoodTypes D-Bus interface in C. 2039s # */ 2039s # 2039s # /* ---- Introspection data for GoodTypes ---- */ 2039s # 2039s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "GoodPropertyType", 2039s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas", 2039s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 2039s # NULL 2039s # }, 2039s # "good-property-type", 2039s # FALSE, 2039s # TRUE 2039s # }; 2039s # 2039s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 2039s # { 2039s # &_good_types_property_info_good_property_type.parent_struct, 2039s # NULL 2039s # }; 2039s # 2039s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "GoodTypes", 2039s # NULL, 2039s # NULL, 2039s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 2039s # NULL 2039s # }, 2039s # "good-types", 2039s # }; 2039s # 2039s # 2039s # /** 2039s # * good_types_interface_info: 2039s # * 2039s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 2039s # * 2039s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2039s # */ 2039s # GDBusInterfaceInfo * 2039s # good_types_interface_info (void) 2039s # { 2039s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 2039s # } 2039s # 2039s # /** 2039s # * good_types_override_properties: 2039s # * @klass: The class structure for a #GObject derived class. 2039s # * @property_id_begin: The property id to assign to the first overridden property. 2039s # * 2039s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 2039s # * The properties are overridden in the order they are defined. 2039s # * 2039s # * Returns: The last property id. 2039s # */ 2039s # guint 2039s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 2039s # { 2039s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 2039s # return property_id_begin - 1; 2039s # } 2039s # 2039s # 2039s # 2039s # /** 2039s # * GoodTypes: 2039s # * 2039s # * Abstract interface type for the D-Bus interface GoodTypes. 2039s # */ 2039s # 2039s # /** 2039s # * GoodTypesIface: 2039s # * @parent_iface: The parent interface. 2039s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 2039s # * 2039s # * Virtual table for the D-Bus interface GoodTypes. 2039s # */ 2039s # 2039s # typedef GoodTypesIface GoodTypesInterface; 2039s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 2039s # 2039s # static void 2039s # good_types_default_init (GoodTypesIface *iface) 2039s # { 2039s # /* GObject properties for D-Bus properties: */ 2039s # /** 2039s # * GoodTypes:good-property-type: 2039s # * 2039s # * Represents the D-Bus property "GoodPropertyType". 2039s # * 2039s # * 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. 2039s # */ 2039s # g_object_interface_install_property (iface, 2039s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 2039s # } 2039s # 2039s # /** 2039s # * good_types_get_good_property_type: (skip) 2039s # * @object: A GoodTypes. 2039s # * 2039s # * Gets the value of the "GoodPropertyType" D-Bus property. 2039s # * 2039s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2039s # * 2039s # * 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. 2039s # * 2039s # * 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. 2039s # */ 2039s # GVariant * 2039s # good_types_get_good_property_type (GoodTypes *object) 2039s # { 2039s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 2039s # 2039s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 2039s # } 2039s # 2039s # /** 2039s # * good_types_dup_good_property_type: (skip) 2039s # * @object: A GoodTypes. 2039s # * 2039s # * Gets a copy of the "GoodPropertyType" D-Bus property. 2039s # * 2039s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2039s # * 2039s # * 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(). 2039s # */ 2039s # GVariant * 2039s # good_types_dup_good_property_type (GoodTypes *object) 2039s # { 2039s # GVariant *value; 2039s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 2039s # return value; 2039s # } 2039s # 2039s # /** 2039s # * good_types_set_good_property_type: (skip) 2039s # * @object: A GoodTypes. 2039s # * @value: The value to set. 2039s # * 2039s # * Sets the "GoodPropertyType" D-Bus property to @value. 2039s # * 2039s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 2039s # */ 2039s # void 2039s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 2039s # { 2039s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * GoodTypesProxy: 2039s # * 2039s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * GoodTypesProxyClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for GoodTypesProxy. 2039s # */ 2039s # 2039s # struct _GoodTypesProxyPrivate 2039s # { 2039s # GData *qdata; 2039s # }; 2039s # 2039s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 2039s # G_ADD_PRIVATE (GoodTypesProxy) 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # good_types_proxy_finalize (GObject *object) 2039s # { 2039s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 2039s # g_datalist_clear (&proxy->priv->qdata); 2039s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_get_property (GObject *object, 2039s # guint prop_id, 2039s # GValue *value, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *variant; 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 2039s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 2039s # if (info->use_gvariant) 2039s # { 2039s # g_value_set_variant (value, variant); 2039s # } 2039s # else 2039s # { 2039s # if (variant != NULL) 2039s # g_dbus_gvariant_to_gvalue (variant, value); 2039s # } 2039s # if (variant != NULL) 2039s # g_variant_unref (variant); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 2039s # GAsyncResult *res, 2039s # gpointer user_data) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info = user_data; 2039s # GError *error; 2039s # GVariant *_ret; 2039s # error = NULL; 2039s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 2039s # if (!_ret) 2039s # { 2039s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 2039s # info->parent_struct.name, 2039s # error->message, g_quark_to_string (error->domain), error->code); 2039s # g_error_free (error); 2039s # } 2039s # else 2039s # { 2039s # g_variant_unref (_ret); 2039s # } 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_set_property (GObject *object, 2039s # guint prop_id, 2039s # const GValue *value, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *variant; 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 2039s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 2039s # g_dbus_proxy_call (G_DBUS_PROXY (object), 2039s # "org.freedesktop.DBus.Properties.Set", 2039s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 2039s # G_DBUS_CALL_FLAGS_NONE, 2039s # -1, 2039s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 2039s # g_variant_unref (variant); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_g_signal (GDBusProxy *proxy, 2039s # const gchar *sender_name G_GNUC_UNUSED, 2039s # const gchar *signal_name, 2039s # GVariant *parameters) 2039s # { 2039s # _ExtendedGDBusSignalInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # gsize n; 2039s # guint signal_id; 2039s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 2039s # if (info == NULL) 2039s # return; 2039s # num_params = g_variant_n_children (parameters); 2039s # paramv = g_new0 (GValue, num_params + 1); 2039s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 2039s # g_value_set_object (¶mv[0], proxy); 2039s # g_variant_iter_init (&iter, parameters); 2039s # n = 1; 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 2039s # g_signal_emitv (paramv, signal_id, 0, NULL); 2039s # for (n = 0; n < num_params + 1; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 2039s # GVariant *changed_properties, 2039s # const gchar *const *invalidated_properties) 2039s # { 2039s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 2039s # guint n; 2039s # const gchar *key; 2039s # GVariantIter *iter; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # g_variant_get (changed_properties, "a{sv}", &iter); 2039s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 2039s # g_datalist_remove_data (&proxy->priv->qdata, key); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # g_variant_iter_free (iter); 2039s # for (n = 0; invalidated_properties[n] != NULL; n++) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 2039s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # } 2039s # 2039s # static GVariant * 2039s # good_types_proxy_get_good_property_type (GoodTypes *object) 2039s # { 2039s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 2039s # GVariant *variant; 2039s # GVariant *value = NULL; 2039s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 2039s # value = variant; 2039s # if (variant != NULL) 2039s # g_variant_unref (variant); 2039s # return value; 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_init (GoodTypesProxy *proxy) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # proxy->priv = good_types_proxy_get_instance_private (proxy); 2039s # #else 2039s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 2039s # #endif 2039s # 2039s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusProxyClass *proxy_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = good_types_proxy_finalize; 2039s # gobject_class->get_property = good_types_proxy_get_property; 2039s # gobject_class->set_property = good_types_proxy_set_property; 2039s # 2039s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2039s # proxy_class->g_signal = good_types_proxy_g_signal; 2039s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 2039s # 2039s # good_types_override_properties (gobject_class, 1); 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_iface_init (GoodTypesIface *iface) 2039s # { 2039s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 2039s # * 2039s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # good_types_proxy_new ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with good_types_proxy_new(). 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_sync: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See good_types_proxy_new() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_sync ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /** 2039s # * good_types_proxy_new_for_bus: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 2039s # * 2039s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # good_types_proxy_new_for_bus ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_for_bus_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with good_types_proxy_new_for_bus(). 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_for_bus_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_for_bus_sync: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_for_bus_sync ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * GoodTypesSkeleton: 2039s # * 2039s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * GoodTypesSkeletonClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for GoodTypesSkeleton. 2039s # */ 2039s # 2039s # struct _GoodTypesSkeletonPrivate 2039s # { 2039s # GValue *properties; 2039s # GList *changed_properties; 2039s # GSource *changed_properties_idle_source; 2039s # GMainContext *context; 2039s # GMutex lock; 2039s # }; 2039s # 2039s # static void 2039s # _good_types_skeleton_handle_method_call ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name, 2039s # const gchar *method_name, 2039s # GVariant *parameters, 2039s # GDBusMethodInvocation *invocation, 2039s # gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # _ExtendedGDBusMethodInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # guint num_extra; 2039s # gsize n; 2039s # guint signal_id; 2039s # GValue return_value = G_VALUE_INIT; 2039s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2039s # g_assert (info != NULL); 2039s # num_params = g_variant_n_children (parameters); 2039s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2039s # n = 0; 2039s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 2039s # g_value_set_object (¶mv[n++], skeleton); 2039s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2039s # g_value_set_object (¶mv[n++], invocation); 2039s # if (info->pass_fdlist) 2039s # { 2039s # #ifdef G_OS_UNIX 2039s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2039s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2039s # #else 2039s # g_assert_not_reached (); 2039s # #endif 2039s # } 2039s # g_variant_iter_init (&iter, parameters); 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 2039s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2039s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2039s # if (!g_value_get_boolean (&return_value)) 2039s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2039s # g_value_unset (&return_value); 2039s # for (n = 0; n < num_params + num_extra; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static GVariant * 2039s # _good_types_skeleton_handle_get_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *ret; 2039s # ret = NULL; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # g_value_init (&value, pspec->value_type); 2039s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2039s # g_value_unset (&value); 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _good_types_skeleton_handle_set_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GVariant *variant, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # gboolean ret; 2039s # ret = FALSE; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # if (info->use_gvariant) 2039s # g_value_set_variant (&value, variant); 2039s # else 2039s # g_dbus_gvariant_to_gvalue (variant, &value); 2039s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # g_value_unset (&value); 2039s # ret = TRUE; 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 2039s # { 2039s # _good_types_skeleton_handle_method_call, 2039s # _good_types_skeleton_handle_get_property, 2039s # _good_types_skeleton_handle_set_property, 2039s # {NULL} 2039s # }; 2039s # 2039s # static GDBusInterfaceInfo * 2039s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return good_types_interface_info (); 2039s # } 2039s # 2039s # static GDBusInterfaceVTable * 2039s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 2039s # } 2039s # 2039s # static GVariant * 2039s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 2039s # 2039s # GVariantBuilder builder; 2039s # guint n; 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2039s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #else 2039s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #endif 2039s # if (_good_types_interface_info.parent_struct.properties == NULL) 2039s # goto out; 2039s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 2039s # { 2039s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 2039s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2039s # { 2039s # GVariant *value; 2039s # 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); 2039s # if (value != NULL) 2039s # { 2039s # g_variant_take_ref (value); 2039s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2039s # g_variant_unref (value); 2039s # } 2039s # } 2039s # } 2039s # out: 2039s # return g_variant_builder_end (&builder); 2039s # } 2039s # 2039s # static gboolean _good_types_emit_changed (gpointer user_data); 2039s # 2039s # static void 2039s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 2039s # gboolean emit_changed = FALSE; 2039s # 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # if (skeleton->priv->changed_properties_idle_source != NULL) 2039s # { 2039s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2039s # skeleton->priv->changed_properties_idle_source = NULL; 2039s # emit_changed = TRUE; 2039s # } 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # 2039s # if (emit_changed) 2039s # _good_types_emit_changed (skeleton); 2039s # } 2039s # 2039s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_ADD_PRIVATE (GoodTypesSkeleton) 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # good_types_skeleton_finalize (GObject *object) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # guint n; 2039s # for (n = 0; n < 1; n++) 2039s # g_value_unset (&skeleton->priv->properties[n]); 2039s # g_free (skeleton->priv->properties); 2039s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2039s # if (skeleton->priv->changed_properties_idle_source != NULL) 2039s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2039s # g_main_context_unref (skeleton->priv->context); 2039s # g_mutex_clear (&skeleton->priv->lock); 2039s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_get_property (GObject *object, 2039s # guint prop_id, 2039s # GValue *value, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # } 2039s # 2039s # static gboolean 2039s # _good_types_emit_changed (gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # GList *l; 2039s # GVariantBuilder builder; 2039s # GVariantBuilder invalidated_builder; 2039s # guint num_changes; 2039s # 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2039s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 2039s # #else 2039s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 2039s # #endif 2039s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 2039s # { 2039s # ChangedProperty *cp = l->data; 2039s # GVariant *variant; 2039s # const GValue *cur_value; 2039s # 2039s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 2039s # if (!_g_value_equal (cur_value, &cp->orig_value)) 2039s # { 2039s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 2039s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 2039s # g_variant_unref (variant); 2039s # num_changes++; 2039s # } 2039s # } 2039s # if (num_changes > 0) 2039s # { 2039s # GList *connections, *ll; 2039s # GVariant *signal_variant; 2039s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 2039s # &builder, &invalidated_builder)); 2039s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2039s # for (ll = connections; ll != NULL; ll = ll->next) 2039s # { 2039s # GDBusConnection *connection = ll->data; 2039s # 2039s # g_dbus_connection_emit_signal (connection, 2039s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 2039s # "org.freedesktop.DBus.Properties", 2039s # "PropertiesChanged", 2039s # signal_variant, 2039s # NULL); 2039s # } 2039s # g_variant_unref (signal_variant); 2039s # g_list_free_full (connections, g_object_unref); 2039s # } 2039s # else 2039s # { 2039s # g_variant_builder_clear (&builder); 2039s # g_variant_builder_clear (&invalidated_builder); 2039s # } 2039s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2039s # skeleton->priv->changed_properties = NULL; 2039s # skeleton->priv->changed_properties_idle_source = NULL; 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # return FALSE; 2039s # } 2039s # 2039s # static void 2039s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 2039s # { 2039s # ChangedProperty *cp; 2039s # GList *l; 2039s # cp = NULL; 2039s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 2039s # { 2039s # ChangedProperty *i_cp = l->data; 2039s # if (i_cp->info == info) 2039s # { 2039s # cp = i_cp; 2039s # break; 2039s # } 2039s # } 2039s # if (cp == NULL) 2039s # { 2039s # cp = g_new0 (ChangedProperty, 1); 2039s # cp->prop_id = prop_id; 2039s # cp->info = info; 2039s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 2039s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 2039s # g_value_copy (orig_value, &cp->orig_value); 2039s # } 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_notify (GObject *object, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # if (skeleton->priv->changed_properties != NULL && 2039s # skeleton->priv->changed_properties_idle_source == NULL) 2039s # { 2039s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 2039s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 2039s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 2039s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 2039s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 2039s # g_source_unref (skeleton->priv->changed_properties_idle_source); 2039s # } 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_set_property (GObject *object, 2039s # guint prop_id, 2039s # const GValue *value, 2039s # GParamSpec *pspec) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # g_object_freeze_notify (object); 2039s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 2039s # { 2039s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 2039s # info->emits_changed_signal) 2039s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 2039s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 2039s # g_object_notify_by_pspec (object, pspec); 2039s # } 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # g_object_thaw_notify (object); 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 2039s # #else 2039s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 2039s # #endif 2039s # 2039s # g_mutex_init (&skeleton->priv->lock); 2039s # skeleton->priv->context = g_main_context_ref_thread_default (); 2039s # skeleton->priv->properties = g_new0 (GValue, 1); 2039s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 2039s # } 2039s # 2039s # static GVariant * 2039s # good_types_skeleton_get_good_property_type (GoodTypes *object) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # GVariant *value; 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # return value; 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusInterfaceSkeletonClass *skeleton_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = good_types_skeleton_finalize; 2039s # gobject_class->get_property = good_types_skeleton_get_property; 2039s # gobject_class->set_property = good_types_skeleton_set_property; 2039s # gobject_class->notify = good_types_skeleton_notify; 2039s # 2039s # 2039s # good_types_override_properties (gobject_class, 1); 2039s # 2039s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2039s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 2039s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 2039s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 2039s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_iface_init (GoodTypesIface *iface) 2039s # { 2039s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 2039s # } 2039s # 2039s # /** 2039s # * good_types_skeleton_new: 2039s # * 2039s # * Creates a skeleton object for the D-Bus interface GoodTypes. 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 2039s # */ 2039s # GoodTypes * 2039s # good_types_skeleton_new (void) 2039s # { 2039s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 2039s # } 2039s # Error: 2039s # 2039s # /tmp/tmp_928n1f1/tmpzu5hbpkl.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_928n1f1/tmpzu5hbpkl.xml', '--output', '-', '--body'] 2039s # Return code: 0 2039s # Output: 2039s # /* 2039s # * This file is generated by gdbus-codegen, do not modify it. 2039s # * 2039s # * The license of this code is the same as for the D-Bus interface description 2039s # * it was derived from. Note that it links to GLib, so must comply with the 2039s # * LGPL linking clauses. 2039s # */ 2039s # 2039s # #ifdef HAVE_CONFIG_H 2039s # # include "config.h" 2039s # #endif 2039s # 2039s # #include 2039s # #ifdef G_OS_UNIX 2039s # # include 2039s # #endif 2039s # 2039s # #ifdef G_ENABLE_DEBUG 2039s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2039s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2039s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2039s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2039s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2039s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2039s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2039s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2039s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2039s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2039s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2039s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2039s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2039s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2039s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2039s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2039s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2039s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2039s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2039s # #else /* !G_ENABLE_DEBUG */ 2039s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2039s # * Do not access GValues directly in your code. Instead, use the 2039s # * g_value_get_*() functions 2039s # */ 2039s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2039s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2039s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2039s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2039s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2039s # #endif /* !G_ENABLE_DEBUG */ 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusArgInfo parent_struct; 2039s # gboolean use_gvariant; 2039s # } _ExtendedGDBusArgInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusMethodInfo parent_struct; 2039s # const gchar *signal_name; 2039s # gboolean pass_fdlist; 2039s # } _ExtendedGDBusMethodInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusSignalInfo parent_struct; 2039s # const gchar *signal_name; 2039s # } _ExtendedGDBusSignalInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusPropertyInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # guint use_gvariant : 1; 2039s # guint emits_changed_signal : 1; 2039s # } _ExtendedGDBusPropertyInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusInterfaceInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # } _ExtendedGDBusInterfaceInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # guint prop_id; 2039s # GValue orig_value; /* the value before the change */ 2039s # } ChangedProperty; 2039s # 2039s # static void 2039s # _changed_property_free (ChangedProperty *data) 2039s # { 2039s # g_value_unset (&data->orig_value); 2039s # g_free (data); 2039s # } 2039s # 2039s # static gboolean 2039s # _g_strv_equal0 (gchar **a, gchar **b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # guint n; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # if (g_strv_length (a) != g_strv_length (b)) 2039s # goto out; 2039s # for (n = 0; a[n] != NULL; n++) 2039s # if (g_strcmp0 (a[n], b[n]) != 0) 2039s # goto out; 2039s # ret = TRUE; 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _g_variant_equal0 (GVariant *a, GVariant *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # ret = g_variant_equal (a, b); 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # G_GNUC_UNUSED static gboolean 2039s # _g_value_equal (const GValue *a, const GValue *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2039s # switch (G_VALUE_TYPE (a)) 2039s # { 2039s # case G_TYPE_BOOLEAN: 2039s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2039s # break; 2039s # case G_TYPE_UCHAR: 2039s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2039s # break; 2039s # case G_TYPE_INT: 2039s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2039s # break; 2039s # case G_TYPE_UINT: 2039s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2039s # break; 2039s # case G_TYPE_INT64: 2039s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2039s # break; 2039s # case G_TYPE_UINT64: 2039s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2039s # break; 2039s # case G_TYPE_DOUBLE: 2039s # { 2039s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2039s # gdouble da = g_value_get_double (a); 2039s # gdouble db = g_value_get_double (b); 2039s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2039s # } 2039s # break; 2039s # case G_TYPE_STRING: 2039s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2039s # break; 2039s # case G_TYPE_VARIANT: 2039s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2039s # break; 2039s # default: 2039s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2039s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2039s # else 2039s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2039s # break; 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ 2039s # * Code for interface GoodTypes 2039s # * ------------------------------------------------------------------------ 2039s # */ 2039s # 2039s # /** 2039s # * SECTION:GoodTypes 2039s # * @title: GoodTypes 2039s # * @short_description: Generated C code for the GoodTypes D-Bus interface 2039s # * 2039s # * This section contains code for working with the GoodTypes D-Bus interface in C. 2039s # */ 2039s # 2039s # /* ---- Introspection data for GoodTypes ---- */ 2039s # 2039s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "GoodPropertyType", 2039s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})", 2039s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 2039s # NULL 2039s # }, 2039s # "good-property-type", 2039s # FALSE, 2039s # TRUE 2039s # }; 2039s # 2039s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] = 2039s # { 2039s # &_good_types_property_info_good_property_type.parent_struct, 2039s # NULL 2039s # }; 2039s # 2039s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "GoodTypes", 2039s # NULL, 2039s # NULL, 2039s # (GDBusPropertyInfo **) &_good_types_property_info_pointers, 2039s # NULL 2039s # }, 2039s # "good-types", 2039s # }; 2039s # 2039s # 2039s # /** 2039s # * good_types_interface_info: 2039s # * 2039s # * Gets a machine-readable description of the GoodTypes D-Bus interface. 2039s # * 2039s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2039s # */ 2039s # GDBusInterfaceInfo * 2039s # good_types_interface_info (void) 2039s # { 2039s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct; 2039s # } 2039s # 2039s # /** 2039s # * good_types_override_properties: 2039s # * @klass: The class structure for a #GObject derived class. 2039s # * @property_id_begin: The property id to assign to the first overridden property. 2039s # * 2039s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class. 2039s # * The properties are overridden in the order they are defined. 2039s # * 2039s # * Returns: The last property id. 2039s # */ 2039s # guint 2039s # good_types_override_properties (GObjectClass *klass, guint property_id_begin) 2039s # { 2039s # g_object_class_override_property (klass, property_id_begin++, "good-property-type"); 2039s # return property_id_begin - 1; 2039s # } 2039s # 2039s # 2039s # 2039s # /** 2039s # * GoodTypes: 2039s # * 2039s # * Abstract interface type for the D-Bus interface GoodTypes. 2039s # */ 2039s # 2039s # /** 2039s # * GoodTypesIface: 2039s # * @parent_iface: The parent interface. 2039s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property. 2039s # * 2039s # * Virtual table for the D-Bus interface GoodTypes. 2039s # */ 2039s # 2039s # typedef GoodTypesIface GoodTypesInterface; 2039s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT) 2039s # 2039s # static void 2039s # good_types_default_init (GoodTypesIface *iface) 2039s # { 2039s # /* GObject properties for D-Bus properties: */ 2039s # /** 2039s # * GoodTypes:good-property-type: 2039s # * 2039s # * Represents the D-Bus property "GoodPropertyType". 2039s # * 2039s # * 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. 2039s # */ 2039s # g_object_interface_install_property (iface, 2039s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 2039s # } 2039s # 2039s # /** 2039s # * good_types_get_good_property_type: (skip) 2039s # * @object: A GoodTypes. 2039s # * 2039s # * Gets the value of the "GoodPropertyType" D-Bus property. 2039s # * 2039s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2039s # * 2039s # * 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. 2039s # * 2039s # * 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. 2039s # */ 2039s # GVariant * 2039s # good_types_get_good_property_type (GoodTypes *object) 2039s # { 2039s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL); 2039s # 2039s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object); 2039s # } 2039s # 2039s # /** 2039s # * good_types_dup_good_property_type: (skip) 2039s # * @object: A GoodTypes. 2039s # * 2039s # * Gets a copy of the "GoodPropertyType" D-Bus property. 2039s # * 2039s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2039s # * 2039s # * 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(). 2039s # */ 2039s # GVariant * 2039s # good_types_dup_good_property_type (GoodTypes *object) 2039s # { 2039s # GVariant *value; 2039s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL); 2039s # return value; 2039s # } 2039s # 2039s # /** 2039s # * good_types_set_good_property_type: (skip) 2039s # * @object: A GoodTypes. 2039s # * @value: The value to set. 2039s # * 2039s # * Sets the "GoodPropertyType" D-Bus property to @value. 2039s # * 2039s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 2039s # */ 2039s # void 2039s # good_types_set_good_property_type (GoodTypes *object, GVariant *value) 2039s # { 2039s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL); 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * GoodTypesProxy: 2039s # * 2039s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * GoodTypesProxyClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for GoodTypesProxy. 2039s # */ 2039s # 2039s # struct _GoodTypesProxyPrivate 2039s # { 2039s # GData *qdata; 2039s # }; 2039s # 2039s # static void good_types_proxy_iface_init (GoodTypesIface *iface); 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 2039s # G_ADD_PRIVATE (GoodTypesProxy) 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY, 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # good_types_proxy_finalize (GObject *object) 2039s # { 2039s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 2039s # g_datalist_clear (&proxy->priv->qdata); 2039s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_get_property (GObject *object, 2039s # guint prop_id, 2039s # GValue *value, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *variant; 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 2039s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 2039s # if (info->use_gvariant) 2039s # { 2039s # g_value_set_variant (value, variant); 2039s # } 2039s # else 2039s # { 2039s # if (variant != NULL) 2039s # g_dbus_gvariant_to_gvalue (variant, value); 2039s # } 2039s # if (variant != NULL) 2039s # g_variant_unref (variant); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_set_property_cb (GDBusProxy *proxy, 2039s # GAsyncResult *res, 2039s # gpointer user_data) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info = user_data; 2039s # GError *error; 2039s # GVariant *_ret; 2039s # error = NULL; 2039s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 2039s # if (!_ret) 2039s # { 2039s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)", 2039s # info->parent_struct.name, 2039s # error->message, g_quark_to_string (error->domain), error->code); 2039s # g_error_free (error); 2039s # } 2039s # else 2039s # { 2039s # g_variant_unref (_ret); 2039s # } 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_set_property (GObject *object, 2039s # guint prop_id, 2039s # const GValue *value, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *variant; 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 2039s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 2039s # g_dbus_proxy_call (G_DBUS_PROXY (object), 2039s # "org.freedesktop.DBus.Properties.Set", 2039s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant), 2039s # G_DBUS_CALL_FLAGS_NONE, 2039s # -1, 2039s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 2039s # g_variant_unref (variant); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_g_signal (GDBusProxy *proxy, 2039s # const gchar *sender_name G_GNUC_UNUSED, 2039s # const gchar *signal_name, 2039s # GVariant *parameters) 2039s # { 2039s # _ExtendedGDBusSignalInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # gsize n; 2039s # guint signal_id; 2039s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name); 2039s # if (info == NULL) 2039s # return; 2039s # num_params = g_variant_n_children (parameters); 2039s # paramv = g_new0 (GValue, num_params + 1); 2039s # g_value_init (¶mv[0], TYPE_GOOD_TYPES); 2039s # g_value_set_object (¶mv[0], proxy); 2039s # g_variant_iter_init (&iter, parameters); 2039s # n = 1; 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 2039s # g_signal_emitv (paramv, signal_id, 0, NULL); 2039s # for (n = 0; n < num_params + 1; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy, 2039s # GVariant *changed_properties, 2039s # const gchar *const *invalidated_properties) 2039s # { 2039s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy); 2039s # guint n; 2039s # const gchar *key; 2039s # GVariantIter *iter; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # g_variant_get (changed_properties, "a{sv}", &iter); 2039s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key); 2039s # g_datalist_remove_data (&proxy->priv->qdata, key); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # g_variant_iter_free (iter); 2039s # for (n = 0; invalidated_properties[n] != NULL; n++) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]); 2039s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # } 2039s # 2039s # static GVariant * 2039s # good_types_proxy_get_good_property_type (GoodTypes *object) 2039s # { 2039s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object); 2039s # GVariant *variant; 2039s # GVariant *value = NULL; 2039s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType"); 2039s # value = variant; 2039s # if (variant != NULL) 2039s # g_variant_unref (variant); 2039s # return value; 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_init (GoodTypesProxy *proxy) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # proxy->priv = good_types_proxy_get_instance_private (proxy); 2039s # #else 2039s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate); 2039s # #endif 2039s # 2039s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ()); 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_class_init (GoodTypesProxyClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusProxyClass *proxy_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = good_types_proxy_finalize; 2039s # gobject_class->get_property = good_types_proxy_get_property; 2039s # gobject_class->set_property = good_types_proxy_set_property; 2039s # 2039s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2039s # proxy_class->g_signal = good_types_proxy_g_signal; 2039s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed; 2039s # 2039s # good_types_override_properties (gobject_class, 1); 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # good_types_proxy_iface_init (GoodTypesIface *iface) 2039s # { 2039s # iface->get_good_property_type = good_types_proxy_get_good_property_type; 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call good_types_proxy_new_finish() to get the result of the operation. 2039s # * 2039s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # good_types_proxy_new ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with good_types_proxy_new(). 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_sync: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See good_types_proxy_new() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_sync ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /** 2039s # * good_types_proxy_new_for_bus: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation. 2039s # * 2039s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # good_types_proxy_new_for_bus ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_for_bus_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with good_types_proxy_new_for_bus(). 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_for_bus_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * good_types_proxy_new_for_bus_sync: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # GoodTypes * 2039s # good_types_proxy_new_for_bus_sync ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return GOOD_TYPES (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * GoodTypesSkeleton: 2039s # * 2039s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * GoodTypesSkeletonClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for GoodTypesSkeleton. 2039s # */ 2039s # 2039s # struct _GoodTypesSkeletonPrivate 2039s # { 2039s # GValue *properties; 2039s # GList *changed_properties; 2039s # GSource *changed_properties_idle_source; 2039s # GMainContext *context; 2039s # GMutex lock; 2039s # }; 2039s # 2039s # static void 2039s # _good_types_skeleton_handle_method_call ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name, 2039s # const gchar *method_name, 2039s # GVariant *parameters, 2039s # GDBusMethodInvocation *invocation, 2039s # gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # _ExtendedGDBusMethodInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # guint num_extra; 2039s # gsize n; 2039s # guint signal_id; 2039s # GValue return_value = G_VALUE_INIT; 2039s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2039s # g_assert (info != NULL); 2039s # num_params = g_variant_n_children (parameters); 2039s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2039s # n = 0; 2039s # g_value_init (¶mv[n], TYPE_GOOD_TYPES); 2039s # g_value_set_object (¶mv[n++], skeleton); 2039s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2039s # g_value_set_object (¶mv[n++], invocation); 2039s # if (info->pass_fdlist) 2039s # { 2039s # #ifdef G_OS_UNIX 2039s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2039s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2039s # #else 2039s # g_assert_not_reached (); 2039s # #endif 2039s # } 2039s # g_variant_iter_init (&iter, parameters); 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES); 2039s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2039s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2039s # if (!g_value_get_boolean (&return_value)) 2039s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2039s # g_value_unset (&return_value); 2039s # for (n = 0; n < num_params + num_extra; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static GVariant * 2039s # _good_types_skeleton_handle_get_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *ret; 2039s # ret = NULL; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # g_value_init (&value, pspec->value_type); 2039s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2039s # g_value_unset (&value); 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _good_types_skeleton_handle_set_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GVariant *variant, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # gboolean ret; 2039s # ret = FALSE; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # if (info->use_gvariant) 2039s # g_value_set_variant (&value, variant); 2039s # else 2039s # g_dbus_gvariant_to_gvalue (variant, &value); 2039s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # g_value_unset (&value); 2039s # ret = TRUE; 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static const GDBusInterfaceVTable _good_types_skeleton_vtable = 2039s # { 2039s # _good_types_skeleton_handle_method_call, 2039s # _good_types_skeleton_handle_get_property, 2039s # _good_types_skeleton_handle_set_property, 2039s # {NULL} 2039s # }; 2039s # 2039s # static GDBusInterfaceInfo * 2039s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return good_types_interface_info (); 2039s # } 2039s # 2039s # static GDBusInterfaceVTable * 2039s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable; 2039s # } 2039s # 2039s # static GVariant * 2039s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 2039s # 2039s # GVariantBuilder builder; 2039s # guint n; 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2039s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #else 2039s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #endif 2039s # if (_good_types_interface_info.parent_struct.properties == NULL) 2039s # goto out; 2039s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++) 2039s # { 2039s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n]; 2039s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2039s # { 2039s # GVariant *value; 2039s # 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); 2039s # if (value != NULL) 2039s # { 2039s # g_variant_take_ref (value); 2039s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2039s # g_variant_unref (value); 2039s # } 2039s # } 2039s # } 2039s # out: 2039s # return g_variant_builder_end (&builder); 2039s # } 2039s # 2039s # static gboolean _good_types_emit_changed (gpointer user_data); 2039s # 2039s # static void 2039s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton); 2039s # gboolean emit_changed = FALSE; 2039s # 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # if (skeleton->priv->changed_properties_idle_source != NULL) 2039s # { 2039s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2039s # skeleton->priv->changed_properties_idle_source = NULL; 2039s # emit_changed = TRUE; 2039s # } 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # 2039s # if (emit_changed) 2039s # _good_types_emit_changed (skeleton); 2039s # } 2039s # 2039s # static void good_types_skeleton_iface_init (GoodTypesIface *iface); 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_ADD_PRIVATE (GoodTypesSkeleton) 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # good_types_skeleton_finalize (GObject *object) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # guint n; 2039s # for (n = 0; n < 1; n++) 2039s # g_value_unset (&skeleton->priv->properties[n]); 2039s # g_free (skeleton->priv->properties); 2039s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2039s # if (skeleton->priv->changed_properties_idle_source != NULL) 2039s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2039s # g_main_context_unref (skeleton->priv->context); 2039s # g_mutex_clear (&skeleton->priv->lock); 2039s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_get_property (GObject *object, 2039s # guint prop_id, 2039s # GValue *value, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # } 2039s # 2039s # static gboolean 2039s # _good_types_emit_changed (gpointer user_data) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data); 2039s # GList *l; 2039s # GVariantBuilder builder; 2039s # GVariantBuilder invalidated_builder; 2039s # guint num_changes; 2039s # 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2039s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 2039s # #else 2039s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 2039s # #endif 2039s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 2039s # { 2039s # ChangedProperty *cp = l->data; 2039s # GVariant *variant; 2039s # const GValue *cur_value; 2039s # 2039s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 2039s # if (!_g_value_equal (cur_value, &cp->orig_value)) 2039s # { 2039s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 2039s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 2039s # g_variant_unref (variant); 2039s # num_changes++; 2039s # } 2039s # } 2039s # if (num_changes > 0) 2039s # { 2039s # GList *connections, *ll; 2039s # GVariant *signal_variant; 2039s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes", 2039s # &builder, &invalidated_builder)); 2039s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2039s # for (ll = connections; ll != NULL; ll = ll->next) 2039s # { 2039s # GDBusConnection *connection = ll->data; 2039s # 2039s # g_dbus_connection_emit_signal (connection, 2039s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 2039s # "org.freedesktop.DBus.Properties", 2039s # "PropertiesChanged", 2039s # signal_variant, 2039s # NULL); 2039s # } 2039s # g_variant_unref (signal_variant); 2039s # g_list_free_full (connections, g_object_unref); 2039s # } 2039s # else 2039s # { 2039s # g_variant_builder_clear (&builder); 2039s # g_variant_builder_clear (&invalidated_builder); 2039s # } 2039s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2039s # skeleton->priv->changed_properties = NULL; 2039s # skeleton->priv->changed_properties_idle_source = NULL; 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # return FALSE; 2039s # } 2039s # 2039s # static void 2039s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 2039s # { 2039s # ChangedProperty *cp; 2039s # GList *l; 2039s # cp = NULL; 2039s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 2039s # { 2039s # ChangedProperty *i_cp = l->data; 2039s # if (i_cp->info == info) 2039s # { 2039s # cp = i_cp; 2039s # break; 2039s # } 2039s # } 2039s # if (cp == NULL) 2039s # { 2039s # cp = g_new0 (ChangedProperty, 1); 2039s # cp->prop_id = prop_id; 2039s # cp->info = info; 2039s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 2039s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 2039s # g_value_copy (orig_value, &cp->orig_value); 2039s # } 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_notify (GObject *object, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # if (skeleton->priv->changed_properties != NULL && 2039s # skeleton->priv->changed_properties_idle_source == NULL) 2039s # { 2039s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 2039s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 2039s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 2039s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed"); 2039s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 2039s # g_source_unref (skeleton->priv->changed_properties_idle_source); 2039s # } 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_set_property (GObject *object, 2039s # guint prop_id, 2039s # const GValue *value, 2039s # GParamSpec *pspec) 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2039s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1]; 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # g_object_freeze_notify (object); 2039s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 2039s # { 2039s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 2039s # info->emits_changed_signal) 2039s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 2039s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 2039s # g_object_notify_by_pspec (object, pspec); 2039s # } 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # g_object_thaw_notify (object); 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_init (GoodTypesSkeleton *skeleton) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton); 2039s # #else 2039s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate); 2039s # #endif 2039s # 2039s # g_mutex_init (&skeleton->priv->lock); 2039s # skeleton->priv->context = g_main_context_ref_thread_default (); 2039s # skeleton->priv->properties = g_new0 (GValue, 1); 2039s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT); 2039s # } 2039s # 2039s # static GVariant * 2039s # good_types_skeleton_get_good_property_type (GoodTypes *object) 2039s # { 2039s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object); 2039s # GVariant *value; 2039s # g_mutex_lock (&skeleton->priv->lock); 2039s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0])); 2039s # g_mutex_unlock (&skeleton->priv->lock); 2039s # return value; 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusInterfaceSkeletonClass *skeleton_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = good_types_skeleton_finalize; 2039s # gobject_class->get_property = good_types_skeleton_get_property; 2039s # gobject_class->set_property = good_types_skeleton_set_property; 2039s # gobject_class->notify = good_types_skeleton_notify; 2039s # 2039s # 2039s # good_types_override_properties (gobject_class, 1); 2039s # 2039s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2039s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info; 2039s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties; 2039s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush; 2039s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable; 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # good_types_skeleton_iface_init (GoodTypesIface *iface) 2039s # { 2039s # iface->get_good_property_type = good_types_skeleton_get_good_property_type; 2039s # } 2039s # 2039s # /** 2039s # * good_types_skeleton_new: 2039s # * 2039s # * Creates a skeleton object for the D-Bus interface GoodTypes. 2039s # * 2039s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object. 2039s # */ 2039s # GoodTypes * 2039s # good_types_skeleton_new (void) 2039s # { 2039s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL)); 2039s # } 2039s # Error: 2039s ok 3 __main__.TestCodegen.test_empty_interface_body 2039s # gdbus-codegen: /usr/bin/gdbus-codegen 2039s # tmpdir: /tmp/tmplz8cdhov 2039s # /tmp/tmplz8cdhov/tmpwy9mrwy2.xml: 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmplz8cdhov/tmpwy9mrwy2.xml', '--output', '-', '--body'] 2039s # Return code: 0 2039s # Output: 2039s # /* 2039s # * This file is generated by gdbus-codegen, do not modify it. 2039s # * 2039s # * The license of this code is the same as for the D-Bus interface description 2039s # * it was derived from. Note that it links to GLib, so must comply with the 2039s # * LGPL linking clauses. 2039s # */ 2039s # 2039s # #ifdef HAVE_CONFIG_H 2039s # # include "config.h" 2039s # #endif 2039s # 2039s # #include 2039s # #ifdef G_OS_UNIX 2039s # # include 2039s # #endif 2039s # 2039s # #ifdef G_ENABLE_DEBUG 2039s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2039s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2039s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2039s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2039s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2039s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2039s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2039s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2039s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2039s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2039s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2039s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2039s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2039s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2039s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2039s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2039s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2039s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2039s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2039s # #else /* !G_ENABLE_DEBUG */ 2039s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2039s # * Do not access GValues directly in your code. Instead, use the 2039s # * g_value_get_*() functions 2039s # */ 2039s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2039s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2039s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2039s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2039s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2039s # #endif /* !G_ENABLE_DEBUG */ 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusArgInfo parent_struct; 2039s # gboolean use_gvariant; 2039s # } _ExtendedGDBusArgInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusMethodInfo parent_struct; 2039s # const gchar *signal_name; 2039s # gboolean pass_fdlist; 2039s # } _ExtendedGDBusMethodInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusSignalInfo parent_struct; 2039s # const gchar *signal_name; 2039s # } _ExtendedGDBusSignalInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusPropertyInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # guint use_gvariant : 1; 2039s # guint emits_changed_signal : 1; 2039s # } _ExtendedGDBusPropertyInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusInterfaceInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # } _ExtendedGDBusInterfaceInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # guint prop_id; 2039s # GValue orig_value; /* the value before the change */ 2039s # } ChangedProperty; 2039s # 2039s # static void 2039s # _changed_property_free (ChangedProperty *data) 2039s # { 2039s # g_value_unset (&data->orig_value); 2039s # g_free (data); 2039s # } 2039s # 2039s # static gboolean 2039s # _g_strv_equal0 (gchar **a, gchar **b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # guint n; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # if (g_strv_length (a) != g_strv_length (b)) 2039s # goto out; 2039s # for (n = 0; a[n] != NULL; n++) 2039s # if (g_strcmp0 (a[n], b[n]) != 0) 2039s # goto out; 2039s # ret = TRUE; 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _g_variant_equal0 (GVariant *a, GVariant *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # ret = g_variant_equal (a, b); 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # G_GNUC_UNUSED static gboolean 2039s # _g_value_equal (const GValue *a, const GValue *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2039s # switch (G_VALUE_TYPE (a)) 2039s # { 2039s # case G_TYPE_BOOLEAN: 2039s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2039s # break; 2039s # case G_TYPE_UCHAR: 2039s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2039s # break; 2039s # case G_TYPE_INT: 2039s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2039s # break; 2039s # case G_TYPE_UINT: 2039s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2039s # break; 2039s # case G_TYPE_INT64: 2039s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2039s # break; 2039s # case G_TYPE_UINT64: 2039s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2039s # break; 2039s # case G_TYPE_DOUBLE: 2039s # { 2039s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2039s # gdouble da = g_value_get_double (a); 2039s # gdouble db = g_value_get_double (b); 2039s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2039s # } 2039s # break; 2039s # case G_TYPE_STRING: 2039s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2039s # break; 2039s # case G_TYPE_VARIANT: 2039s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2039s # break; 2039s # default: 2039s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2039s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2039s # else 2039s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2039s # break; 2039s # } 2039s # return ret; 2039s # } 2039s # Error: 2039s ok 4 __main__.TestCodegen.test_empty_interface_header 2039s # gdbus-codegen: /usr/bin/gdbus-codegen 2039s # tmpdir: /tmp/tmpigkb2yg_ 2039s # /tmp/tmpigkb2yg_/tmpkf11lklq.xml: 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpigkb2yg_/tmpkf11lklq.xml', '--output', '-', '--header'] 2039s # Return code: 0 2039s # Output: 2039s # /* 2039s # * This file is generated by gdbus-codegen, do not modify it. 2039s # * 2039s # * The license of this code is the same as for the D-Bus interface description 2039s # * it was derived from. Note that it links to GLib, so must comply with the 2039s # * LGPL linking clauses. 2039s # */ 2039s # 2039s # #ifndef __STDOUT__ 2039s # #define __STDOUT__ 2039s # 2039s # #include 2039s # 2039s # G_BEGIN_DECLS 2039s # 2039s # 2039s # G_END_DECLS 2039s # 2039s # #endif /* __STDOUT__ */ 2039s # Error: 2039s ok 5 __main__.TestCodegen.test_empty_interface_info_body 2039s # gdbus-codegen: /usr/bin/gdbus-codegen 2039s # tmpdir: /tmp/tmp2oexsl3b 2039s # /tmp/tmp2oexsl3b/tmpegulkyd9.xml: 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2oexsl3b/tmpegulkyd9.xml', '--output', '-', '--interface-info-body'] 2039s # Return code: 0 2039s # Output: 2039s # /* 2039s # * This file is generated by gdbus-codegen, do not modify it. 2039s # * 2039s # * The license of this code is the same as for the D-Bus interface description 2039s # * it was derived from. Note that it links to GLib, so must comply with the 2039s # * LGPL linking clauses. 2039s # */ 2039s # 2039s # #ifdef HAVE_CONFIG_H 2039s # # include "config.h" 2039s # #endif 2039s # 2039s # #include 2039s # Error: 2039s ok 6 __main__.TestCodegen.test_empty_interface_info_header 2039s # gdbus-codegen: /usr/bin/gdbus-codegen 2039s # tmpdir: /tmp/tmpoc46zyh8 2039s # /tmp/tmpoc46zyh8/tmp_4hzisb0.xml: 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpoc46zyh8/tmp_4hzisb0.xml', '--output', '-', '--interface-info-header'] 2039s # Return code: 0 2039s # Output: 2039s # /* 2039s # * This file is generated by gdbus-codegen, do not modify it. 2039s # * 2039s # * The license of this code is the same as for the D-Bus interface description 2039s # * it was derived from. Note that it links to GLib, so must comply with the 2039s # * LGPL linking clauses. 2039s # */ 2039s # 2039s # #ifndef __STDOUT__ 2039s # #define __STDOUT__ 2039s # 2039s # #include 2039s # 2039s # G_BEGIN_DECLS 2039s # 2039s # 2039s # G_END_DECLS 2039s # 2039s # #endif /* __STDOUT__ */ 2039s # Error: 2039s ok 7 __main__.TestCodegen.test_generate_docbook 2039s # gdbus-codegen: /usr/bin/gdbus-codegen 2039s # tmpdir: /tmp/tmpqvujrdva 2039s # /tmp/tmpqvujrdva/tmp4gtw28vj.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqvujrdva/tmp4gtw28vj.xml', '--generate-docbook', 'test'] 2039s # Return code: 0 2039s # Output: 2039s # 2039s # Error: 2039s ok 8 __main__.TestCodegen.test_generate_md 2039s # gdbus-codegen: /usr/bin/gdbus-codegen 2039s # tmpdir: /tmp/tmpowk3ulpr 2039s # /tmp/tmpowk3ulpr/tmpz3wdmnpj.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpowk3ulpr/tmpz3wdmnpj.xml', '--generate-md', 'test'] 2039s # Return code: 0 2039s # Output: 2039s # 2039s # Error: 2039s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method 2039s # gdbus-codegen: /usr/bin/gdbus-codegen 2039s # tmpdir: /tmp/tmp3f1gkcqo 2039s # /tmp/tmp3f1gkcqo/tmpq1vfge9e.xml: 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # 2039s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp3f1gkcqo/tmpq1vfge9e.xml', '--output', '-', '--body'] 2039s # Return code: 0 2039s # Output: 2039s # /* 2039s # * This file is generated by gdbus-codegen, do not modify it. 2039s # * 2039s # * The license of this code is the same as for the D-Bus interface description 2039s # * it was derived from. Note that it links to GLib, so must comply with the 2039s # * LGPL linking clauses. 2039s # */ 2039s # 2039s # #ifdef HAVE_CONFIG_H 2039s # # include "config.h" 2039s # #endif 2039s # 2039s # #include 2039s # #ifdef G_OS_UNIX 2039s # # include 2039s # #endif 2039s # 2039s # #ifdef G_ENABLE_DEBUG 2039s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2039s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2039s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2039s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2039s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2039s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2039s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2039s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2039s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2039s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2039s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2039s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2039s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2039s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2039s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2039s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2039s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2039s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2039s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2039s # #else /* !G_ENABLE_DEBUG */ 2039s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2039s # * Do not access GValues directly in your code. Instead, use the 2039s # * g_value_get_*() functions 2039s # */ 2039s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2039s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2039s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2039s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2039s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2039s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2039s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2039s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2039s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2039s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2039s # #endif /* !G_ENABLE_DEBUG */ 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusArgInfo parent_struct; 2039s # gboolean use_gvariant; 2039s # } _ExtendedGDBusArgInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusMethodInfo parent_struct; 2039s # const gchar *signal_name; 2039s # gboolean pass_fdlist; 2039s # } _ExtendedGDBusMethodInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusSignalInfo parent_struct; 2039s # const gchar *signal_name; 2039s # } _ExtendedGDBusSignalInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusPropertyInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # guint use_gvariant : 1; 2039s # guint emits_changed_signal : 1; 2039s # } _ExtendedGDBusPropertyInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # GDBusInterfaceInfo parent_struct; 2039s # const gchar *hyphen_name; 2039s # } _ExtendedGDBusInterfaceInfo; 2039s # 2039s # typedef struct 2039s # { 2039s # const _ExtendedGDBusPropertyInfo *info; 2039s # guint prop_id; 2039s # GValue orig_value; /* the value before the change */ 2039s # } ChangedProperty; 2039s # 2039s # static void 2039s # _changed_property_free (ChangedProperty *data) 2039s # { 2039s # g_value_unset (&data->orig_value); 2039s # g_free (data); 2039s # } 2039s # 2039s # static gboolean 2039s # _g_strv_equal0 (gchar **a, gchar **b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # guint n; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # if (g_strv_length (a) != g_strv_length (b)) 2039s # goto out; 2039s # for (n = 0; a[n] != NULL; n++) 2039s # if (g_strcmp0 (a[n], b[n]) != 0) 2039s # goto out; 2039s # ret = TRUE; 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _g_variant_equal0 (GVariant *a, GVariant *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # if (a == NULL && b == NULL) 2039s # { 2039s # ret = TRUE; 2039s # goto out; 2039s # } 2039s # if (a == NULL || b == NULL) 2039s # goto out; 2039s # ret = g_variant_equal (a, b); 2039s # out: 2039s # return ret; 2039s # } 2039s # 2039s # G_GNUC_UNUSED static gboolean 2039s # _g_value_equal (const GValue *a, const GValue *b) 2039s # { 2039s # gboolean ret = FALSE; 2039s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2039s # switch (G_VALUE_TYPE (a)) 2039s # { 2039s # case G_TYPE_BOOLEAN: 2039s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2039s # break; 2039s # case G_TYPE_UCHAR: 2039s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2039s # break; 2039s # case G_TYPE_INT: 2039s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2039s # break; 2039s # case G_TYPE_UINT: 2039s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2039s # break; 2039s # case G_TYPE_INT64: 2039s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2039s # break; 2039s # case G_TYPE_UINT64: 2039s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2039s # break; 2039s # case G_TYPE_DOUBLE: 2039s # { 2039s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2039s # gdouble da = g_value_get_double (a); 2039s # gdouble db = g_value_get_double (b); 2039s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2039s # } 2039s # break; 2039s # case G_TYPE_STRING: 2039s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2039s # break; 2039s # case G_TYPE_VARIANT: 2039s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2039s # break; 2039s # default: 2039s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2039s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2039s # else 2039s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2039s # break; 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static void 2039s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2039s # GClosure *closure, 2039s # GValue *return_value, 2039s # unsigned int n_param_values, 2039s # const GValue *param_values, 2039s # void *invocation_hint G_GNUC_UNUSED, 2039s # void *marshal_data) 2039s # { 2039s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2039s # (void *data1, 2039s # GDBusMethodInvocation *arg_method_invocation, 2039s # void *data2); 2039s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2039s # GCClosure *cc = (GCClosure*) closure; 2039s # void *data1, *data2; 2039s # gboolean v_return; 2039s # 2039s # g_return_if_fail (return_value != NULL); 2039s # g_return_if_fail (n_param_values == 2); 2039s # 2039s # if (G_CCLOSURE_SWAP_DATA (closure)) 2039s # { 2039s # data1 = closure->data; 2039s # data2 = g_value_peek_pointer (param_values + 0); 2039s # } 2039s # else 2039s # { 2039s # data1 = g_value_peek_pointer (param_values + 0); 2039s # data2 = closure->data; 2039s # } 2039s # 2039s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2039s # (marshal_data ? marshal_data : cc->callback); 2039s # 2039s # v_return = 2039s # callback (data1, 2039s # g_marshal_value_peek_object (param_values + 1), 2039s # data2); 2039s # 2039s # g_value_set_boolean (return_value, v_return); 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ 2039s # * Code for interface org.project.CallableIface 2039s # * ------------------------------------------------------------------------ 2039s # */ 2039s # 2039s # /** 2039s # * SECTION:OrgProjectCallableIface 2039s # * @title: OrgProjectCallableIface 2039s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 2039s # * 2039s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 2039s # */ 2039s # 2039s # /* ---- Introspection data for org.project.CallableIface ---- */ 2039s # 2039s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "SimpleMethod", 2039s # NULL, 2039s # NULL, 2039s # NULL 2039s # }, 2039s # "handle-simple-method", 2039s # FALSE 2039s # }; 2039s # 2039s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 2039s # { 2039s # &_org_project_callable_iface_method_info_simple_method.parent_struct, 2039s # NULL 2039s # }; 2039s # 2039s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "org.project.CallableIface", 2039s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 2039s # NULL, 2039s # NULL, 2039s # NULL 2039s # }, 2039s # "org-project-callable-iface", 2039s # }; 2039s # 2039s # 2039s # /** 2039s # * org_project_callable_iface_interface_info: 2039s # * 2039s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 2039s # * 2039s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2039s # */ 2039s # GDBusInterfaceInfo * 2039s # org_project_callable_iface_interface_info (void) 2039s # { 2039s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_override_properties: 2039s # * @klass: The class structure for a #GObject derived class. 2039s # * @property_id_begin: The property id to assign to the first overridden property. 2039s # * 2039s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 2039s # * The properties are overridden in the order they are defined. 2039s # * 2039s # * Returns: The last property id. 2039s # */ 2039s # guint 2039s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2039s # { 2039s # return property_id_begin - 1; 2039s # } 2039s # 2039s # 2039s # inline static void 2039s # org_project_callable_iface_method_marshal_simple_method ( 2039s # GClosure *closure, 2039s # GValue *return_value, 2039s # unsigned int n_param_values, 2039s # const GValue *param_values, 2039s # void *invocation_hint, 2039s # void *marshal_data) 2039s # { 2039s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2039s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2039s # } 2039s # 2039s # 2039s # /** 2039s # * OrgProjectCallableIface: 2039s # * 2039s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 2039s # */ 2039s # 2039s # /** 2039s # * OrgProjectCallableIfaceIface: 2039s # * @parent_iface: The parent interface. 2039s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal. 2039s # * 2039s # * Virtual table for the D-Bus interface org.project.CallableIface. 2039s # */ 2039s # 2039s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 2039s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 2039s # 2039s # static void 2039s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 2039s # { 2039s # /* GObject signals for incoming D-Bus method calls: */ 2039s # /** 2039s # * OrgProjectCallableIface::handle-simple-method: 2039s # * @object: A #OrgProjectCallableIface. 2039s # * @invocation: A #GDBusMethodInvocation. 2039s # * 2039s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 2039s # * 2039s # * 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. 2039s # * 2039s # * 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. 2039s # */ 2039s # g_signal_new ("handle-simple-method", 2039s # G_TYPE_FROM_INTERFACE (iface), 2039s # G_SIGNAL_RUN_LAST, 2039s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method), 2039s # g_signal_accumulator_true_handled, 2039s # NULL, 2039s # org_project_callable_iface_method_marshal_simple_method, 2039s # G_TYPE_BOOLEAN, 2039s # 1, 2039s # G_TYPE_DBUS_METHOD_INVOCATION); 2039s # 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_call_simple_method: 2039s # * @proxy: A #OrgProjectCallableIfaceProxy. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation. 2039s # * 2039s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 2039s # */ 2039s # void 2039s # org_project_callable_iface_call_simple_method ( 2039s # OrgProjectCallableIface *proxy, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2039s # "SimpleMethod", 2039s # g_variant_new ("()"), 2039s # G_DBUS_CALL_FLAGS_NONE, 2039s # -1, 2039s # cancellable, 2039s # callback, 2039s # user_data); 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_call_simple_method_finish: 2039s # * @proxy: A #OrgProjectCallableIfaceProxy. 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method(). 2039s # * @error: Return location for error or %NULL. 2039s # * 2039s # * Finishes an operation started with org_project_callable_iface_call_simple_method(). 2039s # * 2039s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2039s # */ 2039s # gboolean 2039s # org_project_callable_iface_call_simple_method_finish ( 2039s # OrgProjectCallableIface *proxy, 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GVariant *_ret; 2039s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2039s # if (_ret == NULL) 2039s # goto _out; 2039s # g_variant_get (_ret, 2039s # "()"); 2039s # g_variant_unref (_ret); 2039s # _out: 2039s # return _ret != NULL; 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_call_simple_method_sync: 2039s # * @proxy: A #OrgProjectCallableIfaceProxy. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL. 2039s # * 2039s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2039s # * 2039s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method. 2039s # * 2039s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2039s # */ 2039s # gboolean 2039s # org_project_callable_iface_call_simple_method_sync ( 2039s # OrgProjectCallableIface *proxy, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GVariant *_ret; 2039s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2039s # "SimpleMethod", 2039s # g_variant_new ("()"), 2039s # G_DBUS_CALL_FLAGS_NONE, 2039s # -1, 2039s # cancellable, 2039s # error); 2039s # if (_ret == NULL) 2039s # goto _out; 2039s # g_variant_get (_ret, 2039s # "()"); 2039s # g_variant_unref (_ret); 2039s # _out: 2039s # return _ret != NULL; 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_complete_simple_method: 2039s # * @object: A #OrgProjectCallableIface. 2039s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2039s # * 2039s # * 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. 2039s # * 2039s # * This method will free @invocation, you cannot use it afterwards. 2039s # */ 2039s # void 2039s # org_project_callable_iface_complete_simple_method ( 2039s # OrgProjectCallableIface *object G_GNUC_UNUSED, 2039s # GDBusMethodInvocation *invocation) 2039s # { 2039s # g_dbus_method_invocation_return_value (invocation, 2039s # g_variant_new ("()")); 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * OrgProjectCallableIfaceProxy: 2039s # * 2039s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * OrgProjectCallableIfaceProxyClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for #OrgProjectCallableIfaceProxy. 2039s # */ 2039s # 2039s # struct _OrgProjectCallableIfaceProxyPrivate 2039s # { 2039s # GData *qdata; 2039s # }; 2039s # 2039s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2039s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 2039s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2039s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # org_project_callable_iface_proxy_finalize (GObject *object) 2039s # { 2039s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 2039s # g_datalist_clear (&proxy->priv->qdata); 2039s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2039s # guint prop_id G_GNUC_UNUSED, 2039s # GValue *value G_GNUC_UNUSED, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2039s # guint prop_id G_GNUC_UNUSED, 2039s # const GValue *value G_GNUC_UNUSED, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 2039s # const gchar *sender_name G_GNUC_UNUSED, 2039s # const gchar *signal_name, 2039s # GVariant *parameters) 2039s # { 2039s # _ExtendedGDBusSignalInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # gsize n; 2039s # guint signal_id; 2039s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 2039s # if (info == NULL) 2039s # return; 2039s # num_params = g_variant_n_children (parameters); 2039s # paramv = g_new0 (GValue, num_params + 1); 2039s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 2039s # g_value_set_object (¶mv[0], proxy); 2039s # g_variant_iter_init (&iter, parameters); 2039s # n = 1; 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 2039s # g_signal_emitv (paramv, signal_id, 0, NULL); 2039s # for (n = 0; n < num_params + 1; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2039s # GVariant *changed_properties, 2039s # const gchar *const *invalidated_properties) 2039s # { 2039s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 2039s # guint n; 2039s # const gchar *key; 2039s # GVariantIter *iter; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # g_variant_get (changed_properties, "a{sv}", &iter); 2039s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 2039s # g_datalist_remove_data (&proxy->priv->qdata, key); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # g_variant_iter_free (iter); 2039s # for (n = 0; invalidated_properties[n] != NULL; n++) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 2039s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 2039s # #else 2039s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 2039s # #endif 2039s # 2039s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusProxyClass *proxy_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 2039s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 2039s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 2039s # 2039s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2039s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 2039s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_proxy_new: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 2039s # * 2039s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # org_project_callable_iface_proxy_new ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_proxy_new_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # OrgProjectCallableIface * 2039s # org_project_callable_iface_proxy_new_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_proxy_new_sync: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # OrgProjectCallableIface * 2039s # org_project_callable_iface_proxy_new_sync ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /** 2039s # * org_project_callable_iface_proxy_new_for_bus: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 2039s # * 2039s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # org_project_callable_iface_proxy_new_for_bus ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_proxy_new_for_bus_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # OrgProjectCallableIface * 2039s # org_project_callable_iface_proxy_new_for_bus_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_proxy_new_for_bus_sync: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # OrgProjectCallableIface * 2039s # org_project_callable_iface_proxy_new_for_bus_sync ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * OrgProjectCallableIfaceSkeleton: 2039s # * 2039s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * OrgProjectCallableIfaceSkeletonClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for #OrgProjectCallableIfaceSkeleton. 2039s # */ 2039s # 2039s # struct _OrgProjectCallableIfaceSkeletonPrivate 2039s # { 2039s # GValue *properties; 2039s # GList *changed_properties; 2039s # GSource *changed_properties_idle_source; 2039s # GMainContext *context; 2039s # GMutex lock; 2039s # }; 2039s # 2039s # static void 2039s # _org_project_callable_iface_skeleton_handle_method_call ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name, 2039s # const gchar *method_name, 2039s # GVariant *parameters, 2039s # GDBusMethodInvocation *invocation, 2039s # gpointer user_data) 2039s # { 2039s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 2039s # _ExtendedGDBusMethodInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # guint num_extra; 2039s # gsize n; 2039s # guint signal_id; 2039s # GValue return_value = G_VALUE_INIT; 2039s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2039s # g_assert (info != NULL); 2039s # num_params = g_variant_n_children (parameters); 2039s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2039s # n = 0; 2039s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 2039s # g_value_set_object (¶mv[n++], skeleton); 2039s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2039s # g_value_set_object (¶mv[n++], invocation); 2039s # if (info->pass_fdlist) 2039s # { 2039s # #ifdef G_OS_UNIX 2039s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2039s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2039s # #else 2039s # g_assert_not_reached (); 2039s # #endif 2039s # } 2039s # g_variant_iter_init (&iter, parameters); 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 2039s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2039s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2039s # if (!g_value_get_boolean (&return_value)) 2039s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2039s # g_value_unset (&return_value); 2039s # for (n = 0; n < num_params + num_extra; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static GVariant * 2039s # _org_project_callable_iface_skeleton_handle_get_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *ret; 2039s # ret = NULL; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # g_value_init (&value, pspec->value_type); 2039s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2039s # g_value_unset (&value); 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _org_project_callable_iface_skeleton_handle_set_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GVariant *variant, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # gboolean ret; 2039s # ret = FALSE; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # if (info->use_gvariant) 2039s # g_value_set_variant (&value, variant); 2039s # else 2039s # g_dbus_gvariant_to_gvalue (variant, &value); 2039s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # g_value_unset (&value); 2039s # ret = TRUE; 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 2039s # { 2039s # _org_project_callable_iface_skeleton_handle_method_call, 2039s # _org_project_callable_iface_skeleton_handle_get_property, 2039s # _org_project_callable_iface_skeleton_handle_set_property, 2039s # {NULL} 2039s # }; 2039s # 2039s # static GDBusInterfaceInfo * 2039s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return org_project_callable_iface_interface_info (); 2039s # } 2039s # 2039s # static GDBusInterfaceVTable * 2039s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 2039s # } 2039s # 2039s # static GVariant * 2039s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2039s # { 2039s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 2039s # 2039s # GVariantBuilder builder; 2039s # guint n; 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2039s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #else 2039s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #endif 2039s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 2039s # goto out; 2039s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2039s # { 2039s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 2039s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2039s # { 2039s # GVariant *value; 2039s # 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); 2039s # if (value != NULL) 2039s # { 2039s # g_variant_take_ref (value); 2039s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2039s # g_variant_unref (value); 2039s # } 2039s # } 2039s # } 2039s # out: 2039s # return g_variant_builder_end (&builder); 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 2039s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # org_project_callable_iface_skeleton_finalize (GObject *object) 2039s # { 2039s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 2039s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2039s # if (skeleton->priv->changed_properties_idle_source != NULL) 2039s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2039s # g_main_context_unref (skeleton->priv->context); 2039s # g_mutex_clear (&skeleton->priv->lock); 2039s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 2039s # #else 2039s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 2039s # #endif 2039s # 2039s # g_mutex_init (&skeleton->priv->lock); 2039s # skeleton->priv->context = g_main_context_ref_thread_default (); 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusInterfaceSkeletonClass *skeleton_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 2039s # 2039s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2039s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 2039s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 2039s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 2039s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # /** 2039s # * org_project_callable_iface_skeleton_new: 2039s # * 2039s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 2039s # */ 2039s # OrgProjectCallableIface * 2039s # org_project_callable_iface_skeleton_new (void) 2039s # { 2039s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ 2039s # * Code for interface org.project.OtherCallableIface 2039s # * ------------------------------------------------------------------------ 2039s # */ 2039s # 2039s # /** 2039s # * SECTION:OrgProjectOtherCallableIface 2039s # * @title: OrgProjectOtherCallableIface 2039s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 2039s # * 2039s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 2039s # */ 2039s # 2039s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 2039s # 2039s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "SimpleMethod", 2039s # NULL, 2039s # NULL, 2039s # NULL 2039s # }, 2039s # "handle-simple-method", 2039s # FALSE 2039s # }; 2039s # 2039s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 2039s # { 2039s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct, 2039s # NULL 2039s # }; 2039s # 2039s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 2039s # { 2039s # { 2039s # -1, 2039s # (gchar *) "org.project.OtherCallableIface", 2039s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 2039s # NULL, 2039s # NULL, 2039s # NULL 2039s # }, 2039s # "org-project-other-callable-iface", 2039s # }; 2039s # 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_interface_info: 2039s # * 2039s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 2039s # * 2039s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2039s # */ 2039s # GDBusInterfaceInfo * 2039s # org_project_other_callable_iface_interface_info (void) 2039s # { 2039s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_override_properties: 2039s # * @klass: The class structure for a #GObject derived class. 2039s # * @property_id_begin: The property id to assign to the first overridden property. 2039s # * 2039s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 2039s # * The properties are overridden in the order they are defined. 2039s # * 2039s # * Returns: The last property id. 2039s # */ 2039s # guint 2039s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2039s # { 2039s # return property_id_begin - 1; 2039s # } 2039s # 2039s # 2039s # inline static void 2039s # org_project_other_callable_iface_method_marshal_simple_method ( 2039s # GClosure *closure, 2039s # GValue *return_value, 2039s # unsigned int n_param_values, 2039s # const GValue *param_values, 2039s # void *invocation_hint, 2039s # void *marshal_data) 2039s # { 2039s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2039s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2039s # } 2039s # 2039s # 2039s # /** 2039s # * OrgProjectOtherCallableIface: 2039s # * 2039s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 2039s # */ 2039s # 2039s # /** 2039s # * OrgProjectOtherCallableIfaceIface: 2039s # * @parent_iface: The parent interface. 2039s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal. 2039s # * 2039s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 2039s # */ 2039s # 2039s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 2039s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 2039s # 2039s # static void 2039s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 2039s # { 2039s # /* GObject signals for incoming D-Bus method calls: */ 2039s # /** 2039s # * OrgProjectOtherCallableIface::handle-simple-method: 2039s # * @object: A #OrgProjectOtherCallableIface. 2039s # * @invocation: A #GDBusMethodInvocation. 2039s # * 2039s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method. 2039s # * 2039s # * 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. 2039s # * 2039s # * 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. 2039s # */ 2039s # g_signal_new ("handle-simple-method", 2039s # G_TYPE_FROM_INTERFACE (iface), 2039s # G_SIGNAL_RUN_LAST, 2039s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method), 2039s # g_signal_accumulator_true_handled, 2039s # NULL, 2039s # org_project_other_callable_iface_method_marshal_simple_method, 2039s # G_TYPE_BOOLEAN, 2039s # 1, 2039s # G_TYPE_DBUS_METHOD_INVOCATION); 2039s # 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_call_simple_method: 2039s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy. 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation. 2039s # * 2039s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method. 2039s # */ 2039s # void 2039s # org_project_other_callable_iface_call_simple_method ( 2039s # OrgProjectOtherCallableIface *proxy, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2039s # "SimpleMethod", 2039s # g_variant_new ("()"), 2039s # G_DBUS_CALL_FLAGS_NONE, 2039s # -1, 2039s # cancellable, 2039s # callback, 2039s # user_data); 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_call_simple_method_finish: 2039s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method(). 2039s # * @error: Return location for error or %NULL. 2039s # * 2039s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method(). 2039s # * 2039s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2039s # */ 2039s # gboolean 2039s # org_project_other_callable_iface_call_simple_method_finish ( 2039s # OrgProjectOtherCallableIface *proxy, 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GVariant *_ret; 2039s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2039s # if (_ret == NULL) 2039s # goto _out; 2039s # g_variant_get (_ret, 2039s # "()"); 2039s # g_variant_unref (_ret); 2039s # _out: 2039s # return _ret != NULL; 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_call_simple_method_sync: 2039s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL. 2039s # * 2039s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2039s # * 2039s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method. 2039s # * 2039s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2039s # */ 2039s # gboolean 2039s # org_project_other_callable_iface_call_simple_method_sync ( 2039s # OrgProjectOtherCallableIface *proxy, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GVariant *_ret; 2039s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2039s # "SimpleMethod", 2039s # g_variant_new ("()"), 2039s # G_DBUS_CALL_FLAGS_NONE, 2039s # -1, 2039s # cancellable, 2039s # error); 2039s # if (_ret == NULL) 2039s # goto _out; 2039s # g_variant_get (_ret, 2039s # "()"); 2039s # g_variant_unref (_ret); 2039s # _out: 2039s # return _ret != NULL; 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_complete_simple_method: 2039s # * @object: A #OrgProjectOtherCallableIface. 2039s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2039s # * 2039s # * 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. 2039s # * 2039s # * This method will free @invocation, you cannot use it afterwards. 2039s # */ 2039s # void 2039s # org_project_other_callable_iface_complete_simple_method ( 2039s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 2039s # GDBusMethodInvocation *invocation) 2039s # { 2039s # g_dbus_method_invocation_return_value (invocation, 2039s # g_variant_new ("()")); 2039s # } 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * OrgProjectOtherCallableIfaceProxy: 2039s # * 2039s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * OrgProjectOtherCallableIfaceProxyClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 2039s # */ 2039s # 2039s # struct _OrgProjectOtherCallableIfaceProxyPrivate 2039s # { 2039s # GData *qdata; 2039s # }; 2039s # 2039s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2039s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 2039s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2039s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # org_project_other_callable_iface_proxy_finalize (GObject *object) 2039s # { 2039s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 2039s # g_datalist_clear (&proxy->priv->qdata); 2039s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2039s # guint prop_id G_GNUC_UNUSED, 2039s # GValue *value G_GNUC_UNUSED, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2039s # guint prop_id G_GNUC_UNUSED, 2039s # const GValue *value G_GNUC_UNUSED, 2039s # GParamSpec *pspec G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 2039s # const gchar *sender_name G_GNUC_UNUSED, 2039s # const gchar *signal_name, 2039s # GVariant *parameters) 2039s # { 2039s # _ExtendedGDBusSignalInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # gsize n; 2039s # guint signal_id; 2039s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 2039s # if (info == NULL) 2039s # return; 2039s # num_params = g_variant_n_children (parameters); 2039s # paramv = g_new0 (GValue, num_params + 1); 2039s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 2039s # g_value_set_object (¶mv[0], proxy); 2039s # g_variant_iter_init (&iter, parameters); 2039s # n = 1; 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 2039s # g_signal_emitv (paramv, signal_id, 0, NULL); 2039s # for (n = 0; n < num_params + 1; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2039s # GVariant *changed_properties, 2039s # const gchar *const *invalidated_properties) 2039s # { 2039s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 2039s # guint n; 2039s # const gchar *key; 2039s # GVariantIter *iter; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # g_variant_get (changed_properties, "a{sv}", &iter); 2039s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 2039s # g_datalist_remove_data (&proxy->priv->qdata, key); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # g_variant_iter_free (iter); 2039s # for (n = 0; invalidated_properties[n] != NULL; n++) 2039s # { 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 2039s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2039s # if (info != NULL) 2039s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2039s # } 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 2039s # #else 2039s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 2039s # #endif 2039s # 2039s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusProxyClass *proxy_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 2039s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 2039s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 2039s # 2039s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2039s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 2039s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_proxy_new: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 2039s # * 2039s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # org_project_other_callable_iface_proxy_new ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_proxy_new_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # OrgProjectOtherCallableIface * 2039s # org_project_other_callable_iface_proxy_new_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_proxy_new_sync: 2039s # * @connection: A #GDBusConnection. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # OrgProjectOtherCallableIface * 2039s # org_project_other_callable_iface_proxy_new_sync ( 2039s # GDBusConnection *connection, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_proxy_new_for_bus: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2039s # * @user_data: User data to pass to @callback. 2039s # * 2039s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2039s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 2039s # * 2039s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2039s # */ 2039s # void 2039s # org_project_other_callable_iface_proxy_new_for_bus ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GAsyncReadyCallback callback, 2039s # gpointer user_data) 2039s # { 2039s # 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); 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 2039s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # OrgProjectOtherCallableIface * 2039s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 2039s # GAsyncResult *res, 2039s # GError **error) 2039s # { 2039s # GObject *ret; 2039s # GObject *source_object; 2039s # source_object = g_async_result_get_source_object (res); 2039s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2039s # g_object_unref (source_object); 2039s # if (ret != NULL) 2039s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 2039s # * @bus_type: A #GBusType. 2039s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2039s # * @name: A bus name (well-known or unique). 2039s # * @object_path: An object path. 2039s # * @cancellable: (nullable): A #GCancellable or %NULL. 2039s # * @error: Return location for error or %NULL 2039s # * 2039s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2039s # * 2039s # * The calling thread is blocked until a reply is received. 2039s # * 2039s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2039s # */ 2039s # OrgProjectOtherCallableIface * 2039s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 2039s # GBusType bus_type, 2039s # GDBusProxyFlags flags, 2039s # const gchar *name, 2039s # const gchar *object_path, 2039s # GCancellable *cancellable, 2039s # GError **error) 2039s # { 2039s # GInitable *ret; 2039s # 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); 2039s # if (ret != NULL) 2039s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 2039s # else 2039s # return NULL; 2039s # } 2039s # 2039s # 2039s # /* ------------------------------------------------------------------------ */ 2039s # 2039s # /** 2039s # * OrgProjectOtherCallableIfaceSkeleton: 2039s # * 2039s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2039s # */ 2039s # 2039s # /** 2039s # * OrgProjectOtherCallableIfaceSkeletonClass: 2039s # * @parent_class: The parent class. 2039s # * 2039s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 2039s # */ 2039s # 2039s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 2039s # { 2039s # GValue *properties; 2039s # GList *changed_properties; 2039s # GSource *changed_properties_idle_source; 2039s # GMainContext *context; 2039s # GMutex lock; 2039s # }; 2039s # 2039s # static void 2039s # _org_project_other_callable_iface_skeleton_handle_method_call ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name, 2039s # const gchar *method_name, 2039s # GVariant *parameters, 2039s # GDBusMethodInvocation *invocation, 2039s # gpointer user_data) 2039s # { 2039s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 2039s # _ExtendedGDBusMethodInfo *info; 2039s # GVariantIter iter; 2039s # GVariant *child; 2039s # GValue *paramv; 2039s # gsize num_params; 2039s # guint num_extra; 2039s # gsize n; 2039s # guint signal_id; 2039s # GValue return_value = G_VALUE_INIT; 2039s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2039s # g_assert (info != NULL); 2039s # num_params = g_variant_n_children (parameters); 2039s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2039s # n = 0; 2039s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 2039s # g_value_set_object (¶mv[n++], skeleton); 2039s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2039s # g_value_set_object (¶mv[n++], invocation); 2039s # if (info->pass_fdlist) 2039s # { 2039s # #ifdef G_OS_UNIX 2039s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2039s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2039s # #else 2039s # g_assert_not_reached (); 2039s # #endif 2039s # } 2039s # g_variant_iter_init (&iter, parameters); 2039s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2039s # { 2039s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2039s # if (arg_info->use_gvariant) 2039s # { 2039s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2039s # g_value_set_variant (¶mv[n], child); 2039s # n++; 2039s # } 2039s # else 2039s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2039s # g_variant_unref (child); 2039s # } 2039s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 2039s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2039s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2039s # if (!g_value_get_boolean (&return_value)) 2039s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2039s # g_value_unset (&return_value); 2039s # for (n = 0; n < num_params + num_extra; n++) 2039s # g_value_unset (¶mv[n]); 2039s # g_free (paramv); 2039s # } 2039s # 2039s # static GVariant * 2039s # _org_project_other_callable_iface_skeleton_handle_get_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # GVariant *ret; 2039s # ret = NULL; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # g_value_init (&value, pspec->value_type); 2039s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2039s # g_value_unset (&value); 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static gboolean 2039s # _org_project_other_callable_iface_skeleton_handle_set_property ( 2039s # GDBusConnection *connection G_GNUC_UNUSED, 2039s # const gchar *sender G_GNUC_UNUSED, 2039s # const gchar *object_path G_GNUC_UNUSED, 2039s # const gchar *interface_name G_GNUC_UNUSED, 2039s # const gchar *property_name, 2039s # GVariant *variant, 2039s # GError **error, 2039s # gpointer user_data) 2039s # { 2039s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 2039s # GValue value = G_VALUE_INIT; 2039s # GParamSpec *pspec; 2039s # _ExtendedGDBusPropertyInfo *info; 2039s # gboolean ret; 2039s # ret = FALSE; 2039s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 2039s # g_assert (info != NULL); 2039s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2039s # if (pspec == NULL) 2039s # { 2039s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2039s # } 2039s # else 2039s # { 2039s # if (info->use_gvariant) 2039s # g_value_set_variant (&value, variant); 2039s # else 2039s # g_dbus_gvariant_to_gvalue (variant, &value); 2039s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2039s # g_value_unset (&value); 2039s # ret = TRUE; 2039s # } 2039s # return ret; 2039s # } 2039s # 2039s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 2039s # { 2039s # _org_project_other_callable_iface_skeleton_handle_method_call, 2039s # _org_project_other_callable_iface_skeleton_handle_get_property, 2039s # _org_project_other_callable_iface_skeleton_handle_set_property, 2039s # {NULL} 2039s # }; 2039s # 2039s # static GDBusInterfaceInfo * 2039s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return org_project_other_callable_iface_interface_info (); 2039s # } 2039s # 2039s # static GDBusInterfaceVTable * 2039s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2039s # { 2039s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 2039s # } 2039s # 2039s # static GVariant * 2039s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2039s # { 2039s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 2039s # 2039s # GVariantBuilder builder; 2039s # guint n; 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2039s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #else 2039s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2039s # #endif 2039s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 2039s # goto out; 2039s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2039s # { 2039s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 2039s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2039s # { 2039s # GVariant *value; 2039s # 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); 2039s # if (value != NULL) 2039s # { 2039s # g_variant_take_ref (value); 2039s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2039s # g_variant_unref (value); 2039s # } 2039s # } 2039s # } 2039s # out: 2039s # return g_variant_builder_end (&builder); 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 2039s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 2039s # 2039s # #else 2039s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2039s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 2039s # 2039s # #endif 2039s # static void 2039s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 2039s # { 2039s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 2039s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2039s # if (skeleton->priv->changed_properties_idle_source != NULL) 2039s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2039s # g_main_context_unref (skeleton->priv->context); 2039s # g_mutex_clear (&skeleton->priv->lock); 2039s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 2039s # { 2039s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2039s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 2039s # #else 2039s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 2039s # #endif 2039s # 2039s # g_mutex_init (&skeleton->priv->lock); 2039s # skeleton->priv->context = g_main_context_ref_thread_default (); 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 2039s # { 2039s # GObjectClass *gobject_class; 2039s # GDBusInterfaceSkeletonClass *skeleton_class; 2039s # 2039s # gobject_class = G_OBJECT_CLASS (klass); 2039s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 2039s # 2039s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2039s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 2039s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 2039s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 2039s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 2039s # 2039s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2039s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 2039s # #endif 2039s # } 2039s # 2039s # static void 2039s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 2039s # { 2039s # } 2039s # 2039s # /** 2039s # * org_project_other_callable_iface_skeleton_new: 2039s # * 2039s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 2039s # * 2039s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 2039s # */ 2039s # OrgProjectOtherCallableIface * 2039s # org_project_other_callable_iface_skeleton_new (void) 2039s # { 2039s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 2039s # } 2039s # Error: 2040s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args 2040s # gdbus-codegen: /usr/bin/gdbus-codegen 2040s # tmpdir: /tmp/tmp9daxwkya 2040s # /tmp/tmp9daxwkya/tmpv3z7s2z1.xml: 2040s # 2040s # 2040s # 2040s # 2040s # 2040s # 2040s # 2040s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpv3z7s2z1.xml', '--output', '-', '--body'] 2040s # Return code: 0 2040s # Output: 2040s # /* 2040s # * This file is generated by gdbus-codegen, do not modify it. 2040s # * 2040s # * The license of this code is the same as for the D-Bus interface description 2040s # * it was derived from. Note that it links to GLib, so must comply with the 2040s # * LGPL linking clauses. 2040s # */ 2040s # 2040s # #ifdef HAVE_CONFIG_H 2040s # # include "config.h" 2040s # #endif 2040s # 2040s # #include 2040s # #ifdef G_OS_UNIX 2040s # # include 2040s # #endif 2040s # 2040s # #ifdef G_ENABLE_DEBUG 2040s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2040s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2040s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2040s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2040s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2040s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2040s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2040s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2040s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2040s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2040s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2040s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2040s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2040s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2040s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2040s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2040s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2040s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2040s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2040s # #else /* !G_ENABLE_DEBUG */ 2040s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2040s # * Do not access GValues directly in your code. Instead, use the 2040s # * g_value_get_*() functions 2040s # */ 2040s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2040s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2040s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2040s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2040s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2040s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2040s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2040s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2040s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2040s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2040s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2040s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2040s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2040s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2040s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2040s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2040s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2040s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2040s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2040s # #endif /* !G_ENABLE_DEBUG */ 2040s # 2040s # typedef struct 2040s # { 2040s # GDBusArgInfo parent_struct; 2040s # gboolean use_gvariant; 2040s # } _ExtendedGDBusArgInfo; 2040s # 2040s # typedef struct 2040s # { 2040s # GDBusMethodInfo parent_struct; 2040s # const gchar *signal_name; 2040s # gboolean pass_fdlist; 2040s # } _ExtendedGDBusMethodInfo; 2040s # 2040s # typedef struct 2040s # { 2040s # GDBusSignalInfo parent_struct; 2040s # const gchar *signal_name; 2040s # } _ExtendedGDBusSignalInfo; 2040s # 2040s # typedef struct 2040s # { 2040s # GDBusPropertyInfo parent_struct; 2040s # const gchar *hyphen_name; 2040s # guint use_gvariant : 1; 2040s # guint emits_changed_signal : 1; 2040s # } _ExtendedGDBusPropertyInfo; 2040s # 2040s # typedef struct 2040s # { 2040s # GDBusInterfaceInfo parent_struct; 2040s # const gchar *hyphen_name; 2040s # } _ExtendedGDBusInterfaceInfo; 2040s # 2040s # typedef struct 2040s # { 2040s # const _ExtendedGDBusPropertyInfo *info; 2040s # guint prop_id; 2040s # GValue orig_value; /* the value before the change */ 2040s # } ChangedProperty; 2040s # 2040s # static void 2040s # _changed_property_free (ChangedProperty *data) 2040s # { 2040s # g_value_unset (&data->orig_value); 2040s # g_free (data); 2040s # } 2040s # 2040s # static gboolean 2040s # _g_strv_equal0 (gchar **a, gchar **b) 2040s # { 2040s # gboolean ret = FALSE; 2040s # guint n; 2040s # if (a == NULL && b == NULL) 2040s # { 2040s # ret = TRUE; 2040s # goto out; 2040s # } 2040s # if (a == NULL || b == NULL) 2040s # goto out; 2040s # if (g_strv_length (a) != g_strv_length (b)) 2040s # goto out; 2040s # for (n = 0; a[n] != NULL; n++) 2040s # if (g_strcmp0 (a[n], b[n]) != 0) 2040s # goto out; 2040s # ret = TRUE; 2040s # out: 2040s # return ret; 2040s # } 2040s # 2040s # static gboolean 2040s # _g_variant_equal0 (GVariant *a, GVariant *b) 2040s # { 2040s # gboolean ret = FALSE; 2040s # if (a == NULL && b == NULL) 2040s # { 2040s # ret = TRUE; 2040s # goto out; 2040s # } 2040s # if (a == NULL || b == NULL) 2040s # goto out; 2040s # ret = g_variant_equal (a, b); 2040s # out: 2040s # return ret; 2040s # } 2040s # 2040s # G_GNUC_UNUSED static gboolean 2040s # _g_value_equal (const GValue *a, const GValue *b) 2040s # { 2040s # gboolean ret = FALSE; 2040s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2040s # switch (G_VALUE_TYPE (a)) 2040s # { 2040s # case G_TYPE_BOOLEAN: 2040s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2040s # break; 2040s # case G_TYPE_UCHAR: 2040s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2040s # break; 2040s # case G_TYPE_INT: 2040s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2040s # break; 2040s # case G_TYPE_UINT: 2040s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2040s # break; 2040s # case G_TYPE_INT64: 2040s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2040s # break; 2040s # case G_TYPE_UINT64: 2040s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2040s # break; 2040s # case G_TYPE_DOUBLE: 2040s # { 2040s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2040s # gdouble da = g_value_get_double (a); 2040s # gdouble db = g_value_get_double (b); 2040s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2040s # } 2040s # break; 2040s # case G_TYPE_STRING: 2040s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2040s # break; 2040s # case G_TYPE_VARIANT: 2040s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2040s # break; 2040s # default: 2040s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2040s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2040s # else 2040s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2040s # break; 2040s # } 2040s # return ret; 2040s # } 2040s # 2040s # static void 2040s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN ( 2040s # GClosure *closure, 2040s # GValue *return_value, 2040s # unsigned int n_param_values, 2040s # const GValue *param_values, 2040s # void *invocation_hint G_GNUC_UNUSED, 2040s # void *marshal_data) 2040s # { 2040s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 2040s # (void *data1, 2040s # GDBusMethodInvocation *arg_method_invocation, 2040s # gboolean arg_arg_b, 2040s # void *data2); 2040s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback; 2040s # GCClosure *cc = (GCClosure*) closure; 2040s # void *data1, *data2; 2040s # gboolean v_return; 2040s # 2040s # g_return_if_fail (return_value != NULL); 2040s # g_return_if_fail (n_param_values == 3); 2040s # 2040s # if (G_CCLOSURE_SWAP_DATA (closure)) 2040s # { 2040s # data1 = closure->data; 2040s # data2 = g_value_peek_pointer (param_values + 0); 2040s # } 2040s # else 2040s # { 2040s # data1 = g_value_peek_pointer (param_values + 0); 2040s # data2 = closure->data; 2040s # } 2040s # 2040s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc) 2040s # (marshal_data ? marshal_data : cc->callback); 2040s # 2040s # v_return = 2040s # callback (data1, 2040s # g_marshal_value_peek_object (param_values + 1), 2040s # g_marshal_value_peek_boolean (param_values + 2), 2040s # data2); 2040s # 2040s # g_value_set_boolean (return_value, v_return); 2040s # } 2040s # 2040s # /* ------------------------------------------------------------------------ 2040s # * Code for interface org.project.UsefulInterface 2040s # * ------------------------------------------------------------------------ 2040s # */ 2040s # 2040s # /** 2040s # * SECTION:OrgProjectUsefulInterface 2040s # * @title: OrgProjectUsefulInterface 2040s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2040s # * 2040s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2040s # */ 2040s # 2040s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2040s # 2040s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b = 2040s # { 2040s # { 2040s # -1, 2040s # (gchar *) "arg_b", 2040s # (gchar *) "b", 2040s # NULL 2040s # }, 2040s # FALSE 2040s # }; 2040s # 2040s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] = 2040s # { 2040s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct, 2040s # NULL 2040s # }; 2040s # 2040s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 2040s # { 2040s # { 2040s # -1, 2040s # (gchar *) "SingleArgMethodB", 2040s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers, 2040s # NULL, 2040s # NULL 2040s # }, 2040s # "handle-single-arg-method-b", 2040s # FALSE 2040s # }; 2040s # 2040s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2040s # { 2040s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 2040s # NULL 2040s # }; 2040s # 2040s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2040s # { 2040s # { 2040s # -1, 2040s # (gchar *) "org.project.UsefulInterface", 2040s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2040s # NULL, 2040s # NULL, 2040s # NULL 2040s # }, 2040s # "org-project-useful-interface", 2040s # }; 2040s # 2040s # 2040s # /** 2040s # * org_project_useful_interface_interface_info: 2040s # * 2040s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2040s # * 2040s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2040s # */ 2040s # GDBusInterfaceInfo * 2040s # org_project_useful_interface_interface_info (void) 2040s # { 2040s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2040s # } 2040s # 2040s # /** 2040s # * org_project_useful_interface_override_properties: 2040s # * @klass: The class structure for a #GObject derived class. 2040s # * @property_id_begin: The property id to assign to the first overridden property. 2040s # * 2040s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2040s # * The properties are overridden in the order they are defined. 2040s # * 2040s # * Returns: The last property id. 2040s # */ 2040s # guint 2040s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2040s # { 2040s # return property_id_begin - 1; 2040s # } 2040s # 2040s # 2040s # inline static void 2040s # org_project_useful_interface_method_marshal_single_arg_method_b ( 2040s # GClosure *closure, 2040s # GValue *return_value, 2040s # unsigned int n_param_values, 2040s # const GValue *param_values, 2040s # void *invocation_hint, 2040s # void *marshal_data) 2040s # { 2040s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure, 2040s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2040s # } 2040s # 2040s # 2040s # /** 2040s # * OrgProjectUsefulInterface: 2040s # * 2040s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2040s # */ 2040s # 2040s # /** 2040s # * OrgProjectUsefulInterfaceIface: 2040s # * @parent_iface: The parent interface. 2040s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 2040s # * 2040s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2040s # */ 2040s # 2040s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2040s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2040s # 2040s # static void 2040s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2040s # { 2040s # /* GObject signals for incoming D-Bus method calls: */ 2040s # /** 2040s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 2040s # * @object: A #OrgProjectUsefulInterface. 2040s # * @invocation: A #GDBusMethodInvocation. 2040s # * @arg_arg_b: Argument passed by remote caller. 2040s # * 2040s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 2040s # * 2040s # * 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. 2040s # * 2040s # * 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. 2040s # */ 2040s # g_signal_new ("handle-single-arg-method-b", 2040s # G_TYPE_FROM_INTERFACE (iface), 2040s # G_SIGNAL_RUN_LAST, 2040s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 2040s # g_signal_accumulator_true_handled, 2040s # NULL, 2040s # org_project_useful_interface_method_marshal_single_arg_method_b, 2040s # G_TYPE_BOOLEAN, 2040s # 2, 2040s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN); 2040s # 2040s # } 2040s # 2040s # /** 2040s # * org_project_useful_interface_call_single_arg_method_b: 2040s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2040s # * @arg_arg_b: Argument to pass with the method invocation. 2040s # * @cancellable: (nullable): A #GCancellable or %NULL. 2040s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2040s # * @user_data: User data to pass to @callback. 2040s # * 2040s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 2040s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2040s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 2040s # * 2040s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 2040s # */ 2040s # void 2040s # org_project_useful_interface_call_single_arg_method_b ( 2040s # OrgProjectUsefulInterface *proxy, 2040s # gboolean arg_arg_b, 2040s # GCancellable *cancellable, 2040s # GAsyncReadyCallback callback, 2040s # gpointer user_data) 2040s # { 2040s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2040s # "SingleArgMethodB", 2040s # g_variant_new ("(b)", 2040s # arg_arg_b), 2040s # G_DBUS_CALL_FLAGS_NONE, 2040s # -1, 2040s # cancellable, 2040s # callback, 2040s # user_data); 2040s # } 2040s # 2040s # /** 2040s # * org_project_useful_interface_call_single_arg_method_b_finish: 2040s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2040s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 2040s # * @error: Return location for error or %NULL. 2040s # * 2040s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 2040s # * 2040s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2040s # */ 2040s # gboolean 2040s # org_project_useful_interface_call_single_arg_method_b_finish ( 2040s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_b_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_b: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_b_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gboolean arg_arg_b, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodB", 2041s # g_variant_new ("(b)", 2041s # arg_arg_b), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_b: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_b ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmprun0nous.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmprun0nous.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # guchar arg_arg_y, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_uchar (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_y", 2041s # (gchar *) "y", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodY", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-y", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_y ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_y: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-y", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_y, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_y: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_y: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_y ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guchar arg_arg_y, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodY", 2041s # g_variant_new ("(y)", 2041s # arg_arg_y), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_y_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_y_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_y_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_y: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_y_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guchar arg_arg_y, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodY", 2041s # g_variant_new ("(y)", 2041s # arg_arg_y), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_y: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_y ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpb94x_iz9.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpb94x_iz9.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # gint16 arg_arg_n, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_int (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_n", 2041s # (gchar *) "n", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodN", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-n", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_n ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_n: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-n", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_n, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_n: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_n: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_n ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint16 arg_arg_n, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodN", 2041s # g_variant_new ("(n)", 2041s # arg_arg_n), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_n_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_n_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_n_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_n: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_n_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint16 arg_arg_n, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodN", 2041s # g_variant_new ("(n)", 2041s # arg_arg_n), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_n: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_n ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpf1o_0wfy.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpf1o_0wfy.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # guint16 arg_arg_q, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_uint (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_q", 2041s # (gchar *) "q", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodQ", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-q", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_q ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_q: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-q", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_q, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_q: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_q: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_q ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guint16 arg_arg_q, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodQ", 2041s # g_variant_new ("(q)", 2041s # arg_arg_q), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_q_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_q_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_q_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_q: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_q_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guint16 arg_arg_q, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodQ", 2041s # g_variant_new ("(q)", 2041s # arg_arg_q), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_q: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_q ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpmb41kj1g.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpmb41kj1g.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # gint arg_arg_i, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_int (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_i", 2041s # (gchar *) "i", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodI", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-i", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_i ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_i: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-i", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_i, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_i: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_i: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_i ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint arg_arg_i, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodI", 2041s # g_variant_new ("(i)", 2041s # arg_arg_i), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_i_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_i_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_i_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_i: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_i_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint arg_arg_i, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodI", 2041s # g_variant_new ("(i)", 2041s # arg_arg_i), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_i: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_i ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmplba39dab.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmplba39dab.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # guint arg_arg_u, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_uint (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_u", 2041s # (gchar *) "u", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodU", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-u", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_u ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_u: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-u", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_u, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_u: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_u: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_u ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guint arg_arg_u, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodU", 2041s # g_variant_new ("(u)", 2041s # arg_arg_u), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_u_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_u_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_u_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_u: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_u_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guint arg_arg_u, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodU", 2041s # g_variant_new ("(u)", 2041s # arg_arg_u), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_u: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_u ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpsdl7uygc.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpsdl7uygc.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # gint64 arg_arg_x, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_int64 (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_x", 2041s # (gchar *) "x", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodX", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-x", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_x ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_x: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-x", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_x, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_x: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_x: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_x ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint64 arg_arg_x, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodX", 2041s # g_variant_new ("(x)", 2041s # arg_arg_x), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_x_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_x_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_x_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_x: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_x_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint64 arg_arg_x, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodX", 2041s # g_variant_new ("(x)", 2041s # arg_arg_x), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_x: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_x ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpwlpxz8b0.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpwlpxz8b0.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # guint64 arg_arg_t, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_uint64 (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_t", 2041s # (gchar *) "t", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodT", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-t", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_t ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_t: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-t", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_t, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_t: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_t: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_t ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guint64 arg_arg_t, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodT", 2041s # g_variant_new ("(t)", 2041s # arg_arg_t), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_t_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_t_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_t_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_t: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_t_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guint64 arg_arg_t, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodT", 2041s # g_variant_new ("(t)", 2041s # arg_arg_t), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_t: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_t ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpiam2fvib.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpiam2fvib.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # gdouble arg_arg_d, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_double (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_d", 2041s # (gchar *) "d", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodD", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-d", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_d ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_d: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-d", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_d, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_d: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_d: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_d ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gdouble arg_arg_d, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodD", 2041s # g_variant_new ("(d)", 2041s # arg_arg_d), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_d_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_d_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_d_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_d: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_d_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gdouble arg_arg_d, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodD", 2041s # g_variant_new ("(d)", 2041s # arg_arg_d), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_d: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_d ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpltrr50ni.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpltrr50ni.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # const gchar *arg_arg_s, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_string (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_s", 2041s # (gchar *) "s", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodS", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-s", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_s ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_s: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-s", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_s, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_s: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_s: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_s ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *arg_arg_s, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodS", 2041s # g_variant_new ("(s)", 2041s # arg_arg_s), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_s_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_s_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_s_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_s: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_s_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *arg_arg_s, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodS", 2041s # g_variant_new ("(s)", 2041s # arg_arg_s), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_s: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_s ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmp8qor4_4a.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmp8qor4_4a.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # const gchar *arg_arg_o, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_string (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_o", 2041s # (gchar *) "o", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodO", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-o", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_o ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_o: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-o", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_o, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_o: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_o: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_o ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *arg_arg_o, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodO", 2041s # g_variant_new ("(o)", 2041s # arg_arg_o), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_o_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_o_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_o_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_o: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_o_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *arg_arg_o, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodO", 2041s # g_variant_new ("(o)", 2041s # arg_arg_o), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_o: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_o ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmp797ghga2.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmp797ghga2.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # const gchar *arg_arg_g, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_string (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_g", 2041s # (gchar *) "g", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodG", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-g", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_g ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_g: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-g", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_g, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_g: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_g: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_g ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *arg_arg_g, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodG", 2041s # g_variant_new ("(g)", 2041s # arg_arg_g), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_g_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_g_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_g_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_g: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_g_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *arg_arg_g, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodG", 2041s # g_variant_new ("(g)", 2041s # arg_arg_g), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_g: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_g ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmp4ot25rxh.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmp4ot25rxh.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # GVariant *arg_arg_h, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_variant (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_h", 2041s # (gchar *) "h", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodH", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-h", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_h ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_h: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-h", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_h, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_h: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_h: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_h ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GVariant *arg_arg_h, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodH", 2041s # g_variant_new ("(@h)", 2041s # arg_arg_h), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_h_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_h_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_h_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_h: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_h_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GVariant *arg_arg_h, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodH", 2041s # g_variant_new ("(@h)", 2041s # arg_arg_h), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_h: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_h ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmplot404yg.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmplot404yg.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # const gchar *arg_arg_ay, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_string (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_ay", 2041s # (gchar *) "ay", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodAy", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-ay", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_ay: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-ay", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_ay, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_ay: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_ay: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_ay ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *arg_arg_ay, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAy", 2041s # g_variant_new ("(^ay)", 2041s # arg_arg_ay), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_ay_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_ay_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_ay_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_ay: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_ay_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *arg_arg_ay, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAy", 2041s # g_variant_new ("(^ay)", 2041s # arg_arg_ay), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_ay: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_ay ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpwp7ypoi8.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpwp7ypoi8.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # const gchar *const *arg_arg_as, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_boxed (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_as", 2041s # (gchar *) "as", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodAs", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-as", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_as ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_as: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-as", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_as, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_as: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_as: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_as ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *const *arg_arg_as, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAs", 2041s # g_variant_new ("(^as)", 2041s # arg_arg_as), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_as_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_as_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_as_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_as: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_as_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *const *arg_arg_as, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAs", 2041s # g_variant_new ("(^as)", 2041s # arg_arg_as), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_as: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_as ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpgz2s_1ma.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpgz2s_1ma.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # const gchar *const *arg_arg_ao, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_boxed (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_ao", 2041s # (gchar *) "ao", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodAo", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-ao", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_ao: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-ao", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_ao, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_ao: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_ao: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_ao ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *const *arg_arg_ao, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAo", 2041s # g_variant_new ("(^ao)", 2041s # arg_arg_ao), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_ao_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_ao_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_ao_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_ao: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_ao_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *const *arg_arg_ao, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAo", 2041s # g_variant_new ("(^ao)", 2041s # arg_arg_ao), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_ao: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_ao ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmpg6ggpofh.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmpg6ggpofh.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # const gchar *const *arg_arg_aay, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_boxed (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_aay", 2041s # (gchar *) "aay", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodAay", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-aay", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_aay: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-aay", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_aay, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_aay: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_aay: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_aay ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *const *arg_arg_aay, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAay", 2041s # g_variant_new ("(^aay)", 2041s # arg_arg_aay), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_aay_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_aay_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_aay_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_aay: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_aay_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # const gchar *const *arg_arg_aay, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAay", 2041s # g_variant_new ("(^aay)", 2041s # arg_arg_aay), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_aay: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_aay ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmp9daxwkya/tmp8kb2729a.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9daxwkya/tmp8kb2729a.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # GVariant *arg_arg_asv, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 3); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # g_marshal_value_peek_variant (param_values + 2), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_asv", 2041s # (gchar *) "a{sv}", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodAsv", 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-asv", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * @arg_arg_asv: Argument passed by remote caller. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-asv", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_asv, 2041s # G_TYPE_BOOLEAN, 2041s # 2, 2041s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_asv: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_asv: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_asv ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GVariant *arg_arg_asv, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAsv", 2041s # g_variant_new ("(@a{sv})", 2041s # arg_arg_asv), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_asv_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_asv_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_asv_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @arg_arg_asv: Argument to pass with the method invocation. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_asv_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GVariant *arg_arg_asv, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodAsv", 2041s # g_variant_new ("(@a{sv})", 2041s # arg_arg_asv), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "()"); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_asv: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_asv ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("()")); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # Executing: glib/codegen.py.test 2041s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args 2041s # gdbus-codegen: /usr/bin/gdbus-codegen 2041s # tmpdir: /tmp/tmpi366jjrv 2041s # /tmp/tmpi366jjrv/tmpw1tneyj9.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpw1tneyj9.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 2); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_b", 2041s # (gchar *) "b", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodB", 2041s # NULL, 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-b", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_b ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-b: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-b", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_b, 2041s # G_TYPE_BOOLEAN, 2041s # 1, 2041s # G_TYPE_DBUS_METHOD_INVOCATION); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_b: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_b ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodB", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_b_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_b_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gboolean *out_arg_b, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(b)", 2041s # out_arg_b); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_b_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_b_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gboolean *out_arg_b, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodB", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(b)", 2041s # out_arg_b); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_b: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * @arg_b: Parameter to return. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_b ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation, 2041s # gboolean arg_b) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("(b)", 2041s # arg_b)); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmpi366jjrv/tmp85xim_eq.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmp85xim_eq.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 2); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_y", 2041s # (gchar *) "y", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodY", 2041s # NULL, 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-y", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_y ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-y: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-y", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_y, 2041s # G_TYPE_BOOLEAN, 2041s # 1, 2041s # G_TYPE_DBUS_METHOD_INVOCATION); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_y: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_y ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodY", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_y_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_y_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guchar *out_arg_y, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(y)", 2041s # out_arg_y); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_y_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_y_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guchar *out_arg_y, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodY", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(y)", 2041s # out_arg_y); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_y: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * @arg_y: Parameter to return. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_y ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation, 2041s # guchar arg_y) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("(y)", 2041s # arg_y)); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmpi366jjrv/tmp3tds__7r.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmp3tds__7r.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 2); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_n", 2041s # (gchar *) "n", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodN", 2041s # NULL, 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-n", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_n ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-n: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-n", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_n, 2041s # G_TYPE_BOOLEAN, 2041s # 1, 2041s # G_TYPE_DBUS_METHOD_INVOCATION); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_n: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_n ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodN", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_n_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_n_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint16 *out_arg_n, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(n)", 2041s # out_arg_n); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_n_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_n_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint16 *out_arg_n, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodN", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(n)", 2041s # out_arg_n); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_n: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * @arg_n: Parameter to return. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_n ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation, 2041s # gint16 arg_n) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("(n)", 2041s # arg_n)); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmpi366jjrv/tmp3p5xs28z.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmp3p5xs28z.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 2); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_q", 2041s # (gchar *) "q", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodQ", 2041s # NULL, 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-q", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_q ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-q: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-q", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_q, 2041s # G_TYPE_BOOLEAN, 2041s # 1, 2041s # G_TYPE_DBUS_METHOD_INVOCATION); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_q: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_q ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodQ", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_q_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_q_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guint16 *out_arg_q, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(q)", 2041s # out_arg_q); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_q_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_q_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # guint16 *out_arg_q, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodQ", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(q)", 2041s # out_arg_q); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_q: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * @arg_q: Parameter to return. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_q ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation, 2041s # guint16 arg_q) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("(q)", 2041s # arg_q)); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_sync ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeleton: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceSkeletonClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2041s # { 2041s # GValue *properties; 2041s # GList *changed_properties; 2041s # GSource *changed_properties_idle_source; 2041s # GMainContext *context; 2041s # GMutex lock; 2041s # }; 2041s # 2041s # static void 2041s # _org_project_useful_interface_skeleton_handle_method_call ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name, 2041s # const gchar *method_name, 2041s # GVariant *parameters, 2041s # GDBusMethodInvocation *invocation, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # _ExtendedGDBusMethodInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # guint num_extra; 2041s # gsize n; 2041s # guint signal_id; 2041s # GValue return_value = G_VALUE_INIT; 2041s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2041s # g_assert (info != NULL); 2041s # num_params = g_variant_n_children (parameters); 2041s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2041s # n = 0; 2041s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[n++], skeleton); 2041s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2041s # g_value_set_object (¶mv[n++], invocation); 2041s # if (info->pass_fdlist) 2041s # { 2041s # #ifdef G_OS_UNIX 2041s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2041s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2041s # #else 2041s # g_assert_not_reached (); 2041s # #endif 2041s # } 2041s # g_variant_iter_init (&iter, parameters); 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2041s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2041s # if (!g_value_get_boolean (&return_value)) 2041s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2041s # g_value_unset (&return_value); 2041s # for (n = 0; n < num_params + num_extra; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static GVariant * 2041s # _org_project_useful_interface_skeleton_handle_get_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # GVariant *ret; 2041s # ret = NULL; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # g_value_init (&value, pspec->value_type); 2041s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2041s # g_value_unset (&value); 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _org_project_useful_interface_skeleton_handle_set_property ( 2041s # GDBusConnection *connection G_GNUC_UNUSED, 2041s # const gchar *sender G_GNUC_UNUSED, 2041s # const gchar *object_path G_GNUC_UNUSED, 2041s # const gchar *interface_name G_GNUC_UNUSED, 2041s # const gchar *property_name, 2041s # GVariant *variant, 2041s # GError **error, 2041s # gpointer user_data) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2041s # GValue value = G_VALUE_INIT; 2041s # GParamSpec *pspec; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # gboolean ret; 2041s # ret = FALSE; 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2041s # g_assert (info != NULL); 2041s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2041s # if (pspec == NULL) 2041s # { 2041s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2041s # } 2041s # else 2041s # { 2041s # if (info->use_gvariant) 2041s # g_value_set_variant (&value, variant); 2041s # else 2041s # g_dbus_gvariant_to_gvalue (variant, &value); 2041s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2041s # g_value_unset (&value); 2041s # ret = TRUE; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2041s # { 2041s # _org_project_useful_interface_skeleton_handle_method_call, 2041s # _org_project_useful_interface_skeleton_handle_get_property, 2041s # _org_project_useful_interface_skeleton_handle_set_property, 2041s # {NULL} 2041s # }; 2041s # 2041s # static GDBusInterfaceInfo * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return org_project_useful_interface_interface_info (); 2041s # } 2041s # 2041s # static GDBusInterfaceVTable * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2041s # { 2041s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2041s # } 2041s # 2041s # static GVariant * 2041s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2041s # 2041s # GVariantBuilder builder; 2041s # guint n; 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2041s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #else 2041s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2041s # #endif 2041s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2041s # goto out; 2041s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2041s # { 2041s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2041s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2041s # { 2041s # GVariant *value; 2041s # 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); 2041s # if (value != NULL) 2041s # { 2041s # g_variant_take_ref (value); 2041s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2041s # g_variant_unref (value); 2041s # } 2041s # } 2041s # } 2041s # out: 2041s # return g_variant_builder_end (&builder); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_skeleton_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2041s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2041s # if (skeleton->priv->changed_properties_idle_source != NULL) 2041s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2041s # g_main_context_unref (skeleton->priv->context); 2041s # g_mutex_clear (&skeleton->priv->lock); 2041s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2041s # #else 2041s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2041s # #endif 2041s # 2041s # g_mutex_init (&skeleton->priv->lock); 2041s # skeleton->priv->context = g_main_context_ref_thread_default (); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusInterfaceSkeletonClass *skeleton_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2041s # 2041s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2041s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2041s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2041s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2041s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_skeleton_new: 2041s # * 2041s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_skeleton_new (void) 2041s # { 2041s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2041s # } 2041s # Error: 2041s # 2041s # /tmp/tmpi366jjrv/tmp902w6pwf.xml: 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # 2041s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmp902w6pwf.xml', '--output', '-', '--body'] 2041s # Return code: 0 2041s # Output: 2041s # /* 2041s # * This file is generated by gdbus-codegen, do not modify it. 2041s # * 2041s # * The license of this code is the same as for the D-Bus interface description 2041s # * it was derived from. Note that it links to GLib, so must comply with the 2041s # * LGPL linking clauses. 2041s # */ 2041s # 2041s # #ifdef HAVE_CONFIG_H 2041s # # include "config.h" 2041s # #endif 2041s # 2041s # #include 2041s # #ifdef G_OS_UNIX 2041s # # include 2041s # #endif 2041s # 2041s # #ifdef G_ENABLE_DEBUG 2041s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2041s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2041s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2041s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2041s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2041s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2041s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2041s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2041s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2041s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2041s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2041s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2041s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2041s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2041s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2041s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2041s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2041s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2041s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2041s # #else /* !G_ENABLE_DEBUG */ 2041s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2041s # * Do not access GValues directly in your code. Instead, use the 2041s # * g_value_get_*() functions 2041s # */ 2041s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2041s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2041s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2041s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2041s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2041s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2041s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2041s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2041s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2041s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2041s # #endif /* !G_ENABLE_DEBUG */ 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusArgInfo parent_struct; 2041s # gboolean use_gvariant; 2041s # } _ExtendedGDBusArgInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusMethodInfo parent_struct; 2041s # const gchar *signal_name; 2041s # gboolean pass_fdlist; 2041s # } _ExtendedGDBusMethodInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusSignalInfo parent_struct; 2041s # const gchar *signal_name; 2041s # } _ExtendedGDBusSignalInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusPropertyInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # guint use_gvariant : 1; 2041s # guint emits_changed_signal : 1; 2041s # } _ExtendedGDBusPropertyInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # GDBusInterfaceInfo parent_struct; 2041s # const gchar *hyphen_name; 2041s # } _ExtendedGDBusInterfaceInfo; 2041s # 2041s # typedef struct 2041s # { 2041s # const _ExtendedGDBusPropertyInfo *info; 2041s # guint prop_id; 2041s # GValue orig_value; /* the value before the change */ 2041s # } ChangedProperty; 2041s # 2041s # static void 2041s # _changed_property_free (ChangedProperty *data) 2041s # { 2041s # g_value_unset (&data->orig_value); 2041s # g_free (data); 2041s # } 2041s # 2041s # static gboolean 2041s # _g_strv_equal0 (gchar **a, gchar **b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # guint n; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # if (g_strv_length (a) != g_strv_length (b)) 2041s # goto out; 2041s # for (n = 0; a[n] != NULL; n++) 2041s # if (g_strcmp0 (a[n], b[n]) != 0) 2041s # goto out; 2041s # ret = TRUE; 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # static gboolean 2041s # _g_variant_equal0 (GVariant *a, GVariant *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # if (a == NULL && b == NULL) 2041s # { 2041s # ret = TRUE; 2041s # goto out; 2041s # } 2041s # if (a == NULL || b == NULL) 2041s # goto out; 2041s # ret = g_variant_equal (a, b); 2041s # out: 2041s # return ret; 2041s # } 2041s # 2041s # G_GNUC_UNUSED static gboolean 2041s # _g_value_equal (const GValue *a, const GValue *b) 2041s # { 2041s # gboolean ret = FALSE; 2041s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2041s # switch (G_VALUE_TYPE (a)) 2041s # { 2041s # case G_TYPE_BOOLEAN: 2041s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2041s # break; 2041s # case G_TYPE_UCHAR: 2041s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2041s # break; 2041s # case G_TYPE_INT: 2041s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2041s # break; 2041s # case G_TYPE_UINT: 2041s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2041s # break; 2041s # case G_TYPE_INT64: 2041s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2041s # break; 2041s # case G_TYPE_UINT64: 2041s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2041s # break; 2041s # case G_TYPE_DOUBLE: 2041s # { 2041s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2041s # gdouble da = g_value_get_double (a); 2041s # gdouble db = g_value_get_double (b); 2041s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2041s # } 2041s # break; 2041s # case G_TYPE_STRING: 2041s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2041s # break; 2041s # case G_TYPE_VARIANT: 2041s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2041s # break; 2041s # default: 2041s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2041s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2041s # else 2041s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2041s # break; 2041s # } 2041s # return ret; 2041s # } 2041s # 2041s # static void 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint G_GNUC_UNUSED, 2041s # void *marshal_data) 2041s # { 2041s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (void *data1, 2041s # GDBusMethodInvocation *arg_method_invocation, 2041s # void *data2); 2041s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2041s # GCClosure *cc = (GCClosure*) closure; 2041s # void *data1, *data2; 2041s # gboolean v_return; 2041s # 2041s # g_return_if_fail (return_value != NULL); 2041s # g_return_if_fail (n_param_values == 2); 2041s # 2041s # if (G_CCLOSURE_SWAP_DATA (closure)) 2041s # { 2041s # data1 = closure->data; 2041s # data2 = g_value_peek_pointer (param_values + 0); 2041s # } 2041s # else 2041s # { 2041s # data1 = g_value_peek_pointer (param_values + 0); 2041s # data2 = closure->data; 2041s # } 2041s # 2041s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2041s # (marshal_data ? marshal_data : cc->callback); 2041s # 2041s # v_return = 2041s # callback (data1, 2041s # g_marshal_value_peek_object (param_values + 1), 2041s # data2); 2041s # 2041s # g_value_set_boolean (return_value, v_return); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ 2041s # * Code for interface org.project.UsefulInterface 2041s # * ------------------------------------------------------------------------ 2041s # */ 2041s # 2041s # /** 2041s # * SECTION:OrgProjectUsefulInterface 2041s # * @title: OrgProjectUsefulInterface 2041s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2041s # * 2041s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2041s # */ 2041s # 2041s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2041s # 2041s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "arg_i", 2041s # (gchar *) "i", 2041s # NULL 2041s # }, 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "SingleArgMethodI", 2041s # NULL, 2041s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers, 2041s # NULL 2041s # }, 2041s # "handle-single-arg-method-i", 2041s # FALSE 2041s # }; 2041s # 2041s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2041s # { 2041s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct, 2041s # NULL 2041s # }; 2041s # 2041s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2041s # { 2041s # { 2041s # -1, 2041s # (gchar *) "org.project.UsefulInterface", 2041s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2041s # NULL, 2041s # NULL, 2041s # NULL 2041s # }, 2041s # "org-project-useful-interface", 2041s # }; 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_interface_info: 2041s # * 2041s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2041s # * 2041s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2041s # */ 2041s # GDBusInterfaceInfo * 2041s # org_project_useful_interface_interface_info (void) 2041s # { 2041s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_override_properties: 2041s # * @klass: The class structure for a #GObject derived class. 2041s # * @property_id_begin: The property id to assign to the first overridden property. 2041s # * 2041s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2041s # * The properties are overridden in the order they are defined. 2041s # * 2041s # * Returns: The last property id. 2041s # */ 2041s # guint 2041s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2041s # { 2041s # return property_id_begin - 1; 2041s # } 2041s # 2041s # 2041s # inline static void 2041s # org_project_useful_interface_method_marshal_single_arg_method_i ( 2041s # GClosure *closure, 2041s # GValue *return_value, 2041s # unsigned int n_param_values, 2041s # const GValue *param_values, 2041s # void *invocation_hint, 2041s # void *marshal_data) 2041s # { 2041s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2041s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2041s # } 2041s # 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterface: 2041s # * 2041s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceIface: 2041s # * @parent_iface: The parent interface. 2041s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal. 2041s # * 2041s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2041s # */ 2041s # 2041s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2041s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2041s # 2041s # static void 2041s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2041s # { 2041s # /* GObject signals for incoming D-Bus method calls: */ 2041s # /** 2041s # * OrgProjectUsefulInterface::handle-single-arg-method-i: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: A #GDBusMethodInvocation. 2041s # * 2041s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method. 2041s # * 2041s # * 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. 2041s # * 2041s # * 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. 2041s # */ 2041s # g_signal_new ("handle-single-arg-method-i", 2041s # G_TYPE_FROM_INTERFACE (iface), 2041s # G_SIGNAL_RUN_LAST, 2041s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i), 2041s # g_signal_accumulator_true_handled, 2041s # NULL, 2041s # org_project_useful_interface_method_marshal_single_arg_method_i, 2041s # G_TYPE_BOOLEAN, 2041s # 1, 2041s # G_TYPE_DBUS_METHOD_INVOCATION); 2041s # 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_i: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy. 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method. 2041s # */ 2041s # void 2041s # org_project_useful_interface_call_single_arg_method_i ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodI", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # callback, 2041s # user_data); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_i_finish: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i(). 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i(). 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_i_finish ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint *out_arg_i, 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(i)", 2041s # out_arg_i); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_call_single_arg_method_i_sync: 2041s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2041s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL. 2041s # * 2041s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method. 2041s # * 2041s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2041s # */ 2041s # gboolean 2041s # org_project_useful_interface_call_single_arg_method_i_sync ( 2041s # OrgProjectUsefulInterface *proxy, 2041s # gint *out_arg_i, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GVariant *_ret; 2041s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2041s # "SingleArgMethodI", 2041s # g_variant_new ("()"), 2041s # G_DBUS_CALL_FLAGS_NONE, 2041s # -1, 2041s # cancellable, 2041s # error); 2041s # if (_ret == NULL) 2041s # goto _out; 2041s # g_variant_get (_ret, 2041s # "(i)", 2041s # out_arg_i); 2041s # g_variant_unref (_ret); 2041s # _out: 2041s # return _ret != NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_complete_single_arg_method_i: 2041s # * @object: A #OrgProjectUsefulInterface. 2041s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2041s # * @arg_i: Parameter to return. 2041s # * 2041s # * 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. 2041s # * 2041s # * This method will free @invocation, you cannot use it afterwards. 2041s # */ 2041s # void 2041s # org_project_useful_interface_complete_single_arg_method_i ( 2041s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2041s # GDBusMethodInvocation *invocation, 2041s # gint arg_i) 2041s # { 2041s # g_dbus_method_invocation_return_value (invocation, 2041s # g_variant_new ("(i)", 2041s # arg_i)); 2041s # } 2041s # 2041s # /* ------------------------------------------------------------------------ */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxy: 2041s # * 2041s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2041s # */ 2041s # 2041s # /** 2041s # * OrgProjectUsefulInterfaceProxyClass: 2041s # * @parent_class: The parent class. 2041s # * 2041s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2041s # */ 2041s # 2041s # struct _OrgProjectUsefulInterfaceProxyPrivate 2041s # { 2041s # GData *qdata; 2041s # }; 2041s # 2041s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #else 2041s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2041s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2041s # 2041s # #endif 2041s # static void 2041s # org_project_useful_interface_proxy_finalize (GObject *object) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2041s # g_datalist_clear (&proxy->priv->qdata); 2041s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2041s # guint prop_id G_GNUC_UNUSED, 2041s # const GValue *value G_GNUC_UNUSED, 2041s # GParamSpec *pspec G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2041s # const gchar *sender_name G_GNUC_UNUSED, 2041s # const gchar *signal_name, 2041s # GVariant *parameters) 2041s # { 2041s # _ExtendedGDBusSignalInfo *info; 2041s # GVariantIter iter; 2041s # GVariant *child; 2041s # GValue *paramv; 2041s # gsize num_params; 2041s # gsize n; 2041s # guint signal_id; 2041s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2041s # if (info == NULL) 2041s # return; 2041s # num_params = g_variant_n_children (parameters); 2041s # paramv = g_new0 (GValue, num_params + 1); 2041s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_value_set_object (¶mv[0], proxy); 2041s # g_variant_iter_init (&iter, parameters); 2041s # n = 1; 2041s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2041s # { 2041s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2041s # if (arg_info->use_gvariant) 2041s # { 2041s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2041s # g_value_set_variant (¶mv[n], child); 2041s # n++; 2041s # } 2041s # else 2041s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2041s # g_variant_unref (child); 2041s # } 2041s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2041s # g_signal_emitv (paramv, signal_id, 0, NULL); 2041s # for (n = 0; n < num_params + 1; n++) 2041s # g_value_unset (¶mv[n]); 2041s # g_free (paramv); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2041s # GVariant *changed_properties, 2041s # const gchar *const *invalidated_properties) 2041s # { 2041s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2041s # guint n; 2041s # const gchar *key; 2041s # GVariantIter *iter; 2041s # _ExtendedGDBusPropertyInfo *info; 2041s # g_variant_get (changed_properties, "a{sv}", &iter); 2041s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2041s # g_datalist_remove_data (&proxy->priv->qdata, key); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # g_variant_iter_free (iter); 2041s # for (n = 0; invalidated_properties[n] != NULL; n++) 2041s # { 2041s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2041s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2041s # if (info != NULL) 2041s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2041s # } 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2041s # { 2041s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2041s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2041s # #else 2041s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2041s # #endif 2041s # 2041s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2041s # { 2041s # GObjectClass *gobject_class; 2041s # GDBusProxyClass *proxy_class; 2041s # 2041s # gobject_class = G_OBJECT_CLASS (klass); 2041s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2041s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2041s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2041s # 2041s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2041s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2041s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2041s # 2041s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2041s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2041s # #endif 2041s # } 2041s # 2041s # static void 2041s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2041s # { 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_sync: 2041s # * @connection: A #GDBusConnection. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_sync ( 2041s # GDBusConnection *connection, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GError **error) 2041s # { 2041s # GInitable *ret; 2041s # 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); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2041s # * @user_data: User data to pass to @callback. 2041s # * 2041s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2041s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2041s # */ 2041s # void 2041s # org_project_useful_interface_proxy_new_for_bus ( 2041s # GBusType bus_type, 2041s # GDBusProxyFlags flags, 2041s # const gchar *name, 2041s # const gchar *object_path, 2041s # GCancellable *cancellable, 2041s # GAsyncReadyCallback callback, 2041s # gpointer user_data) 2041s # { 2041s # g_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); 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_finish: 2041s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2041s # org_project_useful_interface_proxy_new_for_bus_finish ( 2041s # GAsyncResult *res, 2041s # GError **error) 2041s # { 2041s # GObject *ret; 2041s # GObject *source_object; 2041s # source_object = g_async_result_get_source_object (res); 2041s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2041s # g_object_unref (source_object); 2041s # if (ret != NULL) 2041s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2041s # else 2041s # return NULL; 2041s # } 2041s # 2041s # /** 2041s # * org_project_useful_interface_proxy_new_for_bus_sync: 2041s # * @bus_type: A #GBusType. 2041s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2041s # * @name: A bus name (well-known or unique). 2041s # * @object_path: An object path. 2041s # * @cancellable: (nullable): A #GCancellable or %NULL. 2041s # * @error: Return location for error or %NULL 2041s # * 2041s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2041s # * 2041s # * The calling thread is blocked until a reply is received. 2041s # * 2041s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2041s # * 2041s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2041s # */ 2041s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmp1n_g1f3g.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmp1n_g1f3g.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_u", 2042s # (gchar *) "u", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodU", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-u", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_u ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-u: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-u", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_u, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_u: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_u ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodU", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_u_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_u_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # guint *out_arg_u, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(u)", 2042s # out_arg_u); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_u_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_u_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # guint *out_arg_u, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodU", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(u)", 2042s # out_arg_u); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_u: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_u: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_u ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # guint arg_u) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(u)", 2042s # arg_u)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmp7e2lluar.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmp7e2lluar.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_x", 2042s # (gchar *) "x", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodX", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-x", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_x ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-x: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-x", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_x, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_x: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_x ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodX", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_x_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_x_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gint64 *out_arg_x, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(x)", 2042s # out_arg_x); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_x_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_x_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gint64 *out_arg_x, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodX", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(x)", 2042s # out_arg_x); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_x: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_x: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_x ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # gint64 arg_x) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(x)", 2042s # arg_x)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmpc2qaz5h9.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpc2qaz5h9.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_t", 2042s # (gchar *) "t", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodT", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-t", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_t ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-t: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-t", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_t, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_t: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_t ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodT", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_t_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_t_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # guint64 *out_arg_t, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(t)", 2042s # out_arg_t); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_t_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_t_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # guint64 *out_arg_t, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodT", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(t)", 2042s # out_arg_t); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_t: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_t: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_t ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # guint64 arg_t) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(t)", 2042s # arg_t)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmpn3ex1p9_.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpn3ex1p9_.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_d", 2042s # (gchar *) "d", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodD", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-d", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_d ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-d: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-d", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_d, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_d: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_d ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodD", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_d_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_d_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gdouble *out_arg_d, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(d)", 2042s # out_arg_d); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_d_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_d_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gdouble *out_arg_d, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodD", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(d)", 2042s # out_arg_d); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_d: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_d: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_d ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # gdouble arg_d) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(d)", 2042s # arg_d)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmptfgxp8uq.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmptfgxp8uq.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_s", 2042s # (gchar *) "s", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodS", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-s", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_s ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-s: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-s", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_s, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_s: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_s ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodS", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_s_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_s_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar **out_arg_s, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(s)", 2042s # out_arg_s); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_s_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_s_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar **out_arg_s, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodS", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(s)", 2042s # out_arg_s); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_s: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_s: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_s ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # const gchar *arg_s) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(s)", 2042s # arg_s)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmpj0ns7k1t.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpj0ns7k1t.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_o", 2042s # (gchar *) "o", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodO", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-o", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_o ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-o: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-o", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_o, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_o: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_o ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodO", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_o_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_o_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar **out_arg_o, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(o)", 2042s # out_arg_o); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_o_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_o_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar **out_arg_o, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodO", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(o)", 2042s # out_arg_o); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_o: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_o: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_o ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # const gchar *arg_o) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(o)", 2042s # arg_o)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmpy7a637mw.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpy7a637mw.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_g", 2042s # (gchar *) "g", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodG", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-g", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_g ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-g: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-g", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_g, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_g: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_g ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodG", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_g_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_g_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar **out_arg_g, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(g)", 2042s # out_arg_g); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_g_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_g_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar **out_arg_g, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodG", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(g)", 2042s # out_arg_g); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_g: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_g: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_g ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # const gchar *arg_g) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(g)", 2042s # arg_g)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmpj9g0m1ew.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpj9g0m1ew.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_h", 2042s # (gchar *) "h", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodH", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-h", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_h ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-h: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-h", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_h, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_h: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_h ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodH", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_h_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_h_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GVariant **out_arg_h, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(@h)", 2042s # out_arg_h); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_h_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_h_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GVariant **out_arg_h, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodH", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(@h)", 2042s # out_arg_h); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_h: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_h: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_h ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # GVariant *arg_h) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(@h)", 2042s # arg_h)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmprdi3qu07.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmprdi3qu07.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_ay", 2042s # (gchar *) "ay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodAy", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-ay", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_ay ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-ay: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-ay", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_ay, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_ay: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_ay ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAy", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_ay_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_ay_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar **out_arg_ay, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(^ay)", 2042s # out_arg_ay); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_ay_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_ay_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar **out_arg_ay, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAy", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(^ay)", 2042s # out_arg_ay); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_ay: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_ay: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_ay ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # const gchar *arg_ay) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(^ay)", 2042s # arg_ay)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmpcp1sjd3o.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpcp1sjd3o.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_as", 2042s # (gchar *) "as", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodAs", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-as", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_as ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-as: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-as", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_as, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_as: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_as ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAs", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_as_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_as_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar ***out_arg_as, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(^as)", 2042s # out_arg_as); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_as_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_as_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar ***out_arg_as, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAs", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(^as)", 2042s # out_arg_as); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_as: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_as: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_as ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # const gchar *const *arg_as) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(^as)", 2042s # arg_as)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmpjeqwwj0w.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpjeqwwj0w.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_ao", 2042s # (gchar *) "ao", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodAo", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-ao", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_ao ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-ao: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-ao", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_ao, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_ao: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_ao ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAo", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_ao_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_ao_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar ***out_arg_ao, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(^ao)", 2042s # out_arg_ao); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_ao_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_ao_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar ***out_arg_ao, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAo", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(^ao)", 2042s # out_arg_ao); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_ao: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_ao: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_ao ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # const gchar *const *arg_ao) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(^ao)", 2042s # arg_ao)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmpl21qdp4q.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpl21qdp4q.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_aay", 2042s # (gchar *) "aay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodAay", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-aay", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_aay ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-aay: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-aay", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_aay, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_aay: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_aay ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAay", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_aay_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_aay_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar ***out_arg_aay, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(^aay)", 2042s # out_arg_aay); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_aay_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_aay_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # gchar ***out_arg_aay, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAay", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(^aay)", 2042s # out_arg_aay); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_aay: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_aay: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_aay ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # const gchar *const *arg_aay) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(^aay)", 2042s # arg_aay)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s # 2042s # /tmp/tmpi366jjrv/tmpz4oovddh.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpi366jjrv/tmpz4oovddh.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "arg_asv", 2042s # (gchar *) "a{sv}", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgMethodAsv", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-single-arg-method-asv", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_method_marshal_single_arg_method_asv ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::handle-single-arg-method-asv: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-single-arg-method-asv", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_useful_interface_method_marshal_single_arg_method_asv, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_asv: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_useful_interface_call_single_arg_method_asv ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAsv", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_asv_finish: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_asv_finish ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GVariant **out_arg_asv, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(@a{sv})", 2042s # out_arg_asv); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_call_single_arg_method_asv_sync: 2042s # * @proxy: A #OrgProjectUsefulInterfaceProxy. 2042s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_useful_interface_call_single_arg_method_asv_sync ( 2042s # OrgProjectUsefulInterface *proxy, 2042s # GVariant **out_arg_asv, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SingleArgMethodAsv", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(@a{sv})", 2042s # out_arg_asv); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_complete_single_arg_method_asv: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @arg_asv: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_useful_interface_complete_single_arg_method_asv ( 2042s # OrgProjectUsefulInterface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # GVariant *arg_asv) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(@a{sv})", 2042s # arg_asv)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmpso5lxtza 2042s # /tmp/tmpso5lxtza/tmp8c7kperh.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpso5lxtza/tmp8c7kperh.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 20); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # g_marshal_value_peek_boolean (param_values + 2), 2042s # g_marshal_value_peek_uchar (param_values + 3), 2042s # g_marshal_value_peek_int (param_values + 4), 2042s # g_marshal_value_peek_uint (param_values + 5), 2042s # g_marshal_value_peek_int (param_values + 6), 2042s # g_marshal_value_peek_uint (param_values + 7), 2042s # g_marshal_value_peek_int64 (param_values + 8), 2042s # g_marshal_value_peek_uint64 (param_values + 9), 2042s # g_marshal_value_peek_double (param_values + 10), 2042s # g_marshal_value_peek_string (param_values + 11), 2042s # g_marshal_value_peek_string (param_values + 12), 2042s # g_marshal_value_peek_string (param_values + 13), 2042s # g_marshal_value_peek_variant (param_values + 14), 2042s # g_marshal_value_peek_string (param_values + 15), 2042s # g_marshal_value_peek_boxed (param_values + 16), 2042s # g_marshal_value_peek_boxed (param_values + 17), 2042s # g_marshal_value_peek_boxed (param_values + 18), 2042s # g_marshal_value_peek_variant (param_values + 19), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.CallableIface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectCallableIface 2042s # * @title: OrgProjectCallableIface 2042s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.CallableIface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_b", 2042s # (gchar *) "b", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_y", 2042s # (gchar *) "y", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_n", 2042s # (gchar *) "n", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_q", 2042s # (gchar *) "q", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_i", 2042s # (gchar *) "i", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_u", 2042s # (gchar *) "u", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_x", 2042s # (gchar *) "x", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_t", 2042s # (gchar *) "t", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_d", 2042s # (gchar *) "d", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_s", 2042s # (gchar *) "s", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_o", 2042s # (gchar *) "o", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_g", 2042s # (gchar *) "g", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_h", 2042s # (gchar *) "h", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ay", 2042s # (gchar *) "ay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_as", 2042s # (gchar *) "as", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ao", 2042s # (gchar *) "ao", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_aay", 2042s # (gchar *) "aay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_asv", 2042s # (gchar *) "a{sv}", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 2042s # { 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "MethodWithManyArgs", 2042s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "handle-method-with-many-args", 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_b", 2042s # (gchar *) "b", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_y", 2042s # (gchar *) "y", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_n", 2042s # (gchar *) "n", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_q", 2042s # (gchar *) "q", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_i", 2042s # (gchar *) "i", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_u", 2042s # (gchar *) "u", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_x", 2042s # (gchar *) "x", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_t", 2042s # (gchar *) "t", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_d", 2042s # (gchar *) "d", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_s", 2042s # (gchar *) "s", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_o", 2042s # (gchar *) "o", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_g", 2042s # (gchar *) "g", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_h", 2042s # (gchar *) "h", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ay", 2042s # (gchar *) "ay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_as", 2042s # (gchar *) "as", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ao", 2042s # (gchar *) "ao", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_aay", 2042s # (gchar *) "aay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_asv", 2042s # (gchar *) "a{sv}", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] = 2042s # { 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SameMethodWithManyArgs", 2042s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "handle-same-method-with-many-args", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 2042s # { 2042s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 2042s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.CallableIface", 2042s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-callable-iface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_callable_iface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_callable_iface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_callable_iface_method_marshal_method_with_many_args ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _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, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_callable_iface_method_marshal_same_method_with_many_args ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _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, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectCallableIface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 2042s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.CallableIface. 2042s # */ 2042s # 2042s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectCallableIface::handle-method-with-many-args: 2042s # * @object: A #OrgProjectCallableIface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * @arg_an_b: Argument passed by remote caller. 2042s # * @arg_an_y: Argument passed by remote caller. 2042s # * @arg_an_n: Argument passed by remote caller. 2042s # * @arg_an_q: Argument passed by remote caller. 2042s # * @arg_an_i: Argument passed by remote caller. 2042s # * @arg_an_u: Argument passed by remote caller. 2042s # * @arg_an_x: Argument passed by remote caller. 2042s # * @arg_an_t: Argument passed by remote caller. 2042s # * @arg_an_d: Argument passed by remote caller. 2042s # * @arg_an_s: Argument passed by remote caller. 2042s # * @arg_an_o: Argument passed by remote caller. 2042s # * @arg_an_g: Argument passed by remote caller. 2042s # * @arg_an_h: Argument passed by remote caller. 2042s # * @arg_an_ay: Argument passed by remote caller. 2042s # * @arg_an_as: Argument passed by remote caller. 2042s # * @arg_an_ao: Argument passed by remote caller. 2042s # * @arg_an_aay: Argument passed by remote caller. 2042s # * @arg_an_asv: Argument passed by remote caller. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-method-with-many-args", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_callable_iface_method_marshal_method_with_many_args, 2042s # G_TYPE_BOOLEAN, 2042s # 19, 2042s # 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); 2042s # 2042s # /** 2042s # * OrgProjectCallableIface::handle-same-method-with-many-args: 2042s # * @object: A #OrgProjectCallableIface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * @arg_an_b: Argument passed by remote caller. 2042s # * @arg_an_y: Argument passed by remote caller. 2042s # * @arg_an_n: Argument passed by remote caller. 2042s # * @arg_an_q: Argument passed by remote caller. 2042s # * @arg_an_i: Argument passed by remote caller. 2042s # * @arg_an_u: Argument passed by remote caller. 2042s # * @arg_an_x: Argument passed by remote caller. 2042s # * @arg_an_t: Argument passed by remote caller. 2042s # * @arg_an_d: Argument passed by remote caller. 2042s # * @arg_an_s: Argument passed by remote caller. 2042s # * @arg_an_o: Argument passed by remote caller. 2042s # * @arg_an_g: Argument passed by remote caller. 2042s # * @arg_an_h: Argument passed by remote caller. 2042s # * @arg_an_ay: Argument passed by remote caller. 2042s # * @arg_an_as: Argument passed by remote caller. 2042s # * @arg_an_ao: Argument passed by remote caller. 2042s # * @arg_an_aay: Argument passed by remote caller. 2042s # * @arg_an_asv: Argument passed by remote caller. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-same-method-with-many-args", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_callable_iface_method_marshal_same_method_with_many_args, 2042s # G_TYPE_BOOLEAN, 2042s # 19, 2042s # 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); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_call_method_with_many_args: 2042s # * @proxy: A #OrgProjectCallableIfaceProxy. 2042s # * @arg_an_b: Argument to pass with the method invocation. 2042s # * @arg_an_y: Argument to pass with the method invocation. 2042s # * @arg_an_n: Argument to pass with the method invocation. 2042s # * @arg_an_q: Argument to pass with the method invocation. 2042s # * @arg_an_i: Argument to pass with the method invocation. 2042s # * @arg_an_u: Argument to pass with the method invocation. 2042s # * @arg_an_x: Argument to pass with the method invocation. 2042s # * @arg_an_t: Argument to pass with the method invocation. 2042s # * @arg_an_d: Argument to pass with the method invocation. 2042s # * @arg_an_s: Argument to pass with the method invocation. 2042s # * @arg_an_o: Argument to pass with the method invocation. 2042s # * @arg_an_g: Argument to pass with the method invocation. 2042s # * @arg_an_h: Argument to pass with the method invocation. 2042s # * @arg_an_ay: Argument to pass with the method invocation. 2042s # * @arg_an_as: Argument to pass with the method invocation. 2042s # * @arg_an_ao: Argument to pass with the method invocation. 2042s # * @arg_an_aay: Argument to pass with the method invocation. 2042s # * @arg_an_asv: Argument to pass with the method invocation. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_callable_iface_call_method_with_many_args ( 2042s # OrgProjectCallableIface *proxy, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "MethodWithManyArgs", 2042s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # arg_an_b, 2042s # arg_an_y, 2042s # arg_an_n, 2042s # arg_an_q, 2042s # arg_an_i, 2042s # arg_an_u, 2042s # arg_an_x, 2042s # arg_an_t, 2042s # arg_an_d, 2042s # arg_an_s, 2042s # arg_an_o, 2042s # arg_an_g, 2042s # arg_an_h, 2042s # arg_an_ay, 2042s # arg_an_as, 2042s # arg_an_ao, 2042s # arg_an_aay, 2042s # arg_an_asv), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_call_method_with_many_args_finish: 2042s # * @proxy: A #OrgProjectCallableIfaceProxy. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_callable_iface_call_method_with_many_args_finish ( 2042s # OrgProjectCallableIface *proxy, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "()"); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_call_method_with_many_args_sync: 2042s # * @proxy: A #OrgProjectCallableIfaceProxy. 2042s # * @arg_an_b: Argument to pass with the method invocation. 2042s # * @arg_an_y: Argument to pass with the method invocation. 2042s # * @arg_an_n: Argument to pass with the method invocation. 2042s # * @arg_an_q: Argument to pass with the method invocation. 2042s # * @arg_an_i: Argument to pass with the method invocation. 2042s # * @arg_an_u: Argument to pass with the method invocation. 2042s # * @arg_an_x: Argument to pass with the method invocation. 2042s # * @arg_an_t: Argument to pass with the method invocation. 2042s # * @arg_an_d: Argument to pass with the method invocation. 2042s # * @arg_an_s: Argument to pass with the method invocation. 2042s # * @arg_an_o: Argument to pass with the method invocation. 2042s # * @arg_an_g: Argument to pass with the method invocation. 2042s # * @arg_an_h: Argument to pass with the method invocation. 2042s # * @arg_an_ay: Argument to pass with the method invocation. 2042s # * @arg_an_as: Argument to pass with the method invocation. 2042s # * @arg_an_ao: Argument to pass with the method invocation. 2042s # * @arg_an_aay: Argument to pass with the method invocation. 2042s # * @arg_an_asv: Argument to pass with the method invocation. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_callable_iface_call_method_with_many_args_sync ( 2042s # OrgProjectCallableIface *proxy, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "MethodWithManyArgs", 2042s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # arg_an_b, 2042s # arg_an_y, 2042s # arg_an_n, 2042s # arg_an_q, 2042s # arg_an_i, 2042s # arg_an_u, 2042s # arg_an_x, 2042s # arg_an_t, 2042s # arg_an_d, 2042s # arg_an_s, 2042s # arg_an_o, 2042s # arg_an_g, 2042s # arg_an_h, 2042s # arg_an_ay, 2042s # arg_an_as, 2042s # arg_an_ao, 2042s # arg_an_aay, 2042s # arg_an_asv), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "()"); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_call_same_method_with_many_args: 2042s # * @proxy: A #OrgProjectCallableIfaceProxy. 2042s # * @arg_an_b: Argument to pass with the method invocation. 2042s # * @arg_an_y: Argument to pass with the method invocation. 2042s # * @arg_an_n: Argument to pass with the method invocation. 2042s # * @arg_an_q: Argument to pass with the method invocation. 2042s # * @arg_an_i: Argument to pass with the method invocation. 2042s # * @arg_an_u: Argument to pass with the method invocation. 2042s # * @arg_an_x: Argument to pass with the method invocation. 2042s # * @arg_an_t: Argument to pass with the method invocation. 2042s # * @arg_an_d: Argument to pass with the method invocation. 2042s # * @arg_an_s: Argument to pass with the method invocation. 2042s # * @arg_an_o: Argument to pass with the method invocation. 2042s # * @arg_an_g: Argument to pass with the method invocation. 2042s # * @arg_an_h: Argument to pass with the method invocation. 2042s # * @arg_an_ay: Argument to pass with the method invocation. 2042s # * @arg_an_as: Argument to pass with the method invocation. 2042s # * @arg_an_ao: Argument to pass with the method invocation. 2042s # * @arg_an_aay: Argument to pass with the method invocation. 2042s # * @arg_an_asv: Argument to pass with the method invocation. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_callable_iface_call_same_method_with_many_args ( 2042s # OrgProjectCallableIface *proxy, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "SameMethodWithManyArgs", 2042s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # arg_an_b, 2042s # arg_an_y, 2042s # arg_an_n, 2042s # arg_an_q, 2042s # arg_an_i, 2042s # arg_an_u, 2042s # arg_an_x, 2042s # arg_an_t, 2042s # arg_an_d, 2042s # arg_an_s, 2042s # arg_an_o, 2042s # arg_an_g, 2042s # arg_an_h, 2042s # arg_an_ay, 2042s # arg_an_as, 2042s # arg_an_ao, 2042s # arg_an_aay, 2042s # arg_an_asv), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_call_same_method_with_many_args_finish: 2042s # * @proxy: A #OrgProjectCallableIfaceProxy. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_callable_iface_call_same_method_with_many_args_finish ( 2042s # OrgProjectCallableIface *proxy, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "()"); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_call_same_method_with_many_args_sync: 2042s # * @proxy: A #OrgProjectCallableIfaceProxy. 2042s # * @arg_an_b: Argument to pass with the method invocation. 2042s # * @arg_an_y: Argument to pass with the method invocation. 2042s # * @arg_an_n: Argument to pass with the method invocation. 2042s # * @arg_an_q: Argument to pass with the method invocation. 2042s # * @arg_an_i: Argument to pass with the method invocation. 2042s # * @arg_an_u: Argument to pass with the method invocation. 2042s # * @arg_an_x: Argument to pass with the method invocation. 2042s # * @arg_an_t: Argument to pass with the method invocation. 2042s # * @arg_an_d: Argument to pass with the method invocation. 2042s # * @arg_an_s: Argument to pass with the method invocation. 2042s # * @arg_an_o: Argument to pass with the method invocation. 2042s # * @arg_an_g: Argument to pass with the method invocation. 2042s # * @arg_an_h: Argument to pass with the method invocation. 2042s # * @arg_an_ay: Argument to pass with the method invocation. 2042s # * @arg_an_as: Argument to pass with the method invocation. 2042s # * @arg_an_ao: Argument to pass with the method invocation. 2042s # * @arg_an_aay: Argument to pass with the method invocation. 2042s # * @arg_an_asv: Argument to pass with the method invocation. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_callable_iface_call_same_method_with_many_args_sync ( 2042s # OrgProjectCallableIface *proxy, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "SameMethodWithManyArgs", 2042s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # arg_an_b, 2042s # arg_an_y, 2042s # arg_an_n, 2042s # arg_an_q, 2042s # arg_an_i, 2042s # arg_an_u, 2042s # arg_an_x, 2042s # arg_an_t, 2042s # arg_an_d, 2042s # arg_an_s, 2042s # arg_an_o, 2042s # arg_an_g, 2042s # arg_an_h, 2042s # arg_an_ay, 2042s # arg_an_as, 2042s # arg_an_ao, 2042s # arg_an_aay, 2042s # arg_an_asv), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "()"); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_complete_method_with_many_args: 2042s # * @object: A #OrgProjectCallableIface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_callable_iface_complete_method_with_many_args ( 2042s # OrgProjectCallableIface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("()")); 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_complete_same_method_with_many_args: 2042s # * @object: A #OrgProjectCallableIface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_callable_iface_complete_same_method_with_many_args ( 2042s # OrgProjectCallableIface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("()")); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceProxy: 2042s # * 2042s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectCallableIfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectCallableIfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_callable_iface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 2042s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 2042s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_callable_iface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_callable_iface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceSkeleton: 2042s # * 2042s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectCallableIfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectCallableIfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_callable_iface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_callable_iface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_callable_iface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 2042s # { 2042s # _org_project_callable_iface_skeleton_handle_method_call, 2042s # _org_project_callable_iface_skeleton_handle_get_property, 2042s # _org_project_callable_iface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_callable_iface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_callable_iface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.OtherCallableIface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectOtherCallableIface 2042s # * @title: OrgProjectOtherCallableIface 2042s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.OtherCallableIface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_b", 2042s # (gchar *) "b", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_y", 2042s # (gchar *) "y", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_n", 2042s # (gchar *) "n", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_q", 2042s # (gchar *) "q", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_i", 2042s # (gchar *) "i", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_u", 2042s # (gchar *) "u", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_x", 2042s # (gchar *) "x", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_t", 2042s # (gchar *) "t", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_d", 2042s # (gchar *) "d", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_s", 2042s # (gchar *) "s", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_o", 2042s # (gchar *) "o", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_g", 2042s # (gchar *) "g", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_h", 2042s # (gchar *) "h", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ay", 2042s # (gchar *) "ay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_as", 2042s # (gchar *) "as", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ao", 2042s # (gchar *) "ao", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_aay", 2042s # (gchar *) "aay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_asv", 2042s # (gchar *) "a{sv}", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] = 2042s # { 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct, 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "MethodWithManyArgs", 2042s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "handle-method-with-many-args", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] = 2042s # { 2042s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.OtherCallableIface", 2042s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-other-callable-iface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_other_callable_iface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_other_callable_iface_method_marshal_method_with_many_args ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _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, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectOtherCallableIface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectOtherCallableIfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.OtherCallableIface. 2042s # */ 2042s # 2042s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectOtherCallableIface::handle-method-with-many-args: 2042s # * @object: A #OrgProjectOtherCallableIface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * @arg_an_b: Argument passed by remote caller. 2042s # * @arg_an_y: Argument passed by remote caller. 2042s # * @arg_an_n: Argument passed by remote caller. 2042s # * @arg_an_q: Argument passed by remote caller. 2042s # * @arg_an_i: Argument passed by remote caller. 2042s # * @arg_an_u: Argument passed by remote caller. 2042s # * @arg_an_x: Argument passed by remote caller. 2042s # * @arg_an_t: Argument passed by remote caller. 2042s # * @arg_an_d: Argument passed by remote caller. 2042s # * @arg_an_s: Argument passed by remote caller. 2042s # * @arg_an_o: Argument passed by remote caller. 2042s # * @arg_an_g: Argument passed by remote caller. 2042s # * @arg_an_h: Argument passed by remote caller. 2042s # * @arg_an_ay: Argument passed by remote caller. 2042s # * @arg_an_as: Argument passed by remote caller. 2042s # * @arg_an_ao: Argument passed by remote caller. 2042s # * @arg_an_aay: Argument passed by remote caller. 2042s # * @arg_an_asv: Argument passed by remote caller. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-method-with-many-args", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_other_callable_iface_method_marshal_method_with_many_args, 2042s # G_TYPE_BOOLEAN, 2042s # 19, 2042s # 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); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_call_method_with_many_args: 2042s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 2042s # * @arg_an_b: Argument to pass with the method invocation. 2042s # * @arg_an_y: Argument to pass with the method invocation. 2042s # * @arg_an_n: Argument to pass with the method invocation. 2042s # * @arg_an_q: Argument to pass with the method invocation. 2042s # * @arg_an_i: Argument to pass with the method invocation. 2042s # * @arg_an_u: Argument to pass with the method invocation. 2042s # * @arg_an_x: Argument to pass with the method invocation. 2042s # * @arg_an_t: Argument to pass with the method invocation. 2042s # * @arg_an_d: Argument to pass with the method invocation. 2042s # * @arg_an_s: Argument to pass with the method invocation. 2042s # * @arg_an_o: Argument to pass with the method invocation. 2042s # * @arg_an_g: Argument to pass with the method invocation. 2042s # * @arg_an_h: Argument to pass with the method invocation. 2042s # * @arg_an_ay: Argument to pass with the method invocation. 2042s # * @arg_an_as: Argument to pass with the method invocation. 2042s # * @arg_an_ao: Argument to pass with the method invocation. 2042s # * @arg_an_aay: Argument to pass with the method invocation. 2042s # * @arg_an_asv: Argument to pass with the method invocation. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_other_callable_iface_call_method_with_many_args ( 2042s # OrgProjectOtherCallableIface *proxy, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "MethodWithManyArgs", 2042s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # arg_an_b, 2042s # arg_an_y, 2042s # arg_an_n, 2042s # arg_an_q, 2042s # arg_an_i, 2042s # arg_an_u, 2042s # arg_an_x, 2042s # arg_an_t, 2042s # arg_an_d, 2042s # arg_an_s, 2042s # arg_an_o, 2042s # arg_an_g, 2042s # arg_an_h, 2042s # arg_an_ay, 2042s # arg_an_as, 2042s # arg_an_ao, 2042s # arg_an_aay, 2042s # arg_an_asv), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_call_method_with_many_args_finish: 2042s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_other_callable_iface_call_method_with_many_args_finish ( 2042s # OrgProjectOtherCallableIface *proxy, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "()"); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_call_method_with_many_args_sync: 2042s # * @proxy: A #OrgProjectOtherCallableIfaceProxy. 2042s # * @arg_an_b: Argument to pass with the method invocation. 2042s # * @arg_an_y: Argument to pass with the method invocation. 2042s # * @arg_an_n: Argument to pass with the method invocation. 2042s # * @arg_an_q: Argument to pass with the method invocation. 2042s # * @arg_an_i: Argument to pass with the method invocation. 2042s # * @arg_an_u: Argument to pass with the method invocation. 2042s # * @arg_an_x: Argument to pass with the method invocation. 2042s # * @arg_an_t: Argument to pass with the method invocation. 2042s # * @arg_an_d: Argument to pass with the method invocation. 2042s # * @arg_an_s: Argument to pass with the method invocation. 2042s # * @arg_an_o: Argument to pass with the method invocation. 2042s # * @arg_an_g: Argument to pass with the method invocation. 2042s # * @arg_an_h: Argument to pass with the method invocation. 2042s # * @arg_an_ay: Argument to pass with the method invocation. 2042s # * @arg_an_as: Argument to pass with the method invocation. 2042s # * @arg_an_ao: Argument to pass with the method invocation. 2042s # * @arg_an_aay: Argument to pass with the method invocation. 2042s # * @arg_an_asv: Argument to pass with the method invocation. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_other_callable_iface_call_method_with_many_args_sync ( 2042s # OrgProjectOtherCallableIface *proxy, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "MethodWithManyArgs", 2042s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # arg_an_b, 2042s # arg_an_y, 2042s # arg_an_n, 2042s # arg_an_q, 2042s # arg_an_i, 2042s # arg_an_u, 2042s # arg_an_x, 2042s # arg_an_t, 2042s # arg_an_d, 2042s # arg_an_s, 2042s # arg_an_o, 2042s # arg_an_g, 2042s # arg_an_h, 2042s # arg_an_ay, 2042s # arg_an_as, 2042s # arg_an_ao, 2042s # arg_an_aay, 2042s # arg_an_asv), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "()"); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_complete_method_with_many_args: 2042s # * @object: A #OrgProjectOtherCallableIface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_other_callable_iface_complete_method_with_many_args ( 2042s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("()")); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectOtherCallableIfaceProxy: 2042s # * 2042s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectOtherCallableIfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectOtherCallableIfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectOtherCallableIfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_other_callable_iface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize; 2042s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property; 2042s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_other_callable_iface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_other_callable_iface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherCallableIface * 2042s # org_project_other_callable_iface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherCallableIface * 2042s # org_project_other_callable_iface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_other_callable_iface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherCallableIface * 2042s # org_project_other_callable_iface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherCallableIface * 2042s # org_project_other_callable_iface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectOtherCallableIfaceSkeleton: 2042s # * 2042s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectOtherCallableIfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_other_callable_iface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_other_callable_iface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_other_callable_iface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable = 2042s # { 2042s # _org_project_other_callable_iface_skeleton_handle_method_call, 2042s # _org_project_other_callable_iface_skeleton_handle_get_property, 2042s # _org_project_other_callable_iface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_other_callable_iface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_other_callable_iface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_callable_iface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectOtherCallableIface * 2042s # org_project_other_callable_iface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmpmunghu0t 2042s # /tmp/tmpmunghu0t/tmp31v742ta.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpmunghu0t/tmp31v742ta.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (void *data1, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.CallableIface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectCallableIface 2042s # * @title: OrgProjectCallableIface 2042s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for org.project.CallableIface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_b", 2042s # (gchar *) "b", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_y", 2042s # (gchar *) "y", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_n", 2042s # (gchar *) "n", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_q", 2042s # (gchar *) "q", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_i", 2042s # (gchar *) "i", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_u", 2042s # (gchar *) "u", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_x", 2042s # (gchar *) "x", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_t", 2042s # (gchar *) "t", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_d", 2042s # (gchar *) "d", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_s", 2042s # (gchar *) "s", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_o", 2042s # (gchar *) "o", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_g", 2042s # (gchar *) "g", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_h", 2042s # (gchar *) "h", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ay", 2042s # (gchar *) "ay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_as", 2042s # (gchar *) "as", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ao", 2042s # (gchar *) "ao", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_aay", 2042s # (gchar *) "aay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_asv", 2042s # (gchar *) "a{sv}", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] = 2042s # { 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct, 2042s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "MethodWithManyArgs", 2042s # NULL, 2042s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-method-with-many-args", 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] = 2042s # { 2042s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.CallableIface", 2042s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-callable-iface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_callable_iface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_callable_iface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_callable_iface_method_marshal_method_with_many_args ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectCallableIface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.CallableIface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.CallableIface. 2042s # */ 2042s # 2042s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * OrgProjectCallableIface::handle-method-with-many-args: 2042s # * @object: A #OrgProjectCallableIface. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-method-with-many-args", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # org_project_callable_iface_method_marshal_method_with_many_args, 2042s # G_TYPE_BOOLEAN, 2042s # 1, 2042s # G_TYPE_DBUS_METHOD_INVOCATION); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_call_method_with_many_args: 2042s # * @proxy: A #OrgProjectCallableIfaceProxy. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # org_project_callable_iface_call_method_with_many_args ( 2042s # OrgProjectCallableIface *proxy, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2042s # "MethodWithManyArgs", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_call_method_with_many_args_finish: 2042s # * @proxy: A #OrgProjectCallableIfaceProxy. 2042s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_callable_iface_call_method_with_many_args_finish ( 2042s # OrgProjectCallableIface *proxy, 2042s # gboolean *out_an_b, 2042s # guchar *out_an_y, 2042s # gint16 *out_an_n, 2042s # guint16 *out_an_q, 2042s # gint *out_an_i, 2042s # guint *out_an_u, 2042s # gint64 *out_an_x, 2042s # guint64 *out_an_t, 2042s # gdouble *out_an_d, 2042s # gchar **out_an_s, 2042s # gchar **out_an_o, 2042s # gchar **out_an_g, 2042s # GVariant **out_an_h, 2042s # gchar **out_an_ay, 2042s # gchar ***out_an_as, 2042s # gchar ***out_an_ao, 2042s # gchar ***out_an_aay, 2042s # GVariant **out_an_asv, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # out_an_b, 2042s # out_an_y, 2042s # out_an_n, 2042s # out_an_q, 2042s # out_an_i, 2042s # out_an_u, 2042s # out_an_x, 2042s # out_an_t, 2042s # out_an_d, 2042s # out_an_s, 2042s # out_an_o, 2042s # out_an_g, 2042s # out_an_h, 2042s # out_an_ay, 2042s # out_an_as, 2042s # out_an_ao, 2042s # out_an_aay, 2042s # out_an_asv); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_call_method_with_many_args_sync: 2042s # * @proxy: A #OrgProjectCallableIfaceProxy. 2042s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. 2042s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # org_project_callable_iface_call_method_with_many_args_sync ( 2042s # OrgProjectCallableIface *proxy, 2042s # gboolean *out_an_b, 2042s # guchar *out_an_y, 2042s # gint16 *out_an_n, 2042s # guint16 *out_an_q, 2042s # gint *out_an_i, 2042s # guint *out_an_u, 2042s # gint64 *out_an_x, 2042s # guint64 *out_an_t, 2042s # gdouble *out_an_d, 2042s # gchar **out_an_s, 2042s # gchar **out_an_o, 2042s # gchar **out_an_g, 2042s # GVariant **out_an_h, 2042s # gchar **out_an_ay, 2042s # gchar ***out_an_as, 2042s # gchar ***out_an_ao, 2042s # gchar ***out_an_aay, 2042s # GVariant **out_an_asv, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2042s # "MethodWithManyArgs", 2042s # g_variant_new ("()"), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # out_an_b, 2042s # out_an_y, 2042s # out_an_n, 2042s # out_an_q, 2042s # out_an_i, 2042s # out_an_u, 2042s # out_an_x, 2042s # out_an_t, 2042s # out_an_d, 2042s # out_an_s, 2042s # out_an_o, 2042s # out_an_g, 2042s # out_an_h, 2042s # out_an_ay, 2042s # out_an_as, 2042s # out_an_ao, 2042s # out_an_aay, 2042s # out_an_asv); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_complete_method_with_many_args: 2042s # * @object: A #OrgProjectCallableIface. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @an_b: Parameter to return. 2042s # * @an_y: Parameter to return. 2042s # * @an_n: Parameter to return. 2042s # * @an_q: Parameter to return. 2042s # * @an_i: Parameter to return. 2042s # * @an_u: Parameter to return. 2042s # * @an_x: Parameter to return. 2042s # * @an_t: Parameter to return. 2042s # * @an_d: Parameter to return. 2042s # * @an_s: Parameter to return. 2042s # * @an_o: Parameter to return. 2042s # * @an_g: Parameter to return. 2042s # * @an_h: Parameter to return. 2042s # * @an_ay: Parameter to return. 2042s # * @an_as: Parameter to return. 2042s # * @an_ao: Parameter to return. 2042s # * @an_aay: Parameter to return. 2042s # * @an_asv: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # org_project_callable_iface_complete_method_with_many_args ( 2042s # OrgProjectCallableIface *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # gboolean an_b, 2042s # guchar an_y, 2042s # gint16 an_n, 2042s # guint16 an_q, 2042s # gint an_i, 2042s # guint an_u, 2042s # gint64 an_x, 2042s # guint64 an_t, 2042s # gdouble an_d, 2042s # const gchar *an_s, 2042s # const gchar *an_o, 2042s # const gchar *an_g, 2042s # GVariant *an_h, 2042s # const gchar *an_ay, 2042s # const gchar *const *an_as, 2042s # const gchar *const *an_ao, 2042s # const gchar *const *an_aay, 2042s # GVariant *an_asv) 2042s # { 2042s # g_dbus_method_invocation_return_value (invocation, 2042s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # an_b, 2042s # an_y, 2042s # an_n, 2042s # an_q, 2042s # an_i, 2042s # an_u, 2042s # an_x, 2042s # an_t, 2042s # an_d, 2042s # an_s, 2042s # an_o, 2042s # an_g, 2042s # an_h, 2042s # an_ay, 2042s # an_as, 2042s # an_ao, 2042s # an_aay, 2042s # an_asv)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceProxy: 2042s # * 2042s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectCallableIfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectCallableIfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_callable_iface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_callable_iface_proxy_finalize; 2042s # gobject_class->get_property = org_project_callable_iface_proxy_get_property; 2042s # gobject_class->set_property = org_project_callable_iface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_callable_iface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_callable_iface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_callable_iface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_CALLABLE_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceSkeleton: 2042s # * 2042s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectCallableIfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectCallableIfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectCallableIfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_callable_iface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_callable_iface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_callable_iface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable = 2042s # { 2042s # _org_project_callable_iface_skeleton_handle_method_call, 2042s # _org_project_callable_iface_skeleton_handle_get_property, 2042s # _org_project_callable_iface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_callable_iface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_callable_iface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_callable_iface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectCallableIface * 2042s # org_project_callable_iface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmp14imlx9g 2042s # /tmp/tmp14imlx9g/tmpa97bs3gu.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp14imlx9g/tmpa97bs3gu.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 2042s # (void *data1, 2042s # GUnixFDList *arg_fd_list, 2042s # GDBusMethodInvocation *arg_method_invocation, 2042s # const gchar *arg_greeting, 2042s # void *data2); 2042s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # gboolean v_return; 2042s # 2042s # g_return_if_fail (return_value != NULL); 2042s # g_return_if_fail (n_param_values == 4); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # v_return = 2042s # callback (data1, 2042s # g_marshal_value_peek_object (param_values + 1), 2042s # g_marshal_value_peek_object (param_values + 2), 2042s # g_marshal_value_peek_string (param_values + 3), 2042s # data2); 2042s # 2042s # g_value_set_boolean (return_value, v_return); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface test.FDPassing 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:TestFDPassing 2042s # * @title: TestFDPassing 2042s # * @short_description: Generated C code for the test.FDPassing D-Bus interface 2042s # * 2042s # * This section contains code for working with the test.FDPassing D-Bus interface in C. 2042s # */ 2042s # 2042s # /* ---- Introspection data for test.FDPassing ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "greeting", 2042s # (gchar *) "s", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] = 2042s # { 2042s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "response", 2042s # (gchar *) "s", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] = 2042s # { 2042s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "HelloFD", 2042s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers, 2042s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "handle-hello-fd", 2042s # TRUE 2042s # }; 2042s # 2042s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] = 2042s # { 2042s # &_test_fdpassing_method_info_hello_fd.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "test.FDPassing", 2042s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers, 2042s # NULL, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "test-fdpassing", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * test_fdpassing_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the test.FDPassing D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # test_fdpassing_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # test_fdpassing_method_marshal_hello_fd ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * TestFDPassing: 2042s # * 2042s # * Abstract interface type for the D-Bus interface test.FDPassing. 2042s # */ 2042s # 2042s # /** 2042s # * TestFDPassingIface: 2042s # * @parent_iface: The parent interface. 2042s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal. 2042s # * 2042s # * Virtual table for the D-Bus interface test.FDPassing. 2042s # */ 2042s # 2042s # typedef TestFDPassingIface TestFDPassingInterface; 2042s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # test_fdpassing_default_init (TestFDPassingIface *iface) 2042s # { 2042s # /* GObject signals for incoming D-Bus method calls: */ 2042s # /** 2042s # * TestFDPassing::handle-hello-fd: 2042s # * @object: A #TestFDPassing. 2042s # * @invocation: A #GDBusMethodInvocation. 2042s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 2042s # * @arg_greeting: Argument passed by remote caller. 2042s # * 2042s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method. 2042s # * 2042s # * 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. 2042s # * 2042s # * 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. 2042s # */ 2042s # g_signal_new ("handle-hello-fd", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd), 2042s # g_signal_accumulator_true_handled, 2042s # NULL, 2042s # test_fdpassing_method_marshal_hello_fd, 2042s # G_TYPE_BOOLEAN, 2042s # 3, 2042s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_call_hello_fd: 2042s # * @proxy: A #TestFDPassingProxy. 2042s # * @arg_greeting: Argument to pass with the method invocation. 2042s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy. 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation. 2042s # * 2042s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method. 2042s # */ 2042s # void 2042s # test_fdpassing_call_hello_fd ( 2042s # TestFDPassing *proxy, 2042s # const gchar *arg_greeting, 2042s # GUnixFDList *fd_list, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy), 2042s # "HelloFD", 2042s # g_variant_new ("(s)", 2042s # arg_greeting), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # fd_list, 2042s # cancellable, 2042s # callback, 2042s # user_data); 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_call_hello_fd_finish: 2042s # * @proxy: A #TestFDPassingProxy. 2042s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore. 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd(). 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Finishes an operation started with test_fdpassing_call_hello_fd(). 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # test_fdpassing_call_hello_fd_finish ( 2042s # TestFDPassing *proxy, 2042s # gchar **out_response, 2042s # GUnixFDList **out_fd_list, 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(s)", 2042s # out_response); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_call_hello_fd_sync: 2042s # * @proxy: A #TestFDPassingProxy. 2042s # * @arg_greeting: Argument to pass with the method invocation. 2042s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 2042s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore. 2042s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL. 2042s # * 2042s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2042s # * 2042s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method. 2042s # * 2042s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2042s # */ 2042s # gboolean 2042s # test_fdpassing_call_hello_fd_sync ( 2042s # TestFDPassing *proxy, 2042s # const gchar *arg_greeting, 2042s # GUnixFDList *fd_list, 2042s # gchar **out_response, 2042s # GUnixFDList **out_fd_list, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GVariant *_ret; 2042s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy), 2042s # "HelloFD", 2042s # g_variant_new ("(s)", 2042s # arg_greeting), 2042s # G_DBUS_CALL_FLAGS_NONE, 2042s # -1, 2042s # fd_list, 2042s # out_fd_list, 2042s # cancellable, 2042s # error); 2042s # if (_ret == NULL) 2042s # goto _out; 2042s # g_variant_get (_ret, 2042s # "(s)", 2042s # out_response); 2042s # g_variant_unref (_ret); 2042s # _out: 2042s # return _ret != NULL; 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_complete_hello_fd: 2042s # * @object: A #TestFDPassing. 2042s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2042s # * @fd_list: (nullable): A #GUnixFDList or %NULL. 2042s # * @response: Parameter to return. 2042s # * 2042s # * 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. 2042s # * 2042s # * This method will free @invocation, you cannot use it afterwards. 2042s # */ 2042s # void 2042s # test_fdpassing_complete_hello_fd ( 2042s # TestFDPassing *object G_GNUC_UNUSED, 2042s # GDBusMethodInvocation *invocation, 2042s # GUnixFDList *fd_list, 2042s # const gchar *response) 2042s # { 2042s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation, 2042s # g_variant_new ("(s)", 2042s # response), 2042s # fd_list); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * TestFDPassingProxy: 2042s # * 2042s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * TestFDPassingProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #TestFDPassingProxy. 2042s # */ 2042s # 2042s # struct _TestFDPassingProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (TestFDPassingProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # test_fdpassing_proxy_finalize (GObject *object) 2042s # { 2042s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = test_fdpassing_proxy_finalize; 2042s # gobject_class->get_property = test_fdpassing_proxy_get_property; 2042s # gobject_class->set_property = test_fdpassing_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = test_fdpassing_proxy_g_signal; 2042s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # test_fdpassing_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with test_fdpassing_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # TestFDPassing * 2042s # test_fdpassing_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return TEST_FDPASSING (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # TestFDPassing * 2042s # test_fdpassing_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return TEST_FDPASSING (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * test_fdpassing_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # test_fdpassing_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # TestFDPassing * 2042s # test_fdpassing_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return TEST_FDPASSING (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # TestFDPassing * 2042s # test_fdpassing_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return TEST_FDPASSING (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * TestFDPassingSkeleton: 2042s # * 2042s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * TestFDPassingSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #TestFDPassingSkeleton. 2042s # */ 2042s # 2042s # struct _TestFDPassingSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _test_fdpassing_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _test_fdpassing_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _test_fdpassing_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable = 2042s # { 2042s # _test_fdpassing_skeleton_handle_method_call, 2042s # _test_fdpassing_skeleton_handle_get_property, 2042s # _test_fdpassing_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return test_fdpassing_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (TestFDPassingSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # test_fdpassing_skeleton_finalize (GObject *object) 2042s # { 2042s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = test_fdpassing_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * test_fdpassing_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface test.FDPassing. 2042s # * 2042s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object. 2042s # */ 2042s # TestFDPassing * 2042s # test_fdpassing_skeleton_new (void) 2042s # { 2042s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s ok 15 __main__.TestCodegen.test_generate_rst 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmpag6kzxqj 2042s # /tmp/tmpag6kzxqj/tmpax49cr8g.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpag6kzxqj/tmpax49cr8g.xml', '--generate-rst', 'test'] 2042s # Return code: 0 2042s # Output: 2042s # 2042s # Error: 2042s ok 16 __main__.TestCodegen.test_generate_rst_method 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmpa9018ar_ 2042s # /tmp/tmpa9018ar_/tmp7zn44o0m.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa9018ar_/tmp7zn44o0m.xml', '--generate-rst', 'test'] 2042s # Return code: 0 2042s # Output: 2042s # 2042s # Error: 2042s ok 17 __main__.TestCodegen.test_generate_rst_property 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmpv04eot9k 2042s # /tmp/tmpv04eot9k/tmp4aqx71q_.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv04eot9k/tmp4aqx71q_.xml', '--generate-rst', 'test'] 2042s # Return code: 0 2042s # Output: 2042s # 2042s # Error: 2042s ok 18 __main__.TestCodegen.test_generate_rst_signal 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmp0zs9eagk 2042s # /tmp/tmp0zs9eagk/tmp05m_lbaw.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0zs9eagk/tmp05m_lbaw.xml', '--generate-rst', 'test'] 2042s # Return code: 0 2042s # Output: 2042s # 2042s # Error: 2042s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmpfx_eq1d_ 2042s # /tmp/tmpfx_eq1d_/tmpmu2im2ht.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpfx_eq1d_/tmpmu2im2ht.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 2042s # GClosure *closure, 2042s # GValue *return_value G_GNUC_UNUSED, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 2042s # (void *data1, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv, 2042s # void *data2); 2042s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # 2042s # g_return_if_fail (n_param_values == 19); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # callback (data1, 2042s # g_marshal_value_peek_boolean (param_values + 1), 2042s # g_marshal_value_peek_uchar (param_values + 2), 2042s # g_marshal_value_peek_int (param_values + 3), 2042s # g_marshal_value_peek_uint (param_values + 4), 2042s # g_marshal_value_peek_int (param_values + 5), 2042s # g_marshal_value_peek_uint (param_values + 6), 2042s # g_marshal_value_peek_int64 (param_values + 7), 2042s # g_marshal_value_peek_uint64 (param_values + 8), 2042s # g_marshal_value_peek_double (param_values + 9), 2042s # g_marshal_value_peek_string (param_values + 10), 2042s # g_marshal_value_peek_string (param_values + 11), 2042s # g_marshal_value_peek_string (param_values + 12), 2042s # g_marshal_value_peek_variant (param_values + 13), 2042s # g_marshal_value_peek_string (param_values + 14), 2042s # g_marshal_value_peek_boxed (param_values + 15), 2042s # g_marshal_value_peek_boxed (param_values + 16), 2042s # g_marshal_value_peek_boxed (param_values + 17), 2042s # g_marshal_value_peek_variant (param_values + 18), 2042s # data2); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.SignalingIface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectSignalingIface 2042s # * @title: OrgProjectSignalingIface 2042s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2042s # */ 2042s # 2042s # enum 2042s # { 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 2042s # }; 2042s # 2042s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 2042s # 2042s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_b", 2042s # (gchar *) "b", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_y", 2042s # (gchar *) "y", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_n", 2042s # (gchar *) "n", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_q", 2042s # (gchar *) "q", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_i", 2042s # (gchar *) "i", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_u", 2042s # (gchar *) "u", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_x", 2042s # (gchar *) "x", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_t", 2042s # (gchar *) "t", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_d", 2042s # (gchar *) "d", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_s", 2042s # (gchar *) "s", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_o", 2042s # (gchar *) "o", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_g", 2042s # (gchar *) "g", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_h", 2042s # (gchar *) "h", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ay", 2042s # (gchar *) "ay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_as", 2042s # (gchar *) "as", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ao", 2042s # (gchar *) "ao", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_aay", 2042s # (gchar *) "aay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_asv", 2042s # (gchar *) "a{sv}", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SignalWithManyArgs", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "signal-with-many-args" 2042s # }; 2042s # 2042s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.SignalingIface", 2042s # NULL, 2042s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-signaling-iface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_signaling_iface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_signaling_iface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2042s # */ 2042s # 2042s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2042s # { 2042s # /* GObject signals for received D-Bus signals: */ 2042s # /** 2042s # * OrgProjectSignalingIface::signal-with-many-args: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_b: Argument. 2042s # * @arg_an_y: Argument. 2042s # * @arg_an_n: Argument. 2042s # * @arg_an_q: Argument. 2042s # * @arg_an_i: Argument. 2042s # * @arg_an_u: Argument. 2042s # * @arg_an_x: Argument. 2042s # * @arg_an_t: Argument. 2042s # * @arg_an_d: Argument. 2042s # * @arg_an_s: Argument. 2042s # * @arg_an_o: Argument. 2042s # * @arg_an_g: Argument. 2042s # * @arg_an_h: Argument. 2042s # * @arg_an_ay: Argument. 2042s # * @arg_an_as: Argument. 2042s # * @arg_an_ao: Argument. 2042s # * @arg_an_aay: Argument. 2042s # * @arg_an_asv: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 2042s # g_signal_new ("signal-with-many-args", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 2042s # G_TYPE_NONE, 2042s # 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); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_signal_with_many_args: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_b: Argument to pass with the signal. 2042s # * @arg_an_y: Argument to pass with the signal. 2042s # * @arg_an_n: Argument to pass with the signal. 2042s # * @arg_an_q: Argument to pass with the signal. 2042s # * @arg_an_i: Argument to pass with the signal. 2042s # * @arg_an_u: Argument to pass with the signal. 2042s # * @arg_an_x: Argument to pass with the signal. 2042s # * @arg_an_t: Argument to pass with the signal. 2042s # * @arg_an_d: Argument to pass with the signal. 2042s # * @arg_an_s: Argument to pass with the signal. 2042s # * @arg_an_o: Argument to pass with the signal. 2042s # * @arg_an_g: Argument to pass with the signal. 2042s # * @arg_an_h: Argument to pass with the signal. 2042s # * @arg_an_ay: Argument to pass with the signal. 2042s # * @arg_an_as: Argument to pass with the signal. 2042s # * @arg_an_ao: Argument to pass with the signal. 2042s # * @arg_an_aay: Argument to pass with the signal. 2042s # * @arg_an_asv: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SignalWithManyArgs" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_signal_with_many_args ( 2042s # OrgProjectSignalingIface *object, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceProxy: 2042s # * 2042s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectSignalingIfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectSignalingIfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_signaling_iface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2042s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2042s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceSkeleton: 2042s # * 2042s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_signaling_iface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_signaling_iface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_signaling_iface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2042s # { 2042s # _org_project_signaling_iface_skeleton_handle_method_call, 2042s # _org_project_signaling_iface_skeleton_handle_get_property, 2042s # _org_project_signaling_iface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_signaling_iface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 2042s # OrgProjectSignalingIface *object, 2042s # gboolean arg_an_b, 2042s # guchar arg_an_y, 2042s # gint16 arg_an_n, 2042s # guint16 arg_an_q, 2042s # gint arg_an_i, 2042s # guint arg_an_u, 2042s # gint64 arg_an_x, 2042s # guint64 arg_an_t, 2042s # gdouble arg_an_d, 2042s # const gchar *arg_an_s, 2042s # const gchar *arg_an_o, 2042s # const gchar *arg_an_g, 2042s # GVariant *arg_an_h, 2042s # const gchar *arg_an_ay, 2042s # const gchar *const *arg_an_as, 2042s # const gchar *const *arg_an_ao, 2042s # const gchar *const *arg_an_aay, 2042s # GVariant *arg_an_asv) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2042s # arg_an_b, 2042s # arg_an_y, 2042s # arg_an_n, 2042s # arg_an_q, 2042s # arg_an_i, 2042s # arg_an_u, 2042s # arg_an_x, 2042s # arg_an_t, 2042s # arg_an_d, 2042s # arg_an_s, 2042s # arg_an_o, 2042s # arg_an_g, 2042s # arg_an_h, 2042s # arg_an_ay, 2042s # arg_an_as, 2042s # arg_an_ao, 2042s # arg_an_aay, 2042s # arg_an_asv)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2042s # { 2042s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmpwfp5_u6n 2042s # /tmp/tmpwfp5_u6n/tmpf15b1k6k.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwfp5_u6n/tmpf15b1k6k.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_VOID__INT64 ( 2042s # GClosure *closure, 2042s # GValue *return_value G_GNUC_UNUSED, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 2042s # (void *data1, 2042s # gint64 arg_an_x, 2042s # void *data2); 2042s # _GDbusCodegenMarshalVoid_Int64Func callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # callback (data1, 2042s # g_marshal_value_peek_int64 (param_values + 1), 2042s # data2); 2042s # } 2042s # 2042s # static void 2042s # _g_dbus_codegen_marshal_VOID__UINT64 ( 2042s # GClosure *closure, 2042s # GValue *return_value G_GNUC_UNUSED, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint G_GNUC_UNUSED, 2042s # void *marshal_data) 2042s # { 2042s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 2042s # (void *data1, 2042s # guint64 arg_an_t, 2042s # void *data2); 2042s # _GDbusCodegenMarshalVoid_Uint64Func callback; 2042s # GCClosure *cc = (GCClosure*) closure; 2042s # void *data1, *data2; 2042s # 2042s # g_return_if_fail (n_param_values == 2); 2042s # 2042s # if (G_CCLOSURE_SWAP_DATA (closure)) 2042s # { 2042s # data1 = closure->data; 2042s # data2 = g_value_peek_pointer (param_values + 0); 2042s # } 2042s # else 2042s # { 2042s # data1 = g_value_peek_pointer (param_values + 0); 2042s # data2 = closure->data; 2042s # } 2042s # 2042s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 2042s # (marshal_data ? marshal_data : cc->callback); 2042s # 2042s # callback (data1, 2042s # g_marshal_value_peek_uint64 (param_values + 1), 2042s # data2); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.SignalingIface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectSignalingIface 2042s # * @title: OrgProjectSignalingIface 2042s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2042s # */ 2042s # 2042s # enum 2042s # { 2042s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 2042s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 2042s # }; 2042s # 2042s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 }; 2042s # 2042s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "NoArgSignal", 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "no-arg-signal" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_b", 2042s # (gchar *) "b", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalB", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-b" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_y", 2042s # (gchar *) "y", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalY", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-y" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_n", 2042s # (gchar *) "n", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalN", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-n" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_q", 2042s # (gchar *) "q", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalQ", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-q" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_i", 2042s # (gchar *) "i", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalI", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-i" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_u", 2042s # (gchar *) "u", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalU", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-u" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_x", 2042s # (gchar *) "x", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalX", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-x" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_t", 2042s # (gchar *) "t", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalT", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-t" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_d", 2042s # (gchar *) "d", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalD", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-d" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_s", 2042s # (gchar *) "s", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalS", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-s" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_o", 2042s # (gchar *) "o", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalO", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-o" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_g", 2042s # (gchar *) "g", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalG", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-g" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_h", 2042s # (gchar *) "h", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalH", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-h" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ay", 2042s # (gchar *) "ay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalAY", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-ay" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_as", 2042s # (gchar *) "as", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalAS", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-as" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_ao", 2042s # (gchar *) "ao", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalAO", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-ao" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_aay", 2042s # (gchar *) "aay", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalAAY", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-aay" 2042s # }; 2042s # 2042s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "an_asv", 2042s # (gchar *) "a{sv}", 2042s # NULL 2042s # }, 2042s # FALSE 2042s # }; 2042s # 2042s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SingleArgSignalASV", 2042s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 2042s # NULL 2042s # }, 2042s # "single-arg-signal-asv" 2042s # }; 2042s # 2042s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 2042s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.SignalingIface", 2042s # NULL, 2042s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-signaling-iface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_signaling_iface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_signaling_iface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_no_arg_signal ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__VOID (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__BOOLEAN (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__UCHAR (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__INT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__UINT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__INT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__UINT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__DOUBLE (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__STRING (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__STRING (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__STRING (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__VARIANT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__STRING (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__BOXED (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__BOXED (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__BOXED (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__VARIANT (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal. 2042s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 2042s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 2042s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 2042s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 2042s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 2042s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 2042s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 2042s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 2042s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 2042s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 2042s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 2042s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 2042s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 2042s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 2042s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 2042s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 2042s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 2042s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2042s # */ 2042s # 2042s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2042s # { 2042s # /* GObject signals for received D-Bus signals: */ 2042s # /** 2042s # * OrgProjectSignalingIface::no-arg-signal: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] = 2042s # g_signal_new ("no-arg-signal", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_no_arg_signal, 2042s # G_TYPE_NONE, 2042s # 0); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-b: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_b: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 2042s # g_signal_new ("single-arg-signal-b", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_BOOLEAN); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-y: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_y: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 2042s # g_signal_new ("single-arg-signal-y", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_UCHAR); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-n: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_n: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 2042s # g_signal_new ("single-arg-signal-n", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_INT); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-q: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_q: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 2042s # g_signal_new ("single-arg-signal-q", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_UINT); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-i: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_i: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 2042s # g_signal_new ("single-arg-signal-i", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_INT); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-u: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_u: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 2042s # g_signal_new ("single-arg-signal-u", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_UINT); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-x: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_x: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 2042s # g_signal_new ("single-arg-signal-x", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_INT64); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-t: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_t: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 2042s # g_signal_new ("single-arg-signal-t", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_UINT64); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-d: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_d: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 2042s # g_signal_new ("single-arg-signal-d", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_DOUBLE); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-s: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_s: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 2042s # g_signal_new ("single-arg-signal-s", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_STRING); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-o: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_o: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 2042s # g_signal_new ("single-arg-signal-o", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_STRING); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-g: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_g: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 2042s # g_signal_new ("single-arg-signal-g", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_STRING); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-h: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_h: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 2042s # g_signal_new ("single-arg-signal-h", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_VARIANT); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-ay: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_ay: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 2042s # g_signal_new ("single-arg-signal-ay", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_STRING); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-as: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_as: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 2042s # g_signal_new ("single-arg-signal-as", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_STRV); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-ao: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_ao: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 2042s # g_signal_new ("single-arg-signal-ao", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_STRV); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-aay: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_aay: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 2042s # g_signal_new ("single-arg-signal-aay", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_STRV); 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface::single-arg-signal-asv: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_asv: Argument. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 2042s # g_signal_new ("single-arg-signal-asv", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 2042s # G_TYPE_NONE, 2042s # 1, G_TYPE_VARIANT); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_no_arg_signal: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * 2042s # * Emits the "NoArgSignal" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_no_arg_signal ( 2042s # OrgProjectSignalingIface *object) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_b: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_b: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalB" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_b ( 2042s # OrgProjectSignalingIface *object, 2042s # gboolean arg_an_b) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_y: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_y: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalY" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_y ( 2042s # OrgProjectSignalingIface *object, 2042s # guchar arg_an_y) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_n: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_n: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalN" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_n ( 2042s # OrgProjectSignalingIface *object, 2042s # gint16 arg_an_n) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_q: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_q: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalQ" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_q ( 2042s # OrgProjectSignalingIface *object, 2042s # guint16 arg_an_q) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_i: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_i: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalI" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_i ( 2042s # OrgProjectSignalingIface *object, 2042s # gint arg_an_i) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_u: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_u: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalU" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_u ( 2042s # OrgProjectSignalingIface *object, 2042s # guint arg_an_u) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_x: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_x: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalX" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_x ( 2042s # OrgProjectSignalingIface *object, 2042s # gint64 arg_an_x) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_t: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_t: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalT" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_t ( 2042s # OrgProjectSignalingIface *object, 2042s # guint64 arg_an_t) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_d: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_d: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalD" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_d ( 2042s # OrgProjectSignalingIface *object, 2042s # gdouble arg_an_d) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_s: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_s: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalS" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_s ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *arg_an_s) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_o: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_o: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalO" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_o ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *arg_an_o) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_g: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_g: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalG" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_g ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *arg_an_g) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_h: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_h: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalH" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_h ( 2042s # OrgProjectSignalingIface *object, 2042s # GVariant *arg_an_h) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_ay: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_ay: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalAY" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_ay ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *arg_an_ay) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_as: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_as: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalAS" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_as ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *const *arg_an_as) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_ao: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_ao: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalAO" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_ao ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *const *arg_an_ao) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_aay: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_aay: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalAAY" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_aay ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *const *arg_an_aay) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_single_arg_signal_asv: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * @arg_an_asv: Argument to pass with the signal. 2042s # * 2042s # * Emits the "SingleArgSignalASV" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_single_arg_signal_asv ( 2042s # OrgProjectSignalingIface *object, 2042s # GVariant *arg_an_asv) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceProxy: 2042s # * 2042s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectSignalingIfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectSignalingIfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_signaling_iface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2042s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2042s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceSkeleton: 2042s # * 2042s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_signaling_iface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_signaling_iface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_signaling_iface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2042s # { 2042s # _org_project_signaling_iface_skeleton_handle_method_call, 2042s # _org_project_signaling_iface_skeleton_handle_get_property, 2042s # _org_project_signaling_iface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_signaling_iface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_no_arg_signal ( 2042s # OrgProjectSignalingIface *object) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 2042s # OrgProjectSignalingIface *object, 2042s # gboolean arg_an_b) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 2042s # arg_an_b)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 2042s # OrgProjectSignalingIface *object, 2042s # guchar arg_an_y) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 2042s # arg_an_y)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 2042s # OrgProjectSignalingIface *object, 2042s # gint16 arg_an_n) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 2042s # arg_an_n)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 2042s # OrgProjectSignalingIface *object, 2042s # guint16 arg_an_q) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 2042s # arg_an_q)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 2042s # OrgProjectSignalingIface *object, 2042s # gint arg_an_i) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 2042s # arg_an_i)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 2042s # OrgProjectSignalingIface *object, 2042s # guint arg_an_u) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 2042s # arg_an_u)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 2042s # OrgProjectSignalingIface *object, 2042s # gint64 arg_an_x) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 2042s # arg_an_x)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 2042s # OrgProjectSignalingIface *object, 2042s # guint64 arg_an_t) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 2042s # arg_an_t)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 2042s # OrgProjectSignalingIface *object, 2042s # gdouble arg_an_d) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 2042s # arg_an_d)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *arg_an_s) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 2042s # arg_an_s)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *arg_an_o) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 2042s # arg_an_o)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *arg_an_g) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 2042s # arg_an_g)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 2042s # OrgProjectSignalingIface *object, 2042s # GVariant *arg_an_h) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 2042s # arg_an_h)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *arg_an_ay) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 2042s # arg_an_ay)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *const *arg_an_as) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 2042s # arg_an_as)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *const *arg_an_ao) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 2042s # arg_an_ao)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 2042s # OrgProjectSignalingIface *object, 2042s # const gchar *const *arg_an_aay) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 2042s # arg_an_aay)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 2042s # OrgProjectSignalingIface *object, 2042s # GVariant *arg_an_asv) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 2042s # arg_an_asv)); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2042s # { 2042s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal; 2042s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 2042s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 2042s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 2042s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 2042s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 2042s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 2042s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 2042s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 2042s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 2042s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 2042s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 2042s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 2042s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 2042s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 2042s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 2042s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 2042s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 2042s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmp0kzcgxd9 2042s # /tmp/tmp0kzcgxd9/tmpv_uwc52r.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0kzcgxd9/tmpv_uwc52r.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.UsefulInterface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectUsefulInterface 2042s # * @title: OrgProjectUsefulInterface 2042s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C. 2042s # */ 2042s # 2042s # enum 2042s # { 2042s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL, 2042s # }; 2042s # 2042s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 }; 2042s # 2042s # /* ---- Introspection data for org.project.UsefulInterface ---- */ 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SimpleSignal", 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "simple-signal" 2042s # }; 2042s # 2042s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] = 2042s # { 2042s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.UsefulInterface", 2042s # NULL, 2042s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-useful-interface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_useful_interface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_useful_interface_signal_marshal_simple_signal ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__VOID (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.UsefulInterface. 2042s # */ 2042s # 2042s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # /* GObject signals for received D-Bus signals: */ 2042s # /** 2042s # * OrgProjectUsefulInterface::simple-signal: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] = 2042s # g_signal_new ("simple-signal", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal), 2042s # NULL, 2042s # NULL, 2042s # org_project_useful_interface_signal_marshal_simple_signal, 2042s # G_TYPE_NONE, 2042s # 0); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_emit_simple_signal: 2042s # * @object: A #OrgProjectUsefulInterface. 2042s # * 2042s # * Emits the "SimpleSignal" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_useful_interface_emit_simple_signal ( 2042s # OrgProjectUsefulInterface *object) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxy: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_proxy_finalize; 2042s # gobject_class->get_property = org_project_useful_interface_proxy_get_property; 2042s # gobject_class->set_property = org_project_useful_interface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_useful_interface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # g_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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_USEFUL_INTERFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeleton: 2042s # * 2042s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectUsefulInterfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectUsefulInterfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectUsefulInterfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_useful_interface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_useful_interface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_useful_interface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable = 2042s # { 2042s # _org_project_useful_interface_skeleton_handle_method_call, 2042s # _org_project_useful_interface_skeleton_handle_get_property, 2042s # _org_project_useful_interface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_useful_interface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # _org_project_useful_interface_on_signal_simple_signal ( 2042s # OrgProjectUsefulInterface *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_useful_interface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface) 2042s # { 2042s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal; 2042s # } 2042s # 2042s # /** 2042s # * org_project_useful_interface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectUsefulInterface * 2042s # org_project_useful_interface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.OtherIface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectOtherIface 2042s # * @title: OrgProjectOtherIface 2042s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C. 2042s # */ 2042s # 2042s # enum 2042s # { 2042s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL, 2042s # }; 2042s # 2042s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 }; 2042s # 2042s # /* ---- Introspection data for org.project.OtherIface ---- */ 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SimpleSignal", 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "simple-signal" 2042s # }; 2042s # 2042s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] = 2042s # { 2042s # &_org_project_other_iface_signal_info_simple_signal.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.OtherIface", 2042s # NULL, 2042s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-other-iface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_other_iface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_other_iface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_iface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_other_iface_signal_marshal_simple_signal ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__VOID (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectOtherIface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.OtherIface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectOtherIfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.OtherIface. 2042s # */ 2042s # 2042s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface) 2042s # { 2042s # /* GObject signals for received D-Bus signals: */ 2042s # /** 2042s # * OrgProjectOtherIface::simple-signal: 2042s # * @object: A #OrgProjectOtherIface. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] = 2042s # g_signal_new ("simple-signal", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal), 2042s # NULL, 2042s # NULL, 2042s # org_project_other_iface_signal_marshal_simple_signal, 2042s # G_TYPE_NONE, 2042s # 0); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_iface_emit_simple_signal: 2042s # * @object: A #OrgProjectOtherIface. 2042s # * 2042s # * Emits the "SimpleSignal" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_other_iface_emit_simple_signal ( 2042s # OrgProjectOtherIface *object) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectOtherIfaceProxy: 2042s # * 2042s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectOtherIfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectOtherIfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectOtherIfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_other_iface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_other_iface_proxy_finalize; 2042s # gobject_class->get_property = org_project_other_iface_proxy_get_property; 2042s # gobject_class->set_property = org_project_other_iface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_iface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_other_iface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_iface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_other_iface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherIface * 2042s # org_project_other_iface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_iface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherIface * 2042s # org_project_other_iface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_other_iface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_other_iface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_iface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherIface * 2042s # org_project_other_iface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_iface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherIface * 2042s # org_project_other_iface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectOtherIfaceSkeleton: 2042s # * 2042s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectOtherIfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectOtherIfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectOtherIfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_other_iface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_other_iface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_other_iface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable = 2042s # { 2042s # _org_project_other_iface_skeleton_handle_method_call, 2042s # _org_project_other_iface_skeleton_handle_get_property, 2042s # _org_project_other_iface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_other_iface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # _org_project_other_iface_on_signal_simple_signal ( 2042s # OrgProjectOtherIface *object) 2042s # { 2042s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_other_iface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_other_iface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface) 2042s # { 2042s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_iface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectOtherIface * 2042s # org_project_other_iface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2042s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal 2042s # gdbus-codegen: /usr/bin/gdbus-codegen 2042s # tmpdir: /tmp/tmp8m5mqtev 2042s # /tmp/tmp8m5mqtev/tmp4gci1o7f.xml: 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # 2042s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp8m5mqtev/tmp4gci1o7f.xml', '--output', '-', '--body'] 2042s # Return code: 0 2042s # Output: 2042s # /* 2042s # * This file is generated by gdbus-codegen, do not modify it. 2042s # * 2042s # * The license of this code is the same as for the D-Bus interface description 2042s # * it was derived from. Note that it links to GLib, so must comply with the 2042s # * LGPL linking clauses. 2042s # */ 2042s # 2042s # #ifdef HAVE_CONFIG_H 2042s # # include "config.h" 2042s # #endif 2042s # 2042s # #include 2042s # #ifdef G_OS_UNIX 2042s # # include 2042s # #endif 2042s # 2042s # #ifdef G_ENABLE_DEBUG 2042s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2042s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2042s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2042s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2042s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2042s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2042s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2042s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2042s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2042s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2042s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2042s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2042s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2042s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2042s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2042s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2042s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2042s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2042s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2042s # #else /* !G_ENABLE_DEBUG */ 2042s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2042s # * Do not access GValues directly in your code. Instead, use the 2042s # * g_value_get_*() functions 2042s # */ 2042s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2042s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2042s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2042s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2042s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2042s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2042s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2042s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2042s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2042s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2042s # #endif /* !G_ENABLE_DEBUG */ 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusArgInfo parent_struct; 2042s # gboolean use_gvariant; 2042s # } _ExtendedGDBusArgInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusMethodInfo parent_struct; 2042s # const gchar *signal_name; 2042s # gboolean pass_fdlist; 2042s # } _ExtendedGDBusMethodInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusSignalInfo parent_struct; 2042s # const gchar *signal_name; 2042s # } _ExtendedGDBusSignalInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusPropertyInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # guint use_gvariant : 1; 2042s # guint emits_changed_signal : 1; 2042s # } _ExtendedGDBusPropertyInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # GDBusInterfaceInfo parent_struct; 2042s # const gchar *hyphen_name; 2042s # } _ExtendedGDBusInterfaceInfo; 2042s # 2042s # typedef struct 2042s # { 2042s # const _ExtendedGDBusPropertyInfo *info; 2042s # guint prop_id; 2042s # GValue orig_value; /* the value before the change */ 2042s # } ChangedProperty; 2042s # 2042s # static void 2042s # _changed_property_free (ChangedProperty *data) 2042s # { 2042s # g_value_unset (&data->orig_value); 2042s # g_free (data); 2042s # } 2042s # 2042s # static gboolean 2042s # _g_strv_equal0 (gchar **a, gchar **b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # guint n; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # if (g_strv_length (a) != g_strv_length (b)) 2042s # goto out; 2042s # for (n = 0; a[n] != NULL; n++) 2042s # if (g_strcmp0 (a[n], b[n]) != 0) 2042s # goto out; 2042s # ret = TRUE; 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _g_variant_equal0 (GVariant *a, GVariant *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # if (a == NULL && b == NULL) 2042s # { 2042s # ret = TRUE; 2042s # goto out; 2042s # } 2042s # if (a == NULL || b == NULL) 2042s # goto out; 2042s # ret = g_variant_equal (a, b); 2042s # out: 2042s # return ret; 2042s # } 2042s # 2042s # G_GNUC_UNUSED static gboolean 2042s # _g_value_equal (const GValue *a, const GValue *b) 2042s # { 2042s # gboolean ret = FALSE; 2042s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2042s # switch (G_VALUE_TYPE (a)) 2042s # { 2042s # case G_TYPE_BOOLEAN: 2042s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2042s # break; 2042s # case G_TYPE_UCHAR: 2042s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2042s # break; 2042s # case G_TYPE_INT: 2042s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2042s # break; 2042s # case G_TYPE_UINT: 2042s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2042s # break; 2042s # case G_TYPE_INT64: 2042s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2042s # break; 2042s # case G_TYPE_UINT64: 2042s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2042s # break; 2042s # case G_TYPE_DOUBLE: 2042s # { 2042s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2042s # gdouble da = g_value_get_double (a); 2042s # gdouble db = g_value_get_double (b); 2042s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2042s # } 2042s # break; 2042s # case G_TYPE_STRING: 2042s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2042s # break; 2042s # case G_TYPE_VARIANT: 2042s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2042s # break; 2042s # default: 2042s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2042s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2042s # else 2042s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2042s # break; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.SignalingIface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectSignalingIface 2042s # * @title: OrgProjectSignalingIface 2042s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2042s # */ 2042s # 2042s # enum 2042s # { 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2042s # }; 2042s # 2042s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 2042s # 2042s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SimpleSignal", 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "simple-signal" 2042s # }; 2042s # 2042s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2042s # { 2042s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.SignalingIface", 2042s # NULL, 2042s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-signaling-iface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_signaling_iface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_signaling_iface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_signaling_iface_signal_marshal_simple_signal ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__VOID (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectSignalingIface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2042s # */ 2042s # 2042s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2042s # { 2042s # /* GObject signals for received D-Bus signals: */ 2042s # /** 2042s # * OrgProjectSignalingIface::simple-signal: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2042s # g_signal_new ("simple-signal", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2042s # NULL, 2042s # NULL, 2042s # org_project_signaling_iface_signal_marshal_simple_signal, 2042s # G_TYPE_NONE, 2042s # 0); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_emit_simple_signal: 2042s # * @object: A #OrgProjectSignalingIface. 2042s # * 2042s # * Emits the "SimpleSignal" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_emit_simple_signal ( 2042s # OrgProjectSignalingIface *object) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceProxy: 2042s # * 2042s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectSignalingIfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectSignalingIfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_signaling_iface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2042s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2042s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_signaling_iface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceSkeleton: 2042s # * 2042s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectSignalingIfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_signaling_iface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_signaling_iface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_signaling_iface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2042s # { 2042s # _org_project_signaling_iface_skeleton_handle_method_call, 2042s # _org_project_signaling_iface_skeleton_handle_get_property, 2042s # _org_project_signaling_iface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_signaling_iface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # _org_project_signaling_iface_on_signal_simple_signal ( 2042s # OrgProjectSignalingIface *object) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2042s # { 2042s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2042s # } 2042s # 2042s # /** 2042s # * org_project_signaling_iface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectSignalingIface * 2042s # org_project_signaling_iface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ 2042s # * Code for interface org.project.OtherSignalingIface 2042s # * ------------------------------------------------------------------------ 2042s # */ 2042s # 2042s # /** 2042s # * SECTION:OrgProjectOtherSignalingIface 2042s # * @title: OrgProjectOtherSignalingIface 2042s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface 2042s # * 2042s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C. 2042s # */ 2042s # 2042s # enum 2042s # { 2042s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL, 2042s # }; 2042s # 2042s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 }; 2042s # 2042s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */ 2042s # 2042s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "SimpleSignal", 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "simple-signal" 2042s # }; 2042s # 2042s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] = 2042s # { 2042s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct, 2042s # NULL 2042s # }; 2042s # 2042s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info = 2042s # { 2042s # { 2042s # -1, 2042s # (gchar *) "org.project.OtherSignalingIface", 2042s # NULL, 2042s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers, 2042s # NULL, 2042s # NULL 2042s # }, 2042s # "org-project-other-signaling-iface", 2042s # }; 2042s # 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_interface_info: 2042s # * 2042s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface. 2042s # * 2042s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2042s # */ 2042s # GDBusInterfaceInfo * 2042s # org_project_other_signaling_iface_interface_info (void) 2042s # { 2042s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_override_properties: 2042s # * @klass: The class structure for a #GObject derived class. 2042s # * @property_id_begin: The property id to assign to the first overridden property. 2042s # * 2042s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class. 2042s # * The properties are overridden in the order they are defined. 2042s # * 2042s # * Returns: The last property id. 2042s # */ 2042s # guint 2042s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2042s # { 2042s # return property_id_begin - 1; 2042s # } 2042s # 2042s # 2042s # inline static void 2042s # org_project_other_signaling_iface_signal_marshal_simple_signal ( 2042s # GClosure *closure, 2042s # GValue *return_value, 2042s # unsigned int n_param_values, 2042s # const GValue *param_values, 2042s # void *invocation_hint, 2042s # void *marshal_data) 2042s # { 2042s # g_cclosure_marshal_VOID__VOID (closure, 2042s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2042s # } 2042s # 2042s # 2042s # /** 2042s # * OrgProjectOtherSignalingIface: 2042s # * 2042s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectOtherSignalingIfaceIface: 2042s # * @parent_iface: The parent interface. 2042s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal. 2042s # * 2042s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface. 2042s # */ 2042s # 2042s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface; 2042s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT) 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface) 2042s # { 2042s # /* GObject signals for received D-Bus signals: */ 2042s # /** 2042s # * OrgProjectOtherSignalingIface::simple-signal: 2042s # * @object: A #OrgProjectOtherSignalingIface. 2042s # * 2042s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2042s # * 2042s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2042s # */ 2042s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2042s # g_signal_new ("simple-signal", 2042s # G_TYPE_FROM_INTERFACE (iface), 2042s # G_SIGNAL_RUN_LAST, 2042s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal), 2042s # NULL, 2042s # NULL, 2042s # org_project_other_signaling_iface_signal_marshal_simple_signal, 2042s # G_TYPE_NONE, 2042s # 0); 2042s # 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_emit_simple_signal: 2042s # * @object: A #OrgProjectOtherSignalingIface. 2042s # * 2042s # * Emits the "SimpleSignal" D-Bus signal. 2042s # */ 2042s # void 2042s # org_project_other_signaling_iface_emit_simple_signal ( 2042s # OrgProjectOtherSignalingIface *object) 2042s # { 2042s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2042s # } 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectOtherSignalingIfaceProxy: 2042s # * 2042s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectOtherSignalingIfaceProxyClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectOtherSignalingIfaceProxy. 2042s # */ 2042s # 2042s # struct _OrgProjectOtherSignalingIfaceProxyPrivate 2042s # { 2042s # GData *qdata; 2042s # }; 2042s # 2042s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_other_signaling_iface_proxy_finalize (GObject *object) 2042s # { 2042s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object); 2042s # g_datalist_clear (&proxy->priv->qdata); 2042s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2042s # guint prop_id G_GNUC_UNUSED, 2042s # const GValue *value G_GNUC_UNUSED, 2042s # GParamSpec *pspec G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2042s # const gchar *sender_name G_GNUC_UNUSED, 2042s # const gchar *signal_name, 2042s # GVariant *parameters) 2042s # { 2042s # _ExtendedGDBusSignalInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # gsize n; 2042s # guint signal_id; 2042s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name); 2042s # if (info == NULL) 2042s # return; 2042s # num_params = g_variant_n_children (parameters); 2042s # paramv = g_new0 (GValue, num_params + 1); 2042s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 2042s # g_value_set_object (¶mv[0], proxy); 2042s # g_variant_iter_init (&iter, parameters); 2042s # n = 1; 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 2042s # g_signal_emitv (paramv, signal_id, 0, NULL); 2042s # for (n = 0; n < num_params + 1; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2042s # GVariant *changed_properties, 2042s # const gchar *const *invalidated_properties) 2042s # { 2042s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy); 2042s # guint n; 2042s # const gchar *key; 2042s # GVariantIter *iter; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # g_variant_get (changed_properties, "a{sv}", &iter); 2042s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key); 2042s # g_datalist_remove_data (&proxy->priv->qdata, key); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # g_variant_iter_free (iter); 2042s # for (n = 0; invalidated_properties[n] != NULL; n++) 2042s # { 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2042s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2042s # if (info != NULL) 2042s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2042s # } 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy); 2042s # #else 2042s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate); 2042s # #endif 2042s # 2042s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ()); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusProxyClass *proxy_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize; 2042s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property; 2042s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property; 2042s # 2042s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2042s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal; 2042s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_proxy_new: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_other_signaling_iface_proxy_new ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_proxy_new_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherSignalingIface * 2042s # org_project_other_signaling_iface_proxy_new_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_proxy_new_sync: 2042s # * @connection: A #GDBusConnection. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherSignalingIface * 2042s # org_project_other_signaling_iface_proxy_new_sync ( 2042s # GDBusConnection *connection, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_proxy_new_for_bus: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2042s # * @user_data: User data to pass to @callback. 2042s # * 2042s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2042s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2042s # * 2042s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2042s # */ 2042s # void 2042s # org_project_other_signaling_iface_proxy_new_for_bus ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GAsyncReadyCallback callback, 2042s # gpointer user_data) 2042s # { 2042s # 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); 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_proxy_new_for_bus_finish: 2042s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus(). 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus(). 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherSignalingIface * 2042s # org_project_other_signaling_iface_proxy_new_for_bus_finish ( 2042s # GAsyncResult *res, 2042s # GError **error) 2042s # { 2042s # GObject *ret; 2042s # GObject *source_object; 2042s # source_object = g_async_result_get_source_object (res); 2042s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2042s # g_object_unref (source_object); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_proxy_new_for_bus_sync: 2042s # * @bus_type: A #GBusType. 2042s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2042s # * @name: A bus name (well-known or unique). 2042s # * @object_path: An object path. 2042s # * @cancellable: (nullable): A #GCancellable or %NULL. 2042s # * @error: Return location for error or %NULL 2042s # * 2042s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2042s # * 2042s # * The calling thread is blocked until a reply is received. 2042s # * 2042s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2042s # */ 2042s # OrgProjectOtherSignalingIface * 2042s # org_project_other_signaling_iface_proxy_new_for_bus_sync ( 2042s # GBusType bus_type, 2042s # GDBusProxyFlags flags, 2042s # const gchar *name, 2042s # const gchar *object_path, 2042s # GCancellable *cancellable, 2042s # GError **error) 2042s # { 2042s # GInitable *ret; 2042s # 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); 2042s # if (ret != NULL) 2042s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret); 2042s # else 2042s # return NULL; 2042s # } 2042s # 2042s # 2042s # /* ------------------------------------------------------------------------ */ 2042s # 2042s # /** 2042s # * OrgProjectOtherSignalingIfaceSkeleton: 2042s # * 2042s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2042s # */ 2042s # 2042s # /** 2042s # * OrgProjectOtherSignalingIfaceSkeletonClass: 2042s # * @parent_class: The parent class. 2042s # * 2042s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton. 2042s # */ 2042s # 2042s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate 2042s # { 2042s # GValue *properties; 2042s # GList *changed_properties; 2042s # GSource *changed_properties_idle_source; 2042s # GMainContext *context; 2042s # GMutex lock; 2042s # }; 2042s # 2042s # static void 2042s # _org_project_other_signaling_iface_skeleton_handle_method_call ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name, 2042s # const gchar *method_name, 2042s # GVariant *parameters, 2042s # GDBusMethodInvocation *invocation, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 2042s # _ExtendedGDBusMethodInfo *info; 2042s # GVariantIter iter; 2042s # GVariant *child; 2042s # GValue *paramv; 2042s # gsize num_params; 2042s # guint num_extra; 2042s # gsize n; 2042s # guint signal_id; 2042s # GValue return_value = G_VALUE_INIT; 2042s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2042s # g_assert (info != NULL); 2042s # num_params = g_variant_n_children (parameters); 2042s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2042s # n = 0; 2042s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 2042s # g_value_set_object (¶mv[n++], skeleton); 2042s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2042s # g_value_set_object (¶mv[n++], invocation); 2042s # if (info->pass_fdlist) 2042s # { 2042s # #ifdef G_OS_UNIX 2042s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2042s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2042s # #else 2042s # g_assert_not_reached (); 2042s # #endif 2042s # } 2042s # g_variant_iter_init (&iter, parameters); 2042s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2042s # { 2042s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2042s # if (arg_info->use_gvariant) 2042s # { 2042s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2042s # g_value_set_variant (¶mv[n], child); 2042s # n++; 2042s # } 2042s # else 2042s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2042s # g_variant_unref (child); 2042s # } 2042s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE); 2042s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2042s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2042s # if (!g_value_get_boolean (&return_value)) 2042s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2042s # g_value_unset (&return_value); 2042s # for (n = 0; n < num_params + num_extra; n++) 2042s # g_value_unset (¶mv[n]); 2042s # g_free (paramv); 2042s # } 2042s # 2042s # static GVariant * 2042s # _org_project_other_signaling_iface_skeleton_handle_get_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # GVariant *ret; 2042s # ret = NULL; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # g_value_init (&value, pspec->value_type); 2042s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2042s # g_value_unset (&value); 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static gboolean 2042s # _org_project_other_signaling_iface_skeleton_handle_set_property ( 2042s # GDBusConnection *connection G_GNUC_UNUSED, 2042s # const gchar *sender G_GNUC_UNUSED, 2042s # const gchar *object_path G_GNUC_UNUSED, 2042s # const gchar *interface_name G_GNUC_UNUSED, 2042s # const gchar *property_name, 2042s # GVariant *variant, 2042s # GError **error, 2042s # gpointer user_data) 2042s # { 2042s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data); 2042s # GValue value = G_VALUE_INIT; 2042s # GParamSpec *pspec; 2042s # _ExtendedGDBusPropertyInfo *info; 2042s # gboolean ret; 2042s # ret = FALSE; 2042s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name); 2042s # g_assert (info != NULL); 2042s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2042s # if (pspec == NULL) 2042s # { 2042s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2042s # } 2042s # else 2042s # { 2042s # if (info->use_gvariant) 2042s # g_value_set_variant (&value, variant); 2042s # else 2042s # g_dbus_gvariant_to_gvalue (variant, &value); 2042s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2042s # g_value_unset (&value); 2042s # ret = TRUE; 2042s # } 2042s # return ret; 2042s # } 2042s # 2042s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable = 2042s # { 2042s # _org_project_other_signaling_iface_skeleton_handle_method_call, 2042s # _org_project_other_signaling_iface_skeleton_handle_get_property, 2042s # _org_project_other_signaling_iface_skeleton_handle_set_property, 2042s # {NULL} 2042s # }; 2042s # 2042s # static GDBusInterfaceInfo * 2042s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return org_project_other_signaling_iface_interface_info (); 2042s # } 2042s # 2042s # static GDBusInterfaceVTable * 2042s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2042s # { 2042s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable; 2042s # } 2042s # 2042s # static GVariant * 2042s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2042s # { 2042s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton); 2042s # 2042s # GVariantBuilder builder; 2042s # guint n; 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2042s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #else 2042s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2042s # #endif 2042s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL) 2042s # goto out; 2042s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2042s # { 2042s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n]; 2042s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2042s # { 2042s # GVariant *value; 2042s # 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); 2042s # if (value != NULL) 2042s # { 2042s # g_variant_take_ref (value); 2042s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2042s # g_variant_unref (value); 2042s # } 2042s # } 2042s # } 2042s # out: 2042s # return g_variant_builder_end (&builder); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2042s # { 2042s # } 2042s # 2042s # static void 2042s # _org_project_other_signaling_iface_on_signal_simple_signal ( 2042s # OrgProjectOtherSignalingIface *object) 2042s # { 2042s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 2042s # 2042s # GList *connections, *l; 2042s # GVariant *signal_variant; 2042s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2042s # 2042s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2042s # for (l = connections; l != NULL; l = l->next) 2042s # { 2042s # GDBusConnection *connection = l->data; 2042s # g_dbus_connection_emit_signal (connection, 2042s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal", 2042s # signal_variant, NULL); 2042s # } 2042s # g_variant_unref (signal_variant); 2042s # g_list_free_full (connections, g_object_unref); 2042s # } 2042s # 2042s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface); 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton) 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 2042s # 2042s # #else 2042s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2042s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init)) 2042s # 2042s # #endif 2042s # static void 2042s # org_project_other_signaling_iface_skeleton_finalize (GObject *object) 2042s # { 2042s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object); 2042s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2042s # if (skeleton->priv->changed_properties_idle_source != NULL) 2042s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2042s # g_main_context_unref (skeleton->priv->context); 2042s # g_mutex_clear (&skeleton->priv->lock); 2042s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton) 2042s # { 2042s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2042s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton); 2042s # #else 2042s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate); 2042s # #endif 2042s # 2042s # g_mutex_init (&skeleton->priv->lock); 2042s # skeleton->priv->context = g_main_context_ref_thread_default (); 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass) 2042s # { 2042s # GObjectClass *gobject_class; 2042s # GDBusInterfaceSkeletonClass *skeleton_class; 2042s # 2042s # gobject_class = G_OBJECT_CLASS (klass); 2042s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize; 2042s # 2042s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2042s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info; 2042s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties; 2042s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush; 2042s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable; 2042s # 2042s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2042s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate)); 2042s # #endif 2042s # } 2042s # 2042s # static void 2042s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface) 2042s # { 2042s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal; 2042s # } 2042s # 2042s # /** 2042s # * org_project_other_signaling_iface_skeleton_new: 2042s # * 2042s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface. 2042s # * 2042s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object. 2042s # */ 2042s # OrgProjectOtherSignalingIface * 2042s # org_project_other_signaling_iface_skeleton_new (void) 2042s # { 2042s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL)); 2042s # } 2042s # Error: 2043s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmpdhqq8jjc 2043s # /tmp/tmpdhqq8jjc/tmpzd7jig94.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmpzd7jig94.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_b", 2043s # (gchar *) "b", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalB", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-b" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_b ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__BOOLEAN (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-b: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_b: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] = 2043s # g_signal_new ("single-arg-signal-b", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_b, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_BOOLEAN); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_b: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_b: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalB" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_b ( 2043s # OrgProjectSignalingIface *object, 2043s # gboolean arg_arg_b) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_b ( 2043s # OrgProjectSignalingIface *object, 2043s # gboolean arg_arg_b) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)", 2043s # arg_arg_b)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmp300z7esg.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmp300z7esg.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_y", 2043s # (gchar *) "y", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalY", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-y" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_y ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__UCHAR (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-y: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_y: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] = 2043s # g_signal_new ("single-arg-signal-y", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_y, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_UCHAR); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_y: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_y: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalY" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_y ( 2043s # OrgProjectSignalingIface *object, 2043s # guchar arg_arg_y) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_y ( 2043s # OrgProjectSignalingIface *object, 2043s # guchar arg_arg_y) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)", 2043s # arg_arg_y)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmpimrdaf7g.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmpimrdaf7g.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_n", 2043s # (gchar *) "n", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalN", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-n" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_n ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__INT (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-n: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_n: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] = 2043s # g_signal_new ("single-arg-signal-n", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_n, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_INT); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_n: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_n: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalN" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_n ( 2043s # OrgProjectSignalingIface *object, 2043s # gint16 arg_arg_n) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_n ( 2043s # OrgProjectSignalingIface *object, 2043s # gint16 arg_arg_n) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)", 2043s # arg_arg_n)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmpf8_0b_pe.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmpf8_0b_pe.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_q", 2043s # (gchar *) "q", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalQ", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-q" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_q ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__UINT (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-q: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_q: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] = 2043s # g_signal_new ("single-arg-signal-q", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_q, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_UINT); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_q: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_q: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalQ" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_q ( 2043s # OrgProjectSignalingIface *object, 2043s # guint16 arg_arg_q) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_q ( 2043s # OrgProjectSignalingIface *object, 2043s # guint16 arg_arg_q) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)", 2043s # arg_arg_q)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmptg8jp1ct.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmptg8jp1ct.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_i", 2043s # (gchar *) "i", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalI", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-i" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_i ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__INT (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-i: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_i: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] = 2043s # g_signal_new ("single-arg-signal-i", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_i, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_INT); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_i: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_i: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalI" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_i ( 2043s # OrgProjectSignalingIface *object, 2043s # gint arg_arg_i) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_i ( 2043s # OrgProjectSignalingIface *object, 2043s # gint arg_arg_i) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)", 2043s # arg_arg_i)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmphfinqukh.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmphfinqukh.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_u", 2043s # (gchar *) "u", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalU", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-u" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_u ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__UINT (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-u: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_u: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] = 2043s # g_signal_new ("single-arg-signal-u", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_u, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_UINT); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_u: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_u: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalU" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_u ( 2043s # OrgProjectSignalingIface *object, 2043s # guint arg_arg_u) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_u ( 2043s # OrgProjectSignalingIface *object, 2043s # guint arg_arg_u) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)", 2043s # arg_arg_u)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmptikygzky.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmptikygzky.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static void 2043s # _g_dbus_codegen_marshal_VOID__INT64 ( 2043s # GClosure *closure, 2043s # GValue *return_value G_GNUC_UNUSED, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint G_GNUC_UNUSED, 2043s # void *marshal_data) 2043s # { 2043s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func) 2043s # (void *data1, 2043s # gint64 arg_arg_x, 2043s # void *data2); 2043s # _GDbusCodegenMarshalVoid_Int64Func callback; 2043s # GCClosure *cc = (GCClosure*) closure; 2043s # void *data1, *data2; 2043s # 2043s # g_return_if_fail (n_param_values == 2); 2043s # 2043s # if (G_CCLOSURE_SWAP_DATA (closure)) 2043s # { 2043s # data1 = closure->data; 2043s # data2 = g_value_peek_pointer (param_values + 0); 2043s # } 2043s # else 2043s # { 2043s # data1 = g_value_peek_pointer (param_values + 0); 2043s # data2 = closure->data; 2043s # } 2043s # 2043s # callback = (_GDbusCodegenMarshalVoid_Int64Func) 2043s # (marshal_data ? marshal_data : cc->callback); 2043s # 2043s # callback (data1, 2043s # g_marshal_value_peek_int64 (param_values + 1), 2043s # data2); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_x", 2043s # (gchar *) "x", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalX", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-x" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_x ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # _g_dbus_codegen_marshal_VOID__INT64 (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-x: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_x: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] = 2043s # g_signal_new ("single-arg-signal-x", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_x, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_INT64); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_x: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_x: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalX" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_x ( 2043s # OrgProjectSignalingIface *object, 2043s # gint64 arg_arg_x) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_x ( 2043s # OrgProjectSignalingIface *object, 2043s # gint64 arg_arg_x) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)", 2043s # arg_arg_x)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmprgay581r.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmprgay581r.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static void 2043s # _g_dbus_codegen_marshal_VOID__UINT64 ( 2043s # GClosure *closure, 2043s # GValue *return_value G_GNUC_UNUSED, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint G_GNUC_UNUSED, 2043s # void *marshal_data) 2043s # { 2043s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func) 2043s # (void *data1, 2043s # guint64 arg_arg_t, 2043s # void *data2); 2043s # _GDbusCodegenMarshalVoid_Uint64Func callback; 2043s # GCClosure *cc = (GCClosure*) closure; 2043s # void *data1, *data2; 2043s # 2043s # g_return_if_fail (n_param_values == 2); 2043s # 2043s # if (G_CCLOSURE_SWAP_DATA (closure)) 2043s # { 2043s # data1 = closure->data; 2043s # data2 = g_value_peek_pointer (param_values + 0); 2043s # } 2043s # else 2043s # { 2043s # data1 = g_value_peek_pointer (param_values + 0); 2043s # data2 = closure->data; 2043s # } 2043s # 2043s # callback = (_GDbusCodegenMarshalVoid_Uint64Func) 2043s # (marshal_data ? marshal_data : cc->callback); 2043s # 2043s # callback (data1, 2043s # g_marshal_value_peek_uint64 (param_values + 1), 2043s # data2); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_t", 2043s # (gchar *) "t", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalT", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-t" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_t ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # _g_dbus_codegen_marshal_VOID__UINT64 (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-t: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_t: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] = 2043s # g_signal_new ("single-arg-signal-t", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_t, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_UINT64); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_t: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_t: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalT" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_t ( 2043s # OrgProjectSignalingIface *object, 2043s # guint64 arg_arg_t) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_t ( 2043s # OrgProjectSignalingIface *object, 2043s # guint64 arg_arg_t) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)", 2043s # arg_arg_t)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmp2f264e6g.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmp2f264e6g.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_d", 2043s # (gchar *) "d", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalD", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-d" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_d ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__DOUBLE (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-d: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_d: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] = 2043s # g_signal_new ("single-arg-signal-d", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_d, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_DOUBLE); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_d: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_d: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalD" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_d ( 2043s # OrgProjectSignalingIface *object, 2043s # gdouble arg_arg_d) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_d ( 2043s # OrgProjectSignalingIface *object, 2043s # gdouble arg_arg_d) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)", 2043s # arg_arg_d)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmpoqltjeg4.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmpoqltjeg4.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_s", 2043s # (gchar *) "s", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalS", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-s" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_s ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__STRING (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-s: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_s: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] = 2043s # g_signal_new ("single-arg-signal-s", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_s, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_STRING); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_s: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_s: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalS" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_s ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *arg_arg_s) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_s ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *arg_arg_s) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)", 2043s # arg_arg_s)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmpm5jnslw4.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmpm5jnslw4.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_o", 2043s # (gchar *) "o", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalO", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-o" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_o ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__STRING (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-o: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_o: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] = 2043s # g_signal_new ("single-arg-signal-o", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_o, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_STRING); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_o: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_o: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalO" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_o ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *arg_arg_o) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_o ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *arg_arg_o) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)", 2043s # arg_arg_o)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmpgr_t8hw0.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmpgr_t8hw0.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_g", 2043s # (gchar *) "g", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalG", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-g" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_g ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__STRING (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-g: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_g: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] = 2043s # g_signal_new ("single-arg-signal-g", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_g, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_STRING); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_g: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_g: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalG" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_g ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *arg_arg_g) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_g ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *arg_arg_g) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)", 2043s # arg_arg_g)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmp9xyc4i78.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmp9xyc4i78.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_h", 2043s # (gchar *) "h", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalH", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-h" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_h ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VARIANT (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-h: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_h: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] = 2043s # g_signal_new ("single-arg-signal-h", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_h, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_VARIANT); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_h: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_h: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalH" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_h ( 2043s # OrgProjectSignalingIface *object, 2043s # GVariant *arg_arg_h) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_h ( 2043s # OrgProjectSignalingIface *object, 2043s # GVariant *arg_arg_h) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)", 2043s # arg_arg_h)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmp01xy5agg.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmp01xy5agg.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_ay", 2043s # (gchar *) "ay", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalAy", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-ay" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__STRING (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-ay: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_ay: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] = 2043s # g_signal_new ("single-arg-signal-ay", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_STRING); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_ay: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_ay: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalAy" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_ay ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *arg_arg_ay) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_ay ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *arg_arg_ay) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)", 2043s # arg_arg_ay)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmpk_qbx3_s.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmpk_qbx3_s.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_as", 2043s # (gchar *) "as", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalAs", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-as" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_as ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__BOXED (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-as: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_as: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] = 2043s # g_signal_new ("single-arg-signal-as", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_as, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_STRV); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_as: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_as: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalAs" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_as ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *const *arg_arg_as) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_as ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *const *arg_arg_as) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)", 2043s # arg_arg_as)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmp27n0ak7i.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmp27n0ak7i.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_ao", 2043s # (gchar *) "ao", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalAo", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-ao" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__BOXED (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-ao: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_ao: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] = 2043s # g_signal_new ("single-arg-signal-ao", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_STRV); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_ao: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_ao: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalAo" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_ao ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *const *arg_arg_ao) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_ao ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *const *arg_arg_ao) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)", 2043s # arg_arg_ao)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmpypqzhfut.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmpypqzhfut.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_aay", 2043s # (gchar *) "aay", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalAay", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-aay" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__BOXED (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-aay: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_aay: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] = 2043s # g_signal_new ("single-arg-signal-aay", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_STRV); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_aay: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_aay: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalAay" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_aay ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *const *arg_arg_aay) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_aay ( 2043s # OrgProjectSignalingIface *object, 2043s # const gchar *const *arg_arg_aay) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)", 2043s # arg_arg_aay)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s # 2043s # /tmp/tmpdhqq8jjc/tmpg7gs88bi.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpdhqq8jjc/tmpg7gs88bi.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "arg_asv", 2043s # (gchar *) "a{sv}", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SingleArgSignalAsv", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "single-arg-signal-asv" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VARIANT (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::single-arg-signal-asv: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_asv: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] = 2043s # g_signal_new ("single-arg-signal-asv", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv, 2043s # G_TYPE_NONE, 2043s # 1, G_TYPE_VARIANT); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_single_arg_signal_asv: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_arg_asv: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SingleArgSignalAsv" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_single_arg_signal_asv ( 2043s # OrgProjectSignalingIface *object, 2043s # GVariant *arg_arg_asv) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_single_arg_signal_asv ( 2043s # OrgProjectSignalingIface *object, 2043s # GVariant *arg_arg_asv) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})", 2043s # arg_arg_asv)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmp6b86ep26 2043s # /tmp/tmp6b86ep26/tmp0037ea7x.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6b86ep26/tmp0037ea7x.xml', '--output', '-', '--body'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifdef HAVE_CONFIG_H 2043s # # include "config.h" 2043s # #endif 2043s # 2043s # #include 2043s # #ifdef G_OS_UNIX 2043s # # include 2043s # #endif 2043s # 2043s # #ifdef G_ENABLE_DEBUG 2043s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2043s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2043s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2043s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2043s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2043s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2043s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2043s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2043s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2043s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2043s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2043s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2043s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2043s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2043s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2043s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2043s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2043s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2043s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2043s # #else /* !G_ENABLE_DEBUG */ 2043s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2043s # * Do not access GValues directly in your code. Instead, use the 2043s # * g_value_get_*() functions 2043s # */ 2043s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2043s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2043s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2043s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2043s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2043s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2043s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2043s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2043s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2043s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2043s # #endif /* !G_ENABLE_DEBUG */ 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusArgInfo parent_struct; 2043s # gboolean use_gvariant; 2043s # } _ExtendedGDBusArgInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusMethodInfo parent_struct; 2043s # const gchar *signal_name; 2043s # gboolean pass_fdlist; 2043s # } _ExtendedGDBusMethodInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusSignalInfo parent_struct; 2043s # const gchar *signal_name; 2043s # } _ExtendedGDBusSignalInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusPropertyInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # guint use_gvariant : 1; 2043s # guint emits_changed_signal : 1; 2043s # } _ExtendedGDBusPropertyInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # GDBusInterfaceInfo parent_struct; 2043s # const gchar *hyphen_name; 2043s # } _ExtendedGDBusInterfaceInfo; 2043s # 2043s # typedef struct 2043s # { 2043s # const _ExtendedGDBusPropertyInfo *info; 2043s # guint prop_id; 2043s # GValue orig_value; /* the value before the change */ 2043s # } ChangedProperty; 2043s # 2043s # static void 2043s # _changed_property_free (ChangedProperty *data) 2043s # { 2043s # g_value_unset (&data->orig_value); 2043s # g_free (data); 2043s # } 2043s # 2043s # static gboolean 2043s # _g_strv_equal0 (gchar **a, gchar **b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # guint n; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # if (g_strv_length (a) != g_strv_length (b)) 2043s # goto out; 2043s # for (n = 0; a[n] != NULL; n++) 2043s # if (g_strcmp0 (a[n], b[n]) != 0) 2043s # goto out; 2043s # ret = TRUE; 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _g_variant_equal0 (GVariant *a, GVariant *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # if (a == NULL && b == NULL) 2043s # { 2043s # ret = TRUE; 2043s # goto out; 2043s # } 2043s # if (a == NULL || b == NULL) 2043s # goto out; 2043s # ret = g_variant_equal (a, b); 2043s # out: 2043s # return ret; 2043s # } 2043s # 2043s # G_GNUC_UNUSED static gboolean 2043s # _g_value_equal (const GValue *a, const GValue *b) 2043s # { 2043s # gboolean ret = FALSE; 2043s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2043s # switch (G_VALUE_TYPE (a)) 2043s # { 2043s # case G_TYPE_BOOLEAN: 2043s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2043s # break; 2043s # case G_TYPE_UCHAR: 2043s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2043s # break; 2043s # case G_TYPE_INT: 2043s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2043s # break; 2043s # case G_TYPE_UINT: 2043s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2043s # break; 2043s # case G_TYPE_INT64: 2043s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2043s # break; 2043s # case G_TYPE_UINT64: 2043s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2043s # break; 2043s # case G_TYPE_DOUBLE: 2043s # { 2043s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2043s # gdouble da = g_value_get_double (a); 2043s # gdouble db = g_value_get_double (b); 2043s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2043s # } 2043s # break; 2043s # case G_TYPE_STRING: 2043s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2043s # break; 2043s # case G_TYPE_VARIANT: 2043s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2043s # break; 2043s # default: 2043s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2043s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2043s # else 2043s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2043s # break; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static void 2043s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT ( 2043s # GClosure *closure, 2043s # GValue *return_value G_GNUC_UNUSED, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint G_GNUC_UNUSED, 2043s # void *marshal_data) 2043s # { 2043s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 2043s # (void *data1, 2043s # gboolean arg_an_b, 2043s # guchar arg_an_y, 2043s # gint16 arg_an_n, 2043s # guint16 arg_an_q, 2043s # gint arg_an_i, 2043s # guint arg_an_u, 2043s # gint64 arg_an_x, 2043s # guint64 arg_an_t, 2043s # gdouble arg_an_d, 2043s # const gchar *arg_an_s, 2043s # const gchar *arg_an_o, 2043s # const gchar *arg_an_g, 2043s # GVariant *arg_an_h, 2043s # const gchar *arg_an_ay, 2043s # const gchar *const *arg_an_as, 2043s # const gchar *const *arg_an_ao, 2043s # const gchar *const *arg_an_aay, 2043s # GVariant *arg_an_asv, 2043s # void *data2); 2043s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback; 2043s # GCClosure *cc = (GCClosure*) closure; 2043s # void *data1, *data2; 2043s # 2043s # g_return_if_fail (n_param_values == 19); 2043s # 2043s # if (G_CCLOSURE_SWAP_DATA (closure)) 2043s # { 2043s # data1 = closure->data; 2043s # data2 = g_value_peek_pointer (param_values + 0); 2043s # } 2043s # else 2043s # { 2043s # data1 = g_value_peek_pointer (param_values + 0); 2043s # data2 = closure->data; 2043s # } 2043s # 2043s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc) 2043s # (marshal_data ? marshal_data : cc->callback); 2043s # 2043s # callback (data1, 2043s # g_marshal_value_peek_boolean (param_values + 1), 2043s # g_marshal_value_peek_uchar (param_values + 2), 2043s # g_marshal_value_peek_int (param_values + 3), 2043s # g_marshal_value_peek_uint (param_values + 4), 2043s # g_marshal_value_peek_int (param_values + 5), 2043s # g_marshal_value_peek_uint (param_values + 6), 2043s # g_marshal_value_peek_int64 (param_values + 7), 2043s # g_marshal_value_peek_uint64 (param_values + 8), 2043s # g_marshal_value_peek_double (param_values + 9), 2043s # g_marshal_value_peek_string (param_values + 10), 2043s # g_marshal_value_peek_string (param_values + 11), 2043s # g_marshal_value_peek_string (param_values + 12), 2043s # g_marshal_value_peek_variant (param_values + 13), 2043s # g_marshal_value_peek_string (param_values + 14), 2043s # g_marshal_value_peek_boxed (param_values + 15), 2043s # g_marshal_value_peek_boxed (param_values + 16), 2043s # g_marshal_value_peek_boxed (param_values + 17), 2043s # g_marshal_value_peek_variant (param_values + 18), 2043s # data2); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ 2043s # * Code for interface org.project.SignalingIface 2043s # * ------------------------------------------------------------------------ 2043s # */ 2043s # 2043s # /** 2043s # * SECTION:OrgProjectSignalingIface 2043s # * @title: OrgProjectSignalingIface 2043s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface 2043s # * 2043s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C. 2043s # */ 2043s # 2043s # enum 2043s # { 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL, 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS, 2043s # }; 2043s # 2043s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 }; 2043s # 2043s # /* ---- Introspection data for org.project.SignalingIface ---- */ 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SimpleSignal", 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "simple-signal" 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_b", 2043s # (gchar *) "b", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_y", 2043s # (gchar *) "y", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_n", 2043s # (gchar *) "n", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_q", 2043s # (gchar *) "q", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_i", 2043s # (gchar *) "i", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_u", 2043s # (gchar *) "u", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_x", 2043s # (gchar *) "x", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_t", 2043s # (gchar *) "t", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_d", 2043s # (gchar *) "d", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_s", 2043s # (gchar *) "s", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_o", 2043s # (gchar *) "o", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_g", 2043s # (gchar *) "g", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_h", 2043s # (gchar *) "h", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_ay", 2043s # (gchar *) "ay", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_as", 2043s # (gchar *) "as", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_ao", 2043s # (gchar *) "ao", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_aay", 2043s # (gchar *) "aay", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "an_asv", 2043s # (gchar *) "a{sv}", 2043s # NULL 2043s # }, 2043s # FALSE 2043s # }; 2043s # 2043s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "SignalWithManyArgs", 2043s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers, 2043s # NULL 2043s # }, 2043s # "signal-with-many-args" 2043s # }; 2043s # 2043s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] = 2043s # { 2043s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct, 2043s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct, 2043s # NULL 2043s # }; 2043s # 2043s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info = 2043s # { 2043s # { 2043s # -1, 2043s # (gchar *) "org.project.SignalingIface", 2043s # NULL, 2043s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers, 2043s # NULL, 2043s # NULL 2043s # }, 2043s # "org-project-signaling-iface", 2043s # }; 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_interface_info: 2043s # * 2043s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface. 2043s # * 2043s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2043s # */ 2043s # GDBusInterfaceInfo * 2043s # org_project_signaling_iface_interface_info (void) 2043s # { 2043s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_override_properties: 2043s # * @klass: The class structure for a #GObject derived class. 2043s # * @property_id_begin: The property id to assign to the first overridden property. 2043s # * 2043s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class. 2043s # * The properties are overridden in the order they are defined. 2043s # * 2043s # * Returns: The last property id. 2043s # */ 2043s # guint 2043s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2043s # { 2043s # return property_id_begin - 1; 2043s # } 2043s # 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_simple_signal ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # g_cclosure_marshal_VOID__VOID (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # inline static void 2043s # org_project_signaling_iface_signal_marshal_signal_with_many_args ( 2043s # GClosure *closure, 2043s # GValue *return_value, 2043s # unsigned int n_param_values, 2043s # const GValue *param_values, 2043s # void *invocation_hint, 2043s # void *marshal_data) 2043s # { 2043s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure, 2043s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2043s # } 2043s # 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface: 2043s # * 2043s # * Abstract interface type for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceIface: 2043s # * @parent_iface: The parent interface. 2043s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal. 2043s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal. 2043s # * 2043s # * Virtual table for the D-Bus interface org.project.SignalingIface. 2043s # */ 2043s # 2043s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface; 2043s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT) 2043s # 2043s # static void 2043s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # /* GObject signals for received D-Bus signals: */ 2043s # /** 2043s # * OrgProjectSignalingIface::simple-signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] = 2043s # g_signal_new ("simple-signal", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_simple_signal, 2043s # G_TYPE_NONE, 2043s # 0); 2043s # 2043s # /** 2043s # * OrgProjectSignalingIface::signal-with-many-args: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_an_b: Argument. 2043s # * @arg_an_y: Argument. 2043s # * @arg_an_n: Argument. 2043s # * @arg_an_q: Argument. 2043s # * @arg_an_i: Argument. 2043s # * @arg_an_u: Argument. 2043s # * @arg_an_x: Argument. 2043s # * @arg_an_t: Argument. 2043s # * @arg_an_d: Argument. 2043s # * @arg_an_s: Argument. 2043s # * @arg_an_o: Argument. 2043s # * @arg_an_g: Argument. 2043s # * @arg_an_h: Argument. 2043s # * @arg_an_ay: Argument. 2043s # * @arg_an_as: Argument. 2043s # * @arg_an_ao: Argument. 2043s # * @arg_an_aay: Argument. 2043s # * @arg_an_asv: Argument. 2043s # * 2043s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received. 2043s # * 2043s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2043s # */ 2043s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] = 2043s # g_signal_new ("signal-with-many-args", 2043s # G_TYPE_FROM_INTERFACE (iface), 2043s # G_SIGNAL_RUN_LAST, 2043s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args), 2043s # NULL, 2043s # NULL, 2043s # org_project_signaling_iface_signal_marshal_signal_with_many_args, 2043s # G_TYPE_NONE, 2043s # 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); 2043s # 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_simple_signal: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * 2043s # * Emits the "SimpleSignal" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_emit_signal_with_many_args: 2043s # * @object: A #OrgProjectSignalingIface. 2043s # * @arg_an_b: Argument to pass with the signal. 2043s # * @arg_an_y: Argument to pass with the signal. 2043s # * @arg_an_n: Argument to pass with the signal. 2043s # * @arg_an_q: Argument to pass with the signal. 2043s # * @arg_an_i: Argument to pass with the signal. 2043s # * @arg_an_u: Argument to pass with the signal. 2043s # * @arg_an_x: Argument to pass with the signal. 2043s # * @arg_an_t: Argument to pass with the signal. 2043s # * @arg_an_d: Argument to pass with the signal. 2043s # * @arg_an_s: Argument to pass with the signal. 2043s # * @arg_an_o: Argument to pass with the signal. 2043s # * @arg_an_g: Argument to pass with the signal. 2043s # * @arg_an_h: Argument to pass with the signal. 2043s # * @arg_an_ay: Argument to pass with the signal. 2043s # * @arg_an_as: Argument to pass with the signal. 2043s # * @arg_an_ao: Argument to pass with the signal. 2043s # * @arg_an_aay: Argument to pass with the signal. 2043s # * @arg_an_asv: Argument to pass with the signal. 2043s # * 2043s # * Emits the "SignalWithManyArgs" D-Bus signal. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_emit_signal_with_many_args ( 2043s # OrgProjectSignalingIface *object, 2043s # gboolean arg_an_b, 2043s # guchar arg_an_y, 2043s # gint16 arg_an_n, 2043s # guint16 arg_an_q, 2043s # gint arg_an_i, 2043s # guint arg_an_u, 2043s # gint64 arg_an_x, 2043s # guint64 arg_an_t, 2043s # gdouble arg_an_d, 2043s # const gchar *arg_an_s, 2043s # const gchar *arg_an_o, 2043s # const gchar *arg_an_g, 2043s # GVariant *arg_an_h, 2043s # const gchar *arg_an_ay, 2043s # const gchar *const *arg_an_as, 2043s # const gchar *const *arg_an_ao, 2043s # const gchar *const *arg_an_aay, 2043s # GVariant *arg_an_asv) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxy: 2043s # * 2043s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceProxyClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceProxy. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceProxyPrivate 2043s # { 2043s # GData *qdata; 2043s # }; 2043s # 2043s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_proxy_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object); 2043s # g_datalist_clear (&proxy->priv->qdata); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED, 2043s # guint prop_id G_GNUC_UNUSED, 2043s # const GValue *value G_GNUC_UNUSED, 2043s # GParamSpec *pspec G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy, 2043s # const gchar *sender_name G_GNUC_UNUSED, 2043s # const gchar *signal_name, 2043s # GVariant *parameters) 2043s # { 2043s # _ExtendedGDBusSignalInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # gsize n; 2043s # guint signal_id; 2043s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name); 2043s # if (info == NULL) 2043s # return; 2043s # num_params = g_variant_n_children (parameters); 2043s # paramv = g_new0 (GValue, num_params + 1); 2043s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[0], proxy); 2043s # g_variant_iter_init (&iter, parameters); 2043s # n = 1; 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_signal_emitv (paramv, signal_id, 0, NULL); 2043s # for (n = 0; n < num_params + 1; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy, 2043s # GVariant *changed_properties, 2043s # const gchar *const *invalidated_properties) 2043s # { 2043s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy); 2043s # guint n; 2043s # const gchar *key; 2043s # GVariantIter *iter; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # g_variant_get (changed_properties, "a{sv}", &iter); 2043s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key); 2043s # g_datalist_remove_data (&proxy->priv->qdata, key); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # g_variant_iter_free (iter); 2043s # for (n = 0; invalidated_properties[n] != NULL; n++) 2043s # { 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]); 2043s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2043s # if (info != NULL) 2043s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2043s # } 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy); 2043s # #else 2043s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate); 2043s # #endif 2043s # 2043s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ()); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusProxyClass *proxy_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize; 2043s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property; 2043s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property; 2043s # 2043s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2043s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal; 2043s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_sync: 2043s # * @connection: A #GDBusConnection. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_sync ( 2043s # GDBusConnection *connection, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2043s # * @user_data: User data to pass to @callback. 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2043s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2043s # */ 2043s # void 2043s # org_project_signaling_iface_proxy_new_for_bus ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GAsyncReadyCallback callback, 2043s # gpointer user_data) 2043s # { 2043s # 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); 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_finish: 2043s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus(). 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus(). 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_finish ( 2043s # GAsyncResult *res, 2043s # GError **error) 2043s # { 2043s # GObject *ret; 2043s # GObject *source_object; 2043s # source_object = g_async_result_get_source_object (res); 2043s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2043s # g_object_unref (source_object); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_proxy_new_for_bus_sync: 2043s # * @bus_type: A #GBusType. 2043s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2043s # * @name: A bus name (well-known or unique). 2043s # * @object_path: An object path. 2043s # * @cancellable: (nullable): A #GCancellable or %NULL. 2043s # * @error: Return location for error or %NULL 2043s # * 2043s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2043s # * 2043s # * The calling thread is blocked until a reply is received. 2043s # * 2043s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_proxy_new_for_bus_sync ( 2043s # GBusType bus_type, 2043s # GDBusProxyFlags flags, 2043s # const gchar *name, 2043s # const gchar *object_path, 2043s # GCancellable *cancellable, 2043s # GError **error) 2043s # { 2043s # GInitable *ret; 2043s # 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); 2043s # if (ret != NULL) 2043s # return ORG_PROJECT_SIGNALING_IFACE (ret); 2043s # else 2043s # return NULL; 2043s # } 2043s # 2043s # 2043s # /* ------------------------------------------------------------------------ */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeleton: 2043s # * 2043s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API. 2043s # */ 2043s # 2043s # /** 2043s # * OrgProjectSignalingIfaceSkeletonClass: 2043s # * @parent_class: The parent class. 2043s # * 2043s # * Class structure for #OrgProjectSignalingIfaceSkeleton. 2043s # */ 2043s # 2043s # struct _OrgProjectSignalingIfaceSkeletonPrivate 2043s # { 2043s # GValue *properties; 2043s # GList *changed_properties; 2043s # GSource *changed_properties_idle_source; 2043s # GMainContext *context; 2043s # GMutex lock; 2043s # }; 2043s # 2043s # static void 2043s # _org_project_signaling_iface_skeleton_handle_method_call ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name, 2043s # const gchar *method_name, 2043s # GVariant *parameters, 2043s # GDBusMethodInvocation *invocation, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # _ExtendedGDBusMethodInfo *info; 2043s # GVariantIter iter; 2043s # GVariant *child; 2043s # GValue *paramv; 2043s # gsize num_params; 2043s # guint num_extra; 2043s # gsize n; 2043s # guint signal_id; 2043s # GValue return_value = G_VALUE_INIT; 2043s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2043s # g_assert (info != NULL); 2043s # num_params = g_variant_n_children (parameters); 2043s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2043s # n = 0; 2043s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_set_object (¶mv[n++], skeleton); 2043s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2043s # g_value_set_object (¶mv[n++], invocation); 2043s # if (info->pass_fdlist) 2043s # { 2043s # #ifdef G_OS_UNIX 2043s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2043s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2043s # #else 2043s # g_assert_not_reached (); 2043s # #endif 2043s # } 2043s # g_variant_iter_init (&iter, parameters); 2043s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2043s # { 2043s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2043s # if (arg_info->use_gvariant) 2043s # { 2043s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2043s # g_value_set_variant (¶mv[n], child); 2043s # n++; 2043s # } 2043s # else 2043s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2043s # g_variant_unref (child); 2043s # } 2043s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE); 2043s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2043s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2043s # if (!g_value_get_boolean (&return_value)) 2043s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2043s # g_value_unset (&return_value); 2043s # for (n = 0; n < num_params + num_extra; n++) 2043s # g_value_unset (¶mv[n]); 2043s # g_free (paramv); 2043s # } 2043s # 2043s # static GVariant * 2043s # _org_project_signaling_iface_skeleton_handle_get_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # GVariant *ret; 2043s # ret = NULL; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # g_value_init (&value, pspec->value_type); 2043s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2043s # g_value_unset (&value); 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static gboolean 2043s # _org_project_signaling_iface_skeleton_handle_set_property ( 2043s # GDBusConnection *connection G_GNUC_UNUSED, 2043s # const gchar *sender G_GNUC_UNUSED, 2043s # const gchar *object_path G_GNUC_UNUSED, 2043s # const gchar *interface_name G_GNUC_UNUSED, 2043s # const gchar *property_name, 2043s # GVariant *variant, 2043s # GError **error, 2043s # gpointer user_data) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data); 2043s # GValue value = G_VALUE_INIT; 2043s # GParamSpec *pspec; 2043s # _ExtendedGDBusPropertyInfo *info; 2043s # gboolean ret; 2043s # ret = FALSE; 2043s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name); 2043s # g_assert (info != NULL); 2043s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2043s # if (pspec == NULL) 2043s # { 2043s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2043s # } 2043s # else 2043s # { 2043s # if (info->use_gvariant) 2043s # g_value_set_variant (&value, variant); 2043s # else 2043s # g_dbus_gvariant_to_gvalue (variant, &value); 2043s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2043s # g_value_unset (&value); 2043s # ret = TRUE; 2043s # } 2043s # return ret; 2043s # } 2043s # 2043s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable = 2043s # { 2043s # _org_project_signaling_iface_skeleton_handle_method_call, 2043s # _org_project_signaling_iface_skeleton_handle_get_property, 2043s # _org_project_signaling_iface_skeleton_handle_set_property, 2043s # {NULL} 2043s # }; 2043s # 2043s # static GDBusInterfaceInfo * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return org_project_signaling_iface_interface_info (); 2043s # } 2043s # 2043s # static GDBusInterfaceVTable * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2043s # { 2043s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable; 2043s # } 2043s # 2043s # static GVariant * 2043s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton); 2043s # 2043s # GVariantBuilder builder; 2043s # guint n; 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2043s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #else 2043s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2043s # #endif 2043s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL) 2043s # goto out; 2043s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++) 2043s # { 2043s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n]; 2043s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2043s # { 2043s # GVariant *value; 2043s # 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); 2043s # if (value != NULL) 2043s # { 2043s # g_variant_take_ref (value); 2043s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2043s # g_variant_unref (value); 2043s # } 2043s # } 2043s # } 2043s # out: 2043s # return g_variant_builder_end (&builder); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2043s # { 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_simple_signal ( 2043s # OrgProjectSignalingIface *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void 2043s # _org_project_signaling_iface_on_signal_signal_with_many_args ( 2043s # OrgProjectSignalingIface *object, 2043s # gboolean arg_an_b, 2043s # guchar arg_an_y, 2043s # gint16 arg_an_n, 2043s # guint16 arg_an_q, 2043s # gint arg_an_i, 2043s # guint arg_an_u, 2043s # gint64 arg_an_x, 2043s # guint64 arg_an_t, 2043s # gdouble arg_an_d, 2043s # const gchar *arg_an_s, 2043s # const gchar *arg_an_o, 2043s # const gchar *arg_an_g, 2043s # GVariant *arg_an_h, 2043s # const gchar *arg_an_ay, 2043s # const gchar *const *arg_an_as, 2043s # const gchar *const *arg_an_ao, 2043s # const gchar *const *arg_an_aay, 2043s # GVariant *arg_an_asv) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # 2043s # GList *connections, *l; 2043s # GVariant *signal_variant; 2043s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2043s # 2043s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})", 2043s # arg_an_b, 2043s # arg_an_y, 2043s # arg_an_n, 2043s # arg_an_q, 2043s # arg_an_i, 2043s # arg_an_u, 2043s # arg_an_x, 2043s # arg_an_t, 2043s # arg_an_d, 2043s # arg_an_s, 2043s # arg_an_o, 2043s # arg_an_g, 2043s # arg_an_h, 2043s # arg_an_ay, 2043s # arg_an_as, 2043s # arg_an_ao, 2043s # arg_an_aay, 2043s # arg_an_asv)); 2043s # for (l = connections; l != NULL; l = l->next) 2043s # { 2043s # GDBusConnection *connection = l->data; 2043s # g_dbus_connection_emit_signal (connection, 2043s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs", 2043s # signal_variant, NULL); 2043s # } 2043s # g_variant_unref (signal_variant); 2043s # g_list_free_full (connections, g_object_unref); 2043s # } 2043s # 2043s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface); 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton) 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #else 2043s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2043s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init)) 2043s # 2043s # #endif 2043s # static void 2043s # org_project_signaling_iface_skeleton_finalize (GObject *object) 2043s # { 2043s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object); 2043s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2043s # if (skeleton->priv->changed_properties_idle_source != NULL) 2043s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2043s # g_main_context_unref (skeleton->priv->context); 2043s # g_mutex_clear (&skeleton->priv->lock); 2043s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton) 2043s # { 2043s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2043s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton); 2043s # #else 2043s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate); 2043s # #endif 2043s # 2043s # g_mutex_init (&skeleton->priv->lock); 2043s # skeleton->priv->context = g_main_context_ref_thread_default (); 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass) 2043s # { 2043s # GObjectClass *gobject_class; 2043s # GDBusInterfaceSkeletonClass *skeleton_class; 2043s # 2043s # gobject_class = G_OBJECT_CLASS (klass); 2043s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize; 2043s # 2043s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2043s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info; 2043s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties; 2043s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush; 2043s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable; 2043s # 2043s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2043s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate)); 2043s # #endif 2043s # } 2043s # 2043s # static void 2043s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface) 2043s # { 2043s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal; 2043s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args; 2043s # } 2043s # 2043s # /** 2043s # * org_project_signaling_iface_skeleton_new: 2043s # * 2043s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface. 2043s # * 2043s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object. 2043s # */ 2043s # OrgProjectSignalingIface * 2043s # org_project_signaling_iface_skeleton_new (void) 2043s # { 2043s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL)); 2043s # } 2043s # Error: 2043s ok 25 __main__.TestCodegen.test_generate_valid_docbook 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmpn6qx6_62 2043s # /tmp/tmpn6qx6_62/tmpanjkpdna.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn6qx6_62/tmpanjkpdna.xml', '--generate-docbook', 'test'] 2043s # Return code: 0 2043s # Output: 2043s # 2043s # Error: 2043s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmpai0wag4q 2043s # /tmp/tmpai0wag4q/tmp7rrhrqgg.xml: 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpai0wag4q/tmp7rrhrqgg.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64'] 2043s # Return code: 1 2043s # Output: 2043s # 2043s # Error: 2043s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62)) 2043s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmp5di5sebj 2043s # /tmp/tmp5di5sebj/tmpfz4hzvsc.xml: 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp5di5sebj/tmpfz4hzvsc.xml', '--output', '-', '--header', '--glib-max-allowed', '3'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifndef __STDOUT__ 2043s # #define __STDOUT__ 2043s # 2043s # #include 2043s # 2043s # G_BEGIN_DECLS 2043s # 2043s # 2043s # G_END_DECLS 2043s # 2043s # #endif /* __STDOUT__ */ 2043s # Error: 2043s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmpqxq4asrf 2043s # /tmp/tmpqxq4asrf/tmpaz53b_2s.xml: 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpqxq4asrf/tmpaz53b_2s.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6'] 2043s # Return code: 1 2043s # Output: 2043s # 2043s # Error: 2043s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6)) 2043s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmpnindlegn 2043s # /tmp/tmpnindlegn/tmpbfzc3so9.xml: 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpnindlegn/tmpbfzc3so9.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifndef __STDOUT__ 2043s # #define __STDOUT__ 2043s # 2043s # #include 2043s # 2043s # G_BEGIN_DECLS 2043s # 2043s # 2043s # G_END_DECLS 2043s # 2043s # #endif /* __STDOUT__ */ 2043s # Error: 2043s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmppqjqwh3h 2043s # /tmp/tmppqjqwh3h/tmpjlwmk6jh.xml: 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppqjqwh3h/tmpjlwmk6jh.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifndef __STDOUT__ 2043s # #define __STDOUT__ 2043s # 2043s # #include 2043s # 2043s # G_BEGIN_DECLS 2043s # 2043s # 2043s # G_END_DECLS 2043s # 2043s # #endif /* __STDOUT__ */ 2043s # Error: 2043s ok 31 __main__.TestCodegen.test_glib_min_required_invalid 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmpyq56ob8l 2043s # /tmp/tmpyq56ob8l/tmplkn3qfg0.xml: 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpyq56ob8l/tmplkn3qfg0.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum'] 2043s # Return code: 1 2043s # Output: 2043s # 2043s # Error: 2043s # ERROR: Unrecognized --glib-min-required string ‘hello mum’ 2043s ok 32 __main__.TestCodegen.test_glib_min_required_major_only 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmpowte1omw 2043s # /tmp/tmpowte1omw/tmp59_1t860.xml: 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpowte1omw/tmp59_1t860.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifndef __STDOUT__ 2043s # #define __STDOUT__ 2043s # 2043s # #include 2043s # 2043s # G_BEGIN_DECLS 2043s # 2043s # 2043s # G_END_DECLS 2043s # 2043s # #endif /* __STDOUT__ */ 2043s # Error: 2043s ok 33 __main__.TestCodegen.test_glib_min_required_too_low 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmp2j5rzevd 2043s # /tmp/tmp2j5rzevd/tmpf8e199pi.xml: 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp2j5rzevd/tmpf8e199pi.xml', '--output', '-', '--body', '--glib-min-required', '2.6'] 2043s # Return code: 1 2043s # Output: 2043s # 2043s # Error: 2043s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30 2043s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmpa7s9d8ro 2043s # /tmp/tmpa7s9d8ro/tmptgz05fkx.xml: 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpa7s9d8ro/tmptgz05fkx.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2'] 2043s # Return code: 0 2043s # Output: 2043s # /* 2043s # * This file is generated by gdbus-codegen, do not modify it. 2043s # * 2043s # * The license of this code is the same as for the D-Bus interface description 2043s # * it was derived from. Note that it links to GLib, so must comply with the 2043s # * LGPL linking clauses. 2043s # */ 2043s # 2043s # #ifndef __STDOUT__ 2043s # #define __STDOUT__ 2043s # 2043s # #include 2043s # 2043s # G_BEGIN_DECLS 2043s # 2043s # 2043s # G_END_DECLS 2043s # 2043s # #endif /* __STDOUT__ */ 2043s # Error: 2043s ok 35 __main__.TestCodegen.test_help 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmph5udbkvb 2043s # Running: ['/usr/bin/gdbus-codegen', '--help'] 2043s # Return code: 0 2043s # Output: 2043s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 2043s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 2043s # [--c-generate-autocleanup {none,objects,all}] 2043s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 2043s # [--generate-rst OUTFILES] [--pragma-once] 2043s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 2043s # [--glib-min-required VERSION] 2043s # [--glib-max-allowed VERSION] 2043s # [--symbol-decorator SYMBOL_DECORATOR] 2043s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 2043s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 2043s # [--generate-c-code OUTFILES | --header | --body | 2043s # --interface-info-header | --interface-info-body] 2043s # [--output FILE | --output-directory OUTDIR] 2043s # FILE [FILE ...] 2043s # 2043s # D-Bus code and documentation generator 2043s # 2043s # positional arguments: 2043s # FILE D-Bus introspection XML file 2043s # 2043s # options: 2043s # -h, --help show this help message and exit 2043s # --interface-prefix PREFIX 2043s # String to strip from D-Bus interface names for code 2043s # and docs 2043s # --c-namespace NAMESPACE 2043s # The namespace to use for generated C code 2043s # --c-generate-object-manager 2043s # Generate a GDBusObjectManagerClient subclass when 2043s # generating C code 2043s # --c-generate-autocleanup {none,objects,all} 2043s # Generate autocleanup support 2043s # --generate-docbook OUTFILES 2043s # Generate Docbook in OUTFILES-org.Project.IFace.xml 2043s # --generate-md OUTFILES 2043s # Generate Markdown in OUTFILES-org.Project.IFace.md 2043s # --generate-rst OUTFILES 2043s # Generate reStructuredText in OUTFILES- 2043s # org.Project.IFace.rst 2043s # --pragma-once Use "pragma once" as the inclusion guard 2043s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE 2043s # Add annotation (may be used several times) 2043s # --glib-min-required VERSION 2043s # Minimum version of GLib to be supported by the 2043s # outputted code (default: 2.30) 2043s # --glib-max-allowed VERSION 2043s # Maximum version of GLib to be used by the outputted 2043s # code (default: current GLib version) 2043s # --symbol-decorator SYMBOL_DECORATOR 2043s # Macro used to decorate a symbol in the outputted 2043s # header, possibly to export symbols 2043s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER 2043s # Additional header required for decorator specified by 2043s # --symbol-decorator 2043s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE 2043s # Additional define required for decorator specified by 2043s # --symbol-decorator 2043s # --generate-c-code OUTFILES 2043s # Generate C code in OUTFILES.[ch] 2043s # --header Generate C headers 2043s # --body Generate C code 2043s # --interface-info-header 2043s # Generate GDBusInterfaceInfo C header 2043s # --interface-info-body 2043s # Generate GDBusInterfaceInfo C code 2043s # --output FILE Write output into the specified file 2043s # --output-directory OUTDIR 2043s # Location to output generated files 2043s # Error: 2043s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments 2043s # gdbus-codegen: /usr/bin/gdbus-codegen 2043s # tmpdir: /tmp/tmptwi90m9b 2043s # /tmp/tmptwi90m9b/tmpqle3rmep.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptwi90m9b/tmpqle3rmep.xml', '--generate-rst', 'test'] 2043s # Return code: 0 2043s # Output: 2043s # 2043s # Error: 2043s # 2043s # /tmp/tmptwi90m9b/tmpm7jp8c6m.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptwi90m9b/tmpm7jp8c6m.xml', '--generate-md', 'test'] 2043s # Return code: 0 2043s # Output: 2043s # 2043s # Error: 2043s # 2043s # /tmp/tmptwi90m9b/tmp52h6ftt0.xml: 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # 2043s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmptwi90m9b/tmp52h6ftt0.xml', '--generate-docbook', 'test'] 2043s # Return code: 0 2043s # Output: 2043s # 2043s # Error: 2044s ok 37 __main__.TestCodegen.test_no_args 2044s # gdbus-codegen: /usr/bin/gdbus-codegen 2044s # tmpdir: /tmp/tmpa6ujvotq 2044s # Running: ['/usr/bin/gdbus-codegen'] 2044s # Return code: 2 2044s # Output: 2044s # 2044s # Error: 2044s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX] 2044s # [--c-namespace NAMESPACE] [--c-generate-object-manager] 2044s # [--c-generate-autocleanup {none,objects,all}] 2044s # [--generate-docbook OUTFILES] [--generate-md OUTFILES] 2044s # [--generate-rst OUTFILES] [--pragma-once] 2044s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE] 2044s # [--glib-min-required VERSION] 2044s # [--glib-max-allowed VERSION] 2044s # [--symbol-decorator SYMBOL_DECORATOR] 2044s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER] 2044s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE] 2044s # [--generate-c-code OUTFILES | --header | --body | 2044s # --interface-info-header | --interface-info-body] 2044s # [--output FILE | --output-directory OUTDIR] 2044s # FILE [FILE ...] 2044s # gdbus-codegen: error: the following arguments are required: FILE 2044s ok 38 __main__.TestCodegen.test_reproducible 2044s # gdbus-codegen: /usr/bin/gdbus-codegen 2044s # tmpdir: /tmp/tmp6peo4kpq 2044s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6peo4kpq/tmpull2a_nl1.xml', '/tmp/tmp6peo4kpq/tmpyyvc6elu2.xml', '--output', '-', '--header'] 2044s # Return code: 0 2044s # Output: 2044s # /* 2044s # * This file is generated by gdbus-codegen, do not modify it. 2044s # * 2044s # * The license of this code is the same as for the D-Bus interface description 2044s # * it was derived from. Note that it links to GLib, so must comply with the 2044s # * LGPL linking clauses. 2044s # */ 2044s # 2044s # #ifndef __STDOUT__ 2044s # #define __STDOUT__ 2044s # 2044s # #include 2044s # 2044s # G_BEGIN_DECLS 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # /* Declarations for com.acme.Coyote */ 2044s # 2044s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 2044s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 2044s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 2044s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 2044s # 2044s # struct _ComAcmeCoyote; 2044s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 2044s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 2044s # 2044s # struct _ComAcmeCoyoteIface 2044s # { 2044s # GTypeInterface parent_iface; 2044s # 2044s # 2044s # 2044s # gboolean (*handle_attack) ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # gboolean (*handle_run) ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # gboolean (*handle_sleep) ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # const gchar * (*get_mood) (ComAcmeCoyote *object); 2044s # 2044s # void (*surprised) ( 2044s # ComAcmeCoyote *object); 2044s # 2044s # }; 2044s # 2044s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 2044s # 2044s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 2044s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 2044s # 2044s # 2044s # /* D-Bus method call completion functions: */ 2044s # void com_acme_coyote_complete_run ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # void com_acme_coyote_complete_sleep ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # void com_acme_coyote_complete_attack ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # 2044s # 2044s # /* D-Bus signal emissions functions: */ 2044s # void com_acme_coyote_emit_surprised ( 2044s # ComAcmeCoyote *object); 2044s # 2044s # 2044s # 2044s # /* D-Bus method calls: */ 2044s # void com_acme_coyote_call_run ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean com_acme_coyote_call_run_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean com_acme_coyote_call_run_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void com_acme_coyote_call_sleep ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean com_acme_coyote_call_sleep_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean com_acme_coyote_call_sleep_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void com_acme_coyote_call_attack ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean com_acme_coyote_call_attack_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean com_acme_coyote_call_attack_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # 2044s # /* D-Bus property accessors: */ 2044s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 2044s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 2044s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 2044s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 2044s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 2044s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 2044s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 2044s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 2044s # 2044s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 2044s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 2044s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 2044s # 2044s # struct _ComAcmeCoyoteProxy 2044s # { 2044s # /*< private >*/ 2044s # GDBusProxy parent_instance; 2044s # ComAcmeCoyoteProxyPrivate *priv; 2044s # }; 2044s # 2044s # struct _ComAcmeCoyoteProxyClass 2044s # { 2044s # GDBusProxyClass parent_class; 2044s # }; 2044s # 2044s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 2044s # #endif 2044s # 2044s # void com_acme_coyote_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void com_acme_coyote_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 2044s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 2044s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 2044s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 2044s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 2044s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 2044s # 2044s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 2044s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 2044s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 2044s # 2044s # struct _ComAcmeCoyoteSkeleton 2044s # { 2044s # /*< private >*/ 2044s # GDBusInterfaceSkeleton parent_instance; 2044s # ComAcmeCoyoteSkeletonPrivate *priv; 2044s # }; 2044s # 2044s # struct _ComAcmeCoyoteSkeletonClass 2044s # { 2044s # GDBusInterfaceSkeletonClass parent_class; 2044s # }; 2044s # 2044s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 2044s # #endif 2044s # 2044s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # /* Declarations for org.project.Bar.Frobnicator */ 2044s # 2044s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 2044s # 2044s # struct _OrgProjectBarFrobnicator; 2044s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 2044s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 2044s # 2044s # struct _OrgProjectBarFrobnicatorIface 2044s # { 2044s # GTypeInterface parent_iface; 2044s # 2044s # gboolean (*handle_random_method) ( 2044s # OrgProjectBarFrobnicator *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # }; 2044s # 2044s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 2044s # 2044s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 2044s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 2044s # 2044s # 2044s # /* D-Bus method call completion functions: */ 2044s # void org_project_bar_frobnicator_complete_random_method ( 2044s # OrgProjectBarFrobnicator *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # 2044s # 2044s # /* D-Bus method calls: */ 2044s # void org_project_bar_frobnicator_call_random_method ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 2044s # 2044s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 2044s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 2044s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 2044s # 2044s # struct _OrgProjectBarFrobnicatorProxy 2044s # { 2044s # /*< private >*/ 2044s # GDBusProxy parent_instance; 2044s # OrgProjectBarFrobnicatorProxyPrivate *priv; 2044s # }; 2044s # 2044s # struct _OrgProjectBarFrobnicatorProxyClass 2044s # { 2044s # GDBusProxyClass parent_class; 2044s # }; 2044s # 2044s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 2044s # #endif 2044s # 2044s # void org_project_bar_frobnicator_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void org_project_bar_frobnicator_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 2044s # 2044s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 2044s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 2044s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 2044s # 2044s # struct _OrgProjectBarFrobnicatorSkeleton 2044s # { 2044s # /*< private >*/ 2044s # GDBusInterfaceSkeleton parent_instance; 2044s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 2044s # }; 2044s # 2044s # struct _OrgProjectBarFrobnicatorSkeletonClass 2044s # { 2044s # GDBusInterfaceSkeletonClass parent_class; 2044s # }; 2044s # 2044s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 2044s # #endif 2044s # 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 2044s # 2044s # 2044s # G_END_DECLS 2044s # 2044s # #endif /* __STDOUT__ */ 2044s # Error: 2044s # 2044s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6peo4kpq/tmpyyvc6elu2.xml', '/tmp/tmp6peo4kpq/tmpull2a_nl1.xml', '--output', '-', '--header'] 2044s # Return code: 0 2044s # Output: 2044s # /* 2044s # * This file is generated by gdbus-codegen, do not modify it. 2044s # * 2044s # * The license of this code is the same as for the D-Bus interface description 2044s # * it was derived from. Note that it links to GLib, so must comply with the 2044s # * LGPL linking clauses. 2044s # */ 2044s # 2044s # #ifndef __STDOUT__ 2044s # #define __STDOUT__ 2044s # 2044s # #include 2044s # 2044s # G_BEGIN_DECLS 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # /* Declarations for com.acme.Coyote */ 2044s # 2044s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ()) 2044s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote)) 2044s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE)) 2044s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface)) 2044s # 2044s # struct _ComAcmeCoyote; 2044s # typedef struct _ComAcmeCoyote ComAcmeCoyote; 2044s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface; 2044s # 2044s # struct _ComAcmeCoyoteIface 2044s # { 2044s # GTypeInterface parent_iface; 2044s # 2044s # 2044s # 2044s # gboolean (*handle_attack) ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # gboolean (*handle_run) ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # gboolean (*handle_sleep) ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # const gchar * (*get_mood) (ComAcmeCoyote *object); 2044s # 2044s # void (*surprised) ( 2044s # ComAcmeCoyote *object); 2044s # 2044s # }; 2044s # 2044s # GType com_acme_coyote_get_type (void) G_GNUC_CONST; 2044s # 2044s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void); 2044s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin); 2044s # 2044s # 2044s # /* D-Bus method call completion functions: */ 2044s # void com_acme_coyote_complete_run ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # void com_acme_coyote_complete_sleep ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # void com_acme_coyote_complete_attack ( 2044s # ComAcmeCoyote *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # 2044s # 2044s # /* D-Bus signal emissions functions: */ 2044s # void com_acme_coyote_emit_surprised ( 2044s # ComAcmeCoyote *object); 2044s # 2044s # 2044s # 2044s # /* D-Bus method calls: */ 2044s # void com_acme_coyote_call_run ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean com_acme_coyote_call_run_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean com_acme_coyote_call_run_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void com_acme_coyote_call_sleep ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean com_acme_coyote_call_sleep_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean com_acme_coyote_call_sleep_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void com_acme_coyote_call_attack ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean com_acme_coyote_call_attack_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean com_acme_coyote_call_attack_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # 2044s # /* D-Bus property accessors: */ 2044s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object); 2044s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object); 2044s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value); 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ()) 2044s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy)) 2044s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 2044s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass)) 2044s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY)) 2044s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY)) 2044s # 2044s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy; 2044s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass; 2044s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate; 2044s # 2044s # struct _ComAcmeCoyoteProxy 2044s # { 2044s # /*< private >*/ 2044s # GDBusProxy parent_instance; 2044s # ComAcmeCoyoteProxyPrivate *priv; 2044s # }; 2044s # 2044s # struct _ComAcmeCoyoteProxyClass 2044s # { 2044s # GDBusProxyClass parent_class; 2044s # }; 2044s # 2044s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref) 2044s # #endif 2044s # 2044s # void com_acme_coyote_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void com_acme_coyote_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ()) 2044s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton)) 2044s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 2044s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass)) 2044s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON)) 2044s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON)) 2044s # 2044s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton; 2044s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass; 2044s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate; 2044s # 2044s # struct _ComAcmeCoyoteSkeleton 2044s # { 2044s # /*< private >*/ 2044s # GDBusInterfaceSkeleton parent_instance; 2044s # ComAcmeCoyoteSkeletonPrivate *priv; 2044s # }; 2044s # 2044s # struct _ComAcmeCoyoteSkeletonClass 2044s # { 2044s # GDBusInterfaceSkeletonClass parent_class; 2044s # }; 2044s # 2044s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref) 2044s # #endif 2044s # 2044s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void); 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # /* Declarations for org.project.Bar.Frobnicator */ 2044s # 2044s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ()) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface)) 2044s # 2044s # struct _OrgProjectBarFrobnicator; 2044s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator; 2044s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface; 2044s # 2044s # struct _OrgProjectBarFrobnicatorIface 2044s # { 2044s # GTypeInterface parent_iface; 2044s # 2044s # gboolean (*handle_random_method) ( 2044s # OrgProjectBarFrobnicator *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # }; 2044s # 2044s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST; 2044s # 2044s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void); 2044s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin); 2044s # 2044s # 2044s # /* D-Bus method call completion functions: */ 2044s # void org_project_bar_frobnicator_complete_random_method ( 2044s # OrgProjectBarFrobnicator *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # 2044s # 2044s # /* D-Bus method calls: */ 2044s # void org_project_bar_frobnicator_call_random_method ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean org_project_bar_frobnicator_call_random_method_finish ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean org_project_bar_frobnicator_call_random_method_sync ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ()) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY)) 2044s # 2044s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy; 2044s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass; 2044s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate; 2044s # 2044s # struct _OrgProjectBarFrobnicatorProxy 2044s # { 2044s # /*< private >*/ 2044s # GDBusProxy parent_instance; 2044s # OrgProjectBarFrobnicatorProxyPrivate *priv; 2044s # }; 2044s # 2044s # struct _OrgProjectBarFrobnicatorProxyClass 2044s # { 2044s # GDBusProxyClass parent_class; 2044s # }; 2044s # 2044s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref) 2044s # #endif 2044s # 2044s # void org_project_bar_frobnicator_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void org_project_bar_frobnicator_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ()) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 2044s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 2044s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON)) 2044s # 2044s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton; 2044s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass; 2044s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate; 2044s # 2044s # struct _OrgProjectBarFrobnicatorSkeleton 2044s # { 2044s # /*< private >*/ 2044s # GDBusInterfaceSkeleton parent_instance; 2044s # OrgProjectBarFrobnicatorSkeletonPrivate *priv; 2044s # }; 2044s # 2044s # struct _OrgProjectBarFrobnicatorSkeletonClass 2044s # { 2044s # GDBusInterfaceSkeletonClass parent_class; 2044s # }; 2044s # 2044s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref) 2044s # #endif 2044s # 2044s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void); 2044s # 2044s # 2044s # G_END_DECLS 2044s # 2044s # #endif /* __STDOUT__ */ 2044s # Error: 2044s # 2044s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6peo4kpq/tmpull2a_nl1.xml', '/tmp/tmp6peo4kpq/tmpyyvc6elu2.xml', '--output', '-', '--body'] 2044s # Return code: 0 2044s # Output: 2044s # /* 2044s # * This file is generated by gdbus-codegen, do not modify it. 2044s # * 2044s # * The license of this code is the same as for the D-Bus interface description 2044s # * it was derived from. Note that it links to GLib, so must comply with the 2044s # * LGPL linking clauses. 2044s # */ 2044s # 2044s # #ifdef HAVE_CONFIG_H 2044s # # include "config.h" 2044s # #endif 2044s # 2044s # #include 2044s # #ifdef G_OS_UNIX 2044s # # include 2044s # #endif 2044s # 2044s # #ifdef G_ENABLE_DEBUG 2044s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2044s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2044s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2044s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2044s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2044s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2044s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2044s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2044s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2044s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2044s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2044s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2044s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2044s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2044s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2044s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2044s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2044s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2044s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2044s # #else /* !G_ENABLE_DEBUG */ 2044s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2044s # * Do not access GValues directly in your code. Instead, use the 2044s # * g_value_get_*() functions 2044s # */ 2044s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2044s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2044s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2044s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2044s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2044s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2044s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2044s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2044s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2044s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2044s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2044s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2044s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2044s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2044s # #endif /* !G_ENABLE_DEBUG */ 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusArgInfo parent_struct; 2044s # gboolean use_gvariant; 2044s # } _ExtendedGDBusArgInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusMethodInfo parent_struct; 2044s # const gchar *signal_name; 2044s # gboolean pass_fdlist; 2044s # } _ExtendedGDBusMethodInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusSignalInfo parent_struct; 2044s # const gchar *signal_name; 2044s # } _ExtendedGDBusSignalInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusPropertyInfo parent_struct; 2044s # const gchar *hyphen_name; 2044s # guint use_gvariant : 1; 2044s # guint emits_changed_signal : 1; 2044s # } _ExtendedGDBusPropertyInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusInterfaceInfo parent_struct; 2044s # const gchar *hyphen_name; 2044s # } _ExtendedGDBusInterfaceInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info; 2044s # guint prop_id; 2044s # GValue orig_value; /* the value before the change */ 2044s # } ChangedProperty; 2044s # 2044s # static void 2044s # _changed_property_free (ChangedProperty *data) 2044s # { 2044s # g_value_unset (&data->orig_value); 2044s # g_free (data); 2044s # } 2044s # 2044s # static gboolean 2044s # _g_strv_equal0 (gchar **a, gchar **b) 2044s # { 2044s # gboolean ret = FALSE; 2044s # guint n; 2044s # if (a == NULL && b == NULL) 2044s # { 2044s # ret = TRUE; 2044s # goto out; 2044s # } 2044s # if (a == NULL || b == NULL) 2044s # goto out; 2044s # if (g_strv_length (a) != g_strv_length (b)) 2044s # goto out; 2044s # for (n = 0; a[n] != NULL; n++) 2044s # if (g_strcmp0 (a[n], b[n]) != 0) 2044s # goto out; 2044s # ret = TRUE; 2044s # out: 2044s # return ret; 2044s # } 2044s # 2044s # static gboolean 2044s # _g_variant_equal0 (GVariant *a, GVariant *b) 2044s # { 2044s # gboolean ret = FALSE; 2044s # if (a == NULL && b == NULL) 2044s # { 2044s # ret = TRUE; 2044s # goto out; 2044s # } 2044s # if (a == NULL || b == NULL) 2044s # goto out; 2044s # ret = g_variant_equal (a, b); 2044s # out: 2044s # return ret; 2044s # } 2044s # 2044s # G_GNUC_UNUSED static gboolean 2044s # _g_value_equal (const GValue *a, const GValue *b) 2044s # { 2044s # gboolean ret = FALSE; 2044s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2044s # switch (G_VALUE_TYPE (a)) 2044s # { 2044s # case G_TYPE_BOOLEAN: 2044s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2044s # break; 2044s # case G_TYPE_UCHAR: 2044s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2044s # break; 2044s # case G_TYPE_INT: 2044s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2044s # break; 2044s # case G_TYPE_UINT: 2044s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2044s # break; 2044s # case G_TYPE_INT64: 2044s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2044s # break; 2044s # case G_TYPE_UINT64: 2044s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2044s # break; 2044s # case G_TYPE_DOUBLE: 2044s # { 2044s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2044s # gdouble da = g_value_get_double (a); 2044s # gdouble db = g_value_get_double (b); 2044s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2044s # } 2044s # break; 2044s # case G_TYPE_STRING: 2044s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2044s # break; 2044s # case G_TYPE_VARIANT: 2044s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2044s # break; 2044s # default: 2044s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2044s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2044s # else 2044s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2044s # break; 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static void 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint G_GNUC_UNUSED, 2044s # void *marshal_data) 2044s # { 2044s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2044s # (void *data1, 2044s # GDBusMethodInvocation *arg_method_invocation, 2044s # void *data2); 2044s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2044s # GCClosure *cc = (GCClosure*) closure; 2044s # void *data1, *data2; 2044s # gboolean v_return; 2044s # 2044s # g_return_if_fail (return_value != NULL); 2044s # g_return_if_fail (n_param_values == 2); 2044s # 2044s # if (G_CCLOSURE_SWAP_DATA (closure)) 2044s # { 2044s # data1 = closure->data; 2044s # data2 = g_value_peek_pointer (param_values + 0); 2044s # } 2044s # else 2044s # { 2044s # data1 = g_value_peek_pointer (param_values + 0); 2044s # data2 = closure->data; 2044s # } 2044s # 2044s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2044s # (marshal_data ? marshal_data : cc->callback); 2044s # 2044s # v_return = 2044s # callback (data1, 2044s # g_marshal_value_peek_object (param_values + 1), 2044s # data2); 2044s # 2044s # g_value_set_boolean (return_value, v_return); 2044s # } 2044s # 2044s # /* ------------------------------------------------------------------------ 2044s # * Code for interface com.acme.Coyote 2044s # * ------------------------------------------------------------------------ 2044s # */ 2044s # 2044s # /** 2044s # * SECTION:ComAcmeCoyote 2044s # * @title: ComAcmeCoyote 2044s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 2044s # * 2044s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 2044s # */ 2044s # 2044s # enum 2044s # { 2044s # _COM_ACME_COYOTE_SURPRISED, 2044s # }; 2044s # 2044s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 2044s # 2044s # /* ---- Introspection data for com.acme.Coyote ---- */ 2044s # 2044s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Run", 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "handle-run", 2044s # FALSE 2044s # }; 2044s # 2044s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Sleep", 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "handle-sleep", 2044s # FALSE 2044s # }; 2044s # 2044s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Attack", 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "handle-attack", 2044s # FALSE 2044s # }; 2044s # 2044s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 2044s # { 2044s # &_com_acme_coyote_method_info_run.parent_struct, 2044s # &_com_acme_coyote_method_info_sleep.parent_struct, 2044s # &_com_acme_coyote_method_info_attack.parent_struct, 2044s # NULL 2044s # }; 2044s # 2044s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Surprised", 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "surprised" 2044s # }; 2044s # 2044s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 2044s # { 2044s # &_com_acme_coyote_signal_info_surprised.parent_struct, 2044s # NULL 2044s # }; 2044s # 2044s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Mood", 2044s # (gchar *) "s", 2044s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 2044s # NULL 2044s # }, 2044s # "mood", 2044s # FALSE, 2044s # TRUE 2044s # }; 2044s # 2044s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 2044s # { 2044s # &_com_acme_coyote_property_info_mood.parent_struct, 2044s # NULL 2044s # }; 2044s # 2044s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "com.acme.Coyote", 2044s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 2044s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 2044s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 2044s # NULL 2044s # }, 2044s # "com-acme-coyote", 2044s # }; 2044s # 2044s # 2044s # /** 2044s # * com_acme_coyote_interface_info: 2044s # * 2044s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 2044s # * 2044s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2044s # */ 2044s # GDBusInterfaceInfo * 2044s # com_acme_coyote_interface_info (void) 2044s # { 2044s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_override_properties: 2044s # * @klass: The class structure for a #GObject derived class. 2044s # * @property_id_begin: The property id to assign to the first overridden property. 2044s # * 2044s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 2044s # * The properties are overridden in the order they are defined. 2044s # * 2044s # * Returns: The last property id. 2044s # */ 2044s # guint 2044s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 2044s # { 2044s # g_object_class_override_property (klass, property_id_begin++, "mood"); 2044s # return property_id_begin - 1; 2044s # } 2044s # 2044s # 2044s # inline static void 2044s # com_acme_coyote_signal_marshal_surprised ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # g_cclosure_marshal_VOID__VOID (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # inline static void 2044s # com_acme_coyote_method_marshal_run ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # inline static void 2044s # com_acme_coyote_method_marshal_sleep ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # inline static void 2044s # com_acme_coyote_method_marshal_attack ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # 2044s # /** 2044s # * ComAcmeCoyote: 2044s # * 2044s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 2044s # */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteIface: 2044s # * @parent_iface: The parent interface. 2044s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 2044s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 2044s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 2044s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 2044s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 2044s # * 2044s # * Virtual table for the D-Bus interface com.acme.Coyote. 2044s # */ 2044s # 2044s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 2044s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 2044s # 2044s # static void 2044s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 2044s # { 2044s # /* GObject signals for incoming D-Bus method calls: */ 2044s # /** 2044s # * ComAcmeCoyote::handle-run: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: A #GDBusMethodInvocation. 2044s # * 2044s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # g_signal_new ("handle-run", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 2044s # g_signal_accumulator_true_handled, 2044s # NULL, 2044s # com_acme_coyote_method_marshal_run, 2044s # G_TYPE_BOOLEAN, 2044s # 1, 2044s # G_TYPE_DBUS_METHOD_INVOCATION); 2044s # 2044s # /** 2044s # * ComAcmeCoyote::handle-sleep: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: A #GDBusMethodInvocation. 2044s # * 2044s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # g_signal_new ("handle-sleep", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 2044s # g_signal_accumulator_true_handled, 2044s # NULL, 2044s # com_acme_coyote_method_marshal_sleep, 2044s # G_TYPE_BOOLEAN, 2044s # 1, 2044s # G_TYPE_DBUS_METHOD_INVOCATION); 2044s # 2044s # /** 2044s # * ComAcmeCoyote::handle-attack: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: A #GDBusMethodInvocation. 2044s # * 2044s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # g_signal_new ("handle-attack", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 2044s # g_signal_accumulator_true_handled, 2044s # NULL, 2044s # com_acme_coyote_method_marshal_attack, 2044s # G_TYPE_BOOLEAN, 2044s # 1, 2044s # G_TYPE_DBUS_METHOD_INVOCATION); 2044s # 2044s # /* GObject signals for received D-Bus signals: */ 2044s # /** 2044s # * ComAcmeCoyote::surprised: 2044s # * @object: A #ComAcmeCoyote. 2044s # * 2044s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 2044s # * 2044s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2044s # */ 2044s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 2044s # g_signal_new ("surprised", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 2044s # NULL, 2044s # NULL, 2044s # com_acme_coyote_signal_marshal_surprised, 2044s # G_TYPE_NONE, 2044s # 0); 2044s # 2044s # /* GObject properties for D-Bus properties: */ 2044s # /** 2044s # * ComAcmeCoyote:mood: 2044s # * 2044s # * Represents the D-Bus property "Mood". 2044s # * 2044s # * 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. 2044s # */ 2044s # g_object_interface_install_property (iface, 2044s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_get_mood: (skip) 2044s # * @object: A #ComAcmeCoyote. 2044s # * 2044s # * Gets the value of the "Mood" D-Bus property. 2044s # * 2044s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # const gchar * 2044s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 2044s # { 2044s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 2044s # 2044s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_dup_mood: (skip) 2044s # * @object: A #ComAcmeCoyote. 2044s # * 2044s # * Gets a copy of the "Mood" D-Bus property. 2044s # * 2044s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2044s # * 2044s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 2044s # */ 2044s # gchar * 2044s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 2044s # { 2044s # gchar *value; 2044s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 2044s # return value; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_set_mood: (skip) 2044s # * @object: A #ComAcmeCoyote. 2044s # * @value: The value to set. 2044s # * 2044s # * Sets the "Mood" D-Bus property to @value. 2044s # * 2044s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 2044s # */ 2044s # void 2044s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 2044s # { 2044s # g_object_set (G_OBJECT (object), "mood", value, NULL); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_emit_surprised: 2044s # * @object: A #ComAcmeCoyote. 2044s # * 2044s # * Emits the "Surprised" D-Bus signal. 2044s # */ 2044s # void 2044s # com_acme_coyote_emit_surprised ( 2044s # ComAcmeCoyote *object) 2044s # { 2044s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_run: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously invokes the Run() D-Bus method on @proxy. 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 2044s # */ 2044s # void 2044s # com_acme_coyote_call_run ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2044s # "Run", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # callback, 2044s # user_data); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_run_finish: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_call_run(). 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_run_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_run_sync: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_run_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2044s # "Run", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_sleep: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 2044s # */ 2044s # void 2044s # com_acme_coyote_call_sleep ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2044s # "Sleep", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # callback, 2044s # user_data); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_sleep_finish: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_call_sleep(). 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_sleep_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_sleep_sync: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_sleep_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2044s # "Sleep", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_attack: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 2044s # */ 2044s # void 2044s # com_acme_coyote_call_attack ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2044s # "Attack", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # callback, 2044s # user_data); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_attack_finish: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_call_attack(). 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_attack_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_attack_sync: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_attack_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2044s # "Attack", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_complete_run: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2044s # * 2044s # * 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. 2044s # * 2044s # * This method will free @invocation, you cannot use it afterwards. 2044s # */ 2044s # void 2044s # com_acme_coyote_complete_run ( 2044s # ComAcmeCoyote *object G_GNUC_UNUSED, 2044s # GDBusMethodInvocation *invocation) 2044s # { 2044s # g_dbus_method_invocation_return_value (invocation, 2044s # g_variant_new ("()")); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_complete_sleep: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2044s # * 2044s # * 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. 2044s # * 2044s # * This method will free @invocation, you cannot use it afterwards. 2044s # */ 2044s # void 2044s # com_acme_coyote_complete_sleep ( 2044s # ComAcmeCoyote *object G_GNUC_UNUSED, 2044s # GDBusMethodInvocation *invocation) 2044s # { 2044s # g_dbus_method_invocation_return_value (invocation, 2044s # g_variant_new ("()")); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_complete_attack: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2044s # * 2044s # * 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. 2044s # * 2044s # * This method will free @invocation, you cannot use it afterwards. 2044s # */ 2044s # void 2044s # com_acme_coyote_complete_attack ( 2044s # ComAcmeCoyote *object G_GNUC_UNUSED, 2044s # GDBusMethodInvocation *invocation) 2044s # { 2044s # g_dbus_method_invocation_return_value (invocation, 2044s # g_variant_new ("()")); 2044s # } 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteProxy: 2044s # * 2044s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 2044s # */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteProxyClass: 2044s # * @parent_class: The parent class. 2044s # * 2044s # * Class structure for #ComAcmeCoyoteProxy. 2044s # */ 2044s # 2044s # struct _ComAcmeCoyoteProxyPrivate 2044s # { 2044s # GData *qdata; 2044s # }; 2044s # 2044s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 2044s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 2044s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 2044s # 2044s # #else 2044s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 2044s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 2044s # 2044s # #endif 2044s # static void 2044s # com_acme_coyote_proxy_finalize (GObject *object) 2044s # { 2044s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 2044s # g_datalist_clear (&proxy->priv->qdata); 2044s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_get_property (GObject *object, 2044s # guint prop_id, 2044s # GValue *value, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info; 2044s # GVariant *variant; 2044s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2044s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 2044s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 2044s # if (info->use_gvariant) 2044s # { 2044s # g_value_set_variant (value, variant); 2044s # } 2044s # else 2044s # { 2044s # if (variant != NULL) 2044s # g_dbus_gvariant_to_gvalue (variant, value); 2044s # } 2044s # if (variant != NULL) 2044s # g_variant_unref (variant); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 2044s # GAsyncResult *res, 2044s # gpointer user_data) 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info = user_data; 2044s # GError *error; 2044s # GVariant *_ret; 2044s # error = NULL; 2044s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 2044s # if (!_ret) 2044s # { 2044s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 2044s # info->parent_struct.name, 2044s # error->message, g_quark_to_string (error->domain), error->code); 2044s # g_error_free (error); 2044s # } 2044s # else 2044s # { 2044s # g_variant_unref (_ret); 2044s # } 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_set_property (GObject *object, 2044s # guint prop_id, 2044s # const GValue *value, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info; 2044s # GVariant *variant; 2044s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2044s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 2044s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 2044s # g_dbus_proxy_call (G_DBUS_PROXY (object), 2044s # "org.freedesktop.DBus.Properties.Set", 2044s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 2044s # g_variant_unref (variant); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 2044s # const gchar *sender_name G_GNUC_UNUSED, 2044s # const gchar *signal_name, 2044s # GVariant *parameters) 2044s # { 2044s # _ExtendedGDBusSignalInfo *info; 2044s # GVariantIter iter; 2044s # GVariant *child; 2044s # GValue *paramv; 2044s # gsize num_params; 2044s # gsize n; 2044s # guint signal_id; 2044s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 2044s # if (info == NULL) 2044s # return; 2044s # num_params = g_variant_n_children (parameters); 2044s # paramv = g_new0 (GValue, num_params + 1); 2044s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 2044s # g_value_set_object (¶mv[0], proxy); 2044s # g_variant_iter_init (&iter, parameters); 2044s # n = 1; 2044s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2044s # { 2044s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2044s # if (arg_info->use_gvariant) 2044s # { 2044s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2044s # g_value_set_variant (¶mv[n], child); 2044s # n++; 2044s # } 2044s # else 2044s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2044s # g_variant_unref (child); 2044s # } 2044s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 2044s # g_signal_emitv (paramv, signal_id, 0, NULL); 2044s # for (n = 0; n < num_params + 1; n++) 2044s # g_value_unset (¶mv[n]); 2044s # g_free (paramv); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 2044s # GVariant *changed_properties, 2044s # const gchar *const *invalidated_properties) 2044s # { 2044s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 2044s # guint n; 2044s # const gchar *key; 2044s # GVariantIter *iter; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # g_variant_get (changed_properties, "a{sv}", &iter); 2044s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2044s # { 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 2044s # g_datalist_remove_data (&proxy->priv->qdata, key); 2044s # if (info != NULL) 2044s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2044s # } 2044s # g_variant_iter_free (iter); 2044s # for (n = 0; invalidated_properties[n] != NULL; n++) 2044s # { 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 2044s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2044s # if (info != NULL) 2044s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2044s # } 2044s # } 2044s # 2044s # static const gchar * 2044s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 2044s # { 2044s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 2044s # GVariant *variant; 2044s # const gchar *value = NULL; 2044s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 2044s # if (variant != NULL) 2044s # { 2044s # value = g_variant_get_string (variant, NULL); 2044s # g_variant_unref (variant); 2044s # } 2044s # return value; 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 2044s # { 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 2044s # #else 2044s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 2044s # #endif 2044s # 2044s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 2044s # { 2044s # GObjectClass *gobject_class; 2044s # GDBusProxyClass *proxy_class; 2044s # 2044s # gobject_class = G_OBJECT_CLASS (klass); 2044s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 2044s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 2044s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 2044s # 2044s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2044s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 2044s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 2044s # 2044s # com_acme_coyote_override_properties (gobject_class, 1); 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2044s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 2044s # #endif 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 2044s # { 2044s # iface->get_mood = com_acme_coyote_proxy_get_mood; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new: 2044s # * @connection: A #GDBusConnection. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 2044s # * 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 2044s # */ 2044s # void 2044s # com_acme_coyote_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # 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); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_finish: 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_proxy_new(). 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GObject *ret; 2044s # GObject *source_object; 2044s # source_object = g_async_result_get_source_object (res); 2044s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2044s # g_object_unref (source_object); 2044s # if (ret != NULL) 2044s # return COM_ACME_COYOTE (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_sync: 2044s # * @connection: A #GDBusConnection. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 2044s # * 2044s # * The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GInitable *ret; 2044s # 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); 2044s # if (ret != NULL) 2044s # return COM_ACME_COYOTE (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_for_bus: 2044s # * @bus_type: A #GBusType. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: A bus name (well-known or unique). 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2044s # * 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2044s # */ 2044s # void 2044s # com_acme_coyote_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # 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); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_for_bus_finish: 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GObject *ret; 2044s # GObject *source_object; 2044s # source_object = g_async_result_get_source_object (res); 2044s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2044s # g_object_unref (source_object); 2044s # if (ret != NULL) 2044s # return COM_ACME_COYOTE (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_for_bus_sync: 2044s # * @bus_type: A #GBusType. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: A bus name (well-known or unique). 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2044s # * 2044s # * The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GInitable *ret; 2044s # 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); 2044s # if (ret != NULL) 2044s # return COM_ACME_COYOTE (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteSkeleton: 2044s # * 2044s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 2044s # */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteSkeletonClass: 2044s # * @parent_class: The parent class. 2044s # * 2044s # * Class structure for #ComAcmeCoyoteSkeleton. 2044s # */ 2044s # 2044s # struct _ComAcmeCoyoteSkeletonPrivate 2044s # { 2044s # GValue *properties; 2044s # GList *changed_properties; 2044s # GSource *changed_properties_idle_source; 2044s # GMainContext *context; 2044s # GMutex lock; 2044s # }; 2044s # 2044s # static void 2044s # _com_acme_coyote_skeleton_handle_method_call ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name, 2044s # const gchar *method_name, 2044s # GVariant *parameters, 2044s # GDBusMethodInvocation *invocation, 2044s # gpointer user_data) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 2044s # _ExtendedGDBusMethodInfo *info; 2044s # GVariantIter iter; 2044s # GVariant *child; 2044s # GValue *paramv; 2044s # gsize num_params; 2044s # guint num_extra; 2044s # gsize n; 2044s # guint signal_id; 2044s # GValue return_value = G_VALUE_INIT; 2044s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2044s # g_assert (info != NULL); 2044s # num_params = g_variant_n_children (parameters); 2044s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2044s # n = 0; 2044s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 2044s # g_value_set_object (¶mv[n++], skeleton); 2044s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2044s # g_value_set_object (¶mv[n++], invocation); 2044s # if (info->pass_fdlist) 2044s # { 2044s # #ifdef G_OS_UNIX 2044s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2044s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2044s # #else 2044s # g_assert_not_reached (); 2044s # #endif 2044s # } 2044s # g_variant_iter_init (&iter, parameters); 2044s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2044s # { 2044s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2044s # if (arg_info->use_gvariant) 2044s # { 2044s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2044s # g_value_set_variant (¶mv[n], child); 2044s # n++; 2044s # } 2044s # else 2044s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2044s # g_variant_unref (child); 2044s # } 2044s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 2044s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2044s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2044s # if (!g_value_get_boolean (&return_value)) 2044s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2044s # g_value_unset (&return_value); 2044s # for (n = 0; n < num_params + num_extra; n++) 2044s # g_value_unset (¶mv[n]); 2044s # g_free (paramv); 2044s # } 2044s # 2044s # static GVariant * 2044s # _com_acme_coyote_skeleton_handle_get_property ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name G_GNUC_UNUSED, 2044s # const gchar *property_name, 2044s # GError **error, 2044s # gpointer user_data) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 2044s # GValue value = G_VALUE_INIT; 2044s # GParamSpec *pspec; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # GVariant *ret; 2044s # ret = NULL; 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 2044s # g_assert (info != NULL); 2044s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2044s # if (pspec == NULL) 2044s # { 2044s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2044s # } 2044s # else 2044s # { 2044s # g_value_init (&value, pspec->value_type); 2044s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2044s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2044s # g_value_unset (&value); 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static gboolean 2044s # _com_acme_coyote_skeleton_handle_set_property ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name G_GNUC_UNUSED, 2044s # const gchar *property_name, 2044s # GVariant *variant, 2044s # GError **error, 2044s # gpointer user_data) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 2044s # GValue value = G_VALUE_INIT; 2044s # GParamSpec *pspec; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # gboolean ret; 2044s # ret = FALSE; 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 2044s # g_assert (info != NULL); 2044s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2044s # if (pspec == NULL) 2044s # { 2044s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2044s # } 2044s # else 2044s # { 2044s # if (info->use_gvariant) 2044s # g_value_set_variant (&value, variant); 2044s # else 2044s # g_dbus_gvariant_to_gvalue (variant, &value); 2044s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2044s # g_value_unset (&value); 2044s # ret = TRUE; 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 2044s # { 2044s # _com_acme_coyote_skeleton_handle_method_call, 2044s # _com_acme_coyote_skeleton_handle_get_property, 2044s # _com_acme_coyote_skeleton_handle_set_property, 2044s # {NULL} 2044s # }; 2044s # 2044s # static GDBusInterfaceInfo * 2044s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2044s # { 2044s # return com_acme_coyote_interface_info (); 2044s # } 2044s # 2044s # static GDBusInterfaceVTable * 2044s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2044s # { 2044s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 2044s # } 2044s # 2044s # static GVariant * 2044s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 2044s # 2044s # GVariantBuilder builder; 2044s # guint n; 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2044s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # #else 2044s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # #endif 2044s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 2044s # goto out; 2044s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 2044s # { 2044s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 2044s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2044s # { 2044s # GVariant *value; 2044s # 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); 2044s # if (value != NULL) 2044s # { 2044s # g_variant_take_ref (value); 2044s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2044s # g_variant_unref (value); 2044s # } 2044s # } 2044s # } 2044s # out: 2044s # return g_variant_builder_end (&builder); 2044s # } 2044s # 2044s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 2044s # gboolean emit_changed = FALSE; 2044s # 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # if (skeleton->priv->changed_properties_idle_source != NULL) 2044s # { 2044s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2044s # skeleton->priv->changed_properties_idle_source = NULL; 2044s # emit_changed = TRUE; 2044s # } 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # 2044s # if (emit_changed) 2044s # _com_acme_coyote_emit_changed (skeleton); 2044s # } 2044s # 2044s # static void 2044s # _com_acme_coyote_on_signal_surprised ( 2044s # ComAcmeCoyote *object) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # 2044s # GList *connections, *l; 2044s # GVariant *signal_variant; 2044s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2044s # 2044s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2044s # for (l = connections; l != NULL; l = l->next) 2044s # { 2044s # GDBusConnection *connection = l->data; 2044s # g_dbus_connection_emit_signal (connection, 2044s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 2044s # signal_variant, NULL); 2044s # } 2044s # g_variant_unref (signal_variant); 2044s # g_list_free_full (connections, g_object_unref); 2044s # } 2044s # 2044s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2044s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 2044s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 2044s # 2044s # #else 2044s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2044s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 2044s # 2044s # #endif 2044s # static void 2044s # com_acme_coyote_skeleton_finalize (GObject *object) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # guint n; 2044s # for (n = 0; n < 1; n++) 2044s # g_value_unset (&skeleton->priv->properties[n]); 2044s # g_free (skeleton->priv->properties); 2044s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2044s # if (skeleton->priv->changed_properties_idle_source != NULL) 2044s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2044s # g_main_context_unref (skeleton->priv->context); 2044s # g_mutex_clear (&skeleton->priv->lock); 2044s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_get_property (GObject *object, 2044s # guint prop_id, 2044s # GValue *value, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # } 2044s # 2044s # static gboolean 2044s # _com_acme_coyote_emit_changed (gpointer user_data) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 2044s # GList *l; 2044s # GVariantBuilder builder; 2044s # GVariantBuilder invalidated_builder; 2044s # guint num_changes; 2044s # 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2044s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 2044s # #else 2044s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 2044s # #endif 2044s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 2044s # { 2044s # ChangedProperty *cp = l->data; 2044s # GVariant *variant; 2044s # const GValue *cur_value; 2044s # 2044s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 2044s # if (!_g_value_equal (cur_value, &cp->orig_value)) 2044s # { 2044s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 2044s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 2044s # g_variant_unref (variant); 2044s # num_changes++; 2044s # } 2044s # } 2044s # if (num_changes > 0) 2044s # { 2044s # GList *connections, *ll; 2044s # GVariant *signal_variant; 2044s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 2044s # &builder, &invalidated_builder)); 2044s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2044s # for (ll = connections; ll != NULL; ll = ll->next) 2044s # { 2044s # GDBusConnection *connection = ll->data; 2044s # 2044s # g_dbus_connection_emit_signal (connection, 2044s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 2044s # "org.freedesktop.DBus.Properties", 2044s # "PropertiesChanged", 2044s # signal_variant, 2044s # NULL); 2044s # } 2044s # g_variant_unref (signal_variant); 2044s # g_list_free_full (connections, g_object_unref); 2044s # } 2044s # else 2044s # { 2044s # g_variant_builder_clear (&builder); 2044s # g_variant_builder_clear (&invalidated_builder); 2044s # } 2044s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2044s # skeleton->priv->changed_properties = NULL; 2044s # skeleton->priv->changed_properties_idle_source = NULL; 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # return FALSE; 2044s # } 2044s # 2044s # static void 2044s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 2044s # { 2044s # ChangedProperty *cp; 2044s # GList *l; 2044s # cp = NULL; 2044s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 2044s # { 2044s # ChangedProperty *i_cp = l->data; 2044s # if (i_cp->info == info) 2044s # { 2044s # cp = i_cp; 2044s # break; 2044s # } 2044s # } 2044s # if (cp == NULL) 2044s # { 2044s # cp = g_new0 (ChangedProperty, 1); 2044s # cp->prop_id = prop_id; 2044s # cp->info = info; 2044s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 2044s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 2044s # g_value_copy (orig_value, &cp->orig_value); 2044s # } 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_notify (GObject *object, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # if (skeleton->priv->changed_properties != NULL && 2044s # skeleton->priv->changed_properties_idle_source == NULL) 2044s # { 2044s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 2044s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 2044s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 2044s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 2044s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 2044s # g_source_unref (skeleton->priv->changed_properties_idle_source); 2044s # } 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_set_property (GObject *object, 2044s # guint prop_id, 2044s # const GValue *value, 2044s # GParamSpec *pspec) 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info; 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2044s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # g_object_freeze_notify (object); 2044s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 2044s # { 2044s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 2044s # info->emits_changed_signal) 2044s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 2044s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 2044s # g_object_notify_by_pspec (object, pspec); 2044s # } 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # g_object_thaw_notify (object); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 2044s # { 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 2044s # #else 2044s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 2044s # #endif 2044s # 2044s # g_mutex_init (&skeleton->priv->lock); 2044s # skeleton->priv->context = g_main_context_ref_thread_default (); 2044s # skeleton->priv->properties = g_new0 (GValue, 1); 2044s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 2044s # } 2044s # 2044s # static const gchar * 2044s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # const gchar *value; 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # return value; 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 2044s # { 2044s # GObjectClass *gobject_class; 2044s # GDBusInterfaceSkeletonClass *skeleton_class; 2044s # 2044s # gobject_class = G_OBJECT_CLASS (klass); 2044s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 2044s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 2044s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 2044s # gobject_class->notify = com_acme_coyote_skeleton_notify; 2044s # 2044s # 2044s # com_acme_coyote_override_properties (gobject_class, 1); 2044s # 2044s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2044s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 2044s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 2044s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 2044s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2044s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 2044s # #endif 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 2044s # { 2044s # iface->surprised = _com_acme_coyote_on_signal_surprised; 2044s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_skeleton_new: 2044s # * 2044s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_skeleton_new (void) 2044s # { 2044s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 2044s # } 2044s # 2044s # /* ------------------------------------------------------------------------ 2044s # * Code for interface org.project.Bar.Frobnicator 2044s # * ------------------------------------------------------------------------ 2044s # */ 2044s # 2044s # /** 2044s # * SECTION:OrgProjectBarFrobnicator 2044s # * @title: OrgProjectBarFrobnicator 2044s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 2044s # * 2044s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 2044s # */ 2044s # 2044s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 2044s # 2044s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "RandomMethod", 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "handle-random-method", 2044s # FALSE 2044s # }; 2044s # 2044s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 2044s # { 2044s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 2044s # NULL 2044s # }; 2044s # 2044s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "org.project.Bar.Frobnicator", 2044s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "org-project-bar-frobnicator", 2044s # }; 2044s # 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_interface_info: 2044s # * 2044s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 2044s # * 2044s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2044s # */ 2044s # GDBusInterfaceInfo * 2044s # org_project_bar_frobnicator_interface_info (void) 2044s # { 2044s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_override_properties: 2044s # * @klass: The class structure for a #GObject derived class. 2044s # * @property_id_begin: The property id to assign to the first overridden property. 2044s # * 2044s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 2044s # * The properties are overridden in the order they are defined. 2044s # * 2044s # * Returns: The last property id. 2044s # */ 2044s # guint 2044s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2044s # { 2044s # return property_id_begin - 1; 2044s # } 2044s # 2044s # 2044s # inline static void 2044s # org_project_bar_frobnicator_method_marshal_random_method ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicator: 2044s # * 2044s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 2044s # */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorIface: 2044s # * @parent_iface: The parent interface. 2044s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 2044s # * 2044s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 2044s # */ 2044s # 2044s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 2044s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 2044s # { 2044s # /* GObject signals for incoming D-Bus method calls: */ 2044s # /** 2044s # * OrgProjectBarFrobnicator::handle-random-method: 2044s # * @object: A #OrgProjectBarFrobnicator. 2044s # * @invocation: A #GDBusMethodInvocation. 2044s # * 2044s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # g_signal_new ("handle-random-method", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 2044s # g_signal_accumulator_true_handled, 2044s # NULL, 2044s # org_project_bar_frobnicator_method_marshal_random_method, 2044s # G_TYPE_BOOLEAN, 2044s # 1, 2044s # G_TYPE_DBUS_METHOD_INVOCATION); 2044s # 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_call_random_method: 2044s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 2044s # * 2044s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 2044s # */ 2044s # void 2044s # org_project_bar_frobnicator_call_random_method ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2044s # "RandomMethod", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # callback, 2044s # user_data); 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_call_random_method_finish: 2044s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # org_project_bar_frobnicator_call_random_method_finish ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_call_random_method_sync: 2044s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2044s # * 2044s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # org_project_bar_frobnicator_call_random_method_sync ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2044s # "RandomMethod", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_complete_random_method: 2044s # * @object: A #OrgProjectBarFrobnicator. 2044s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2044s # * 2044s # * 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. 2044s # * 2044s # * This method will free @invocation, you cannot use it afterwards. 2044s # */ 2044s # void 2044s # org_project_bar_frobnicator_complete_random_method ( 2044s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 2044s # GDBusMethodInvocation *invocation) 2044s # { 2044s # g_dbus_method_invocation_return_value (invocation, 2044s # g_variant_new ("()")); 2044s # } 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorProxy: 2044s # * 2044s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 2044s # */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorProxyClass: 2044s # * @parent_class: The parent class. 2044s # * 2044s # * Class structure for #OrgProjectBarFrobnicatorProxy. 2044s # */ 2044s # 2044s # struct _OrgProjectBarFrobnicatorProxyPrivate 2044s # { 2044s # GData *qdata; 2044s # }; 2044s # 2044s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 2044s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 2044s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 2044s # 2044s # #else 2044s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 2044s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 2044s # 2044s # #endif 2044s # static void 2044s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 2044s # { 2044s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 2044s # g_datalist_clear (&proxy->priv->qdata); 2044s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 2044s # guint prop_id G_GNUC_UNUSED, 2044s # GValue *value G_GNUC_UNUSED, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 2044s # guint prop_id G_GNUC_UNUSED, 2044s # const GValue *value G_GNUC_UNUSED, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 2044s # const gchar *sender_name G_GNUC_UNUSED, 2044s # const gchar *signal_name, 2044s # GVariant *parameters) 2044s # { 2044s # _ExtendedGDBusSignalInfo *info; 2044s # GVariantIter iter; 2044s # GVariant *child; 2044s # GValue *paramv; 2044s # gsize num_params; 2044s # gsize n; 2044s # guint signal_id; 2044s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 2044s # if (info == NULL) 2044s # return; 2044s # num_params = g_variant_n_children (parameters); 2044s # paramv = g_new0 (GValue, num_params + 1); 2044s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 2044s # g_value_set_object (¶mv[0], proxy); 2044s # g_variant_iter_init (&iter, parameters); 2044s # n = 1; 2044s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2044s # { 2044s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2044s # if (arg_info->use_gvariant) 2044s # { 2044s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2044s # g_value_set_variant (¶mv[n], child); 2044s # n++; 2044s # } 2044s # else 2044s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2044s # g_variant_unref (child); 2044s # } 2044s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 2044s # g_signal_emitv (paramv, signal_id, 0, NULL); 2044s # for (n = 0; n < num_params + 1; n++) 2044s # g_value_unset (¶mv[n]); 2044s # g_free (paramv); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 2044s # GVariant *changed_properties, 2044s # const gchar *const *invalidated_properties) 2044s # { 2044s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 2044s # guint n; 2044s # const gchar *key; 2044s # GVariantIter *iter; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # g_variant_get (changed_properties, "a{sv}", &iter); 2044s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2044s # { 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 2044s # g_datalist_remove_data (&proxy->priv->qdata, key); 2044s # if (info != NULL) 2044s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2044s # } 2044s # g_variant_iter_free (iter); 2044s # for (n = 0; invalidated_properties[n] != NULL; n++) 2044s # { 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 2044s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2044s # if (info != NULL) 2044s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2044s # } 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 2044s # { 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 2044s # #else 2044s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 2044s # #endif 2044s # 2044s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 2044s # { 2044s # GObjectClass *gobject_class; 2044s # GDBusProxyClass *proxy_class; 2044s # 2044s # gobject_class = G_OBJECT_CLASS (klass); 2044s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 2044s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 2044s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 2044s # 2044s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2044s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 2044s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2044s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 2044s # #endif 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new: 2044s # * @connection: A #GDBusConnection. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 2044s # * 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 2044s # * 2044s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 2044s # */ 2044s # void 2044s # org_project_bar_frobnicator_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # 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); 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_finish: 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GObject *ret; 2044s # GObject *source_object; 2044s # source_object = g_async_result_get_source_object (res); 2044s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2044s # g_object_unref (source_object); 2044s # if (ret != NULL) 2044s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_sync: 2044s # * @connection: A #GDBusConnection. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 2044s # * 2044s # * The calling thread is blocked until a reply is received. 2044s # * 2044s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GInitable *ret; 2044s # 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); 2044s # if (ret != NULL) 2044s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_for_bus: 2044s # * @bus_type: A #GBusType. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: A bus name (well-known or unique). 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2044s # * 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 2044s # * 2044s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2044s # */ 2044s # void 2044s # org_project_bar_frobnicator_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # 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); 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GObject *ret; 2044s # GObject *source_object; 2044s # source_object = g_async_result_get_source_object (res); 2044s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2044s # g_object_unref (source_object); 2044s # if (ret != NULL) 2044s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 2044s # * @bus_type: A #GBusType. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: A bus name (well-known or unique). 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2044s # * 2044s # * The calling thread is blocked until a reply is received. 2044s # * 2044s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GInitable *ret; 2044s # 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); 2044s # if (ret != NULL) 2044s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorSkeleton: 2044s # * 2044s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 2044s # */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorSkeletonClass: 2044s # * @parent_class: The parent class. 2044s # * 2044s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 2044s # */ 2044s # 2044s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 2044s # { 2044s # GValue *properties; 2044s # GList *changed_properties; 2044s # GSource *changed_properties_idle_source; 2044s # GMainContext *context; 2044s # GMutex lock; 2044s # }; 2044s # 2044s # static void 2044s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name, 2044s # const gchar *method_name, 2044s # GVariant *parameters, 2044s # GDBusMethodInvocation *invocation, 2044s # gpointer user_data) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 2044s # _ExtendedGDBusMethodInfo *info; 2044s # GVariantIter iter; 2044s # GVariant *child; 2044s # GValue *paramv; 2044s # gsize num_params; 2044s # guint num_extra; 2044s # gsize n; 2044s # guint signal_id; 2044s # GValue return_value = G_VALUE_INIT; 2044s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2044s # g_assert (info != NULL); 2044s # num_params = g_variant_n_children (parameters); 2044s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2044s # n = 0; 2044s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 2044s # g_value_set_object (¶mv[n++], skeleton); 2044s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2044s # g_value_set_object (¶mv[n++], invocation); 2044s # if (info->pass_fdlist) 2044s # { 2044s # #ifdef G_OS_UNIX 2044s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2044s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2044s # #else 2044s # g_assert_not_reached (); 2044s # #endif 2044s # } 2044s # g_variant_iter_init (&iter, parameters); 2044s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2044s # { 2044s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2044s # if (arg_info->use_gvariant) 2044s # { 2044s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2044s # g_value_set_variant (¶mv[n], child); 2044s # n++; 2044s # } 2044s # else 2044s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2044s # g_variant_unref (child); 2044s # } 2044s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 2044s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2044s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2044s # if (!g_value_get_boolean (&return_value)) 2044s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2044s # g_value_unset (&return_value); 2044s # for (n = 0; n < num_params + num_extra; n++) 2044s # g_value_unset (¶mv[n]); 2044s # g_free (paramv); 2044s # } 2044s # 2044s # static GVariant * 2044s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name G_GNUC_UNUSED, 2044s # const gchar *property_name, 2044s # GError **error, 2044s # gpointer user_data) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 2044s # GValue value = G_VALUE_INIT; 2044s # GParamSpec *pspec; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # GVariant *ret; 2044s # ret = NULL; 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 2044s # g_assert (info != NULL); 2044s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2044s # if (pspec == NULL) 2044s # { 2044s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2044s # } 2044s # else 2044s # { 2044s # g_value_init (&value, pspec->value_type); 2044s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2044s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2044s # g_value_unset (&value); 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static gboolean 2044s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name G_GNUC_UNUSED, 2044s # const gchar *property_name, 2044s # GVariant *variant, 2044s # GError **error, 2044s # gpointer user_data) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 2044s # GValue value = G_VALUE_INIT; 2044s # GParamSpec *pspec; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # gboolean ret; 2044s # ret = FALSE; 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 2044s # g_assert (info != NULL); 2044s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2044s # if (pspec == NULL) 2044s # { 2044s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2044s # } 2044s # else 2044s # { 2044s # if (info->use_gvariant) 2044s # g_value_set_variant (&value, variant); 2044s # else 2044s # g_dbus_gvariant_to_gvalue (variant, &value); 2044s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2044s # g_value_unset (&value); 2044s # ret = TRUE; 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 2044s # { 2044s # _org_project_bar_frobnicator_skeleton_handle_method_call, 2044s # _org_project_bar_frobnicator_skeleton_handle_get_property, 2044s # _org_project_bar_frobnicator_skeleton_handle_set_property, 2044s # {NULL} 2044s # }; 2044s # 2044s # static GDBusInterfaceInfo * 2044s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2044s # { 2044s # return org_project_bar_frobnicator_interface_info (); 2044s # } 2044s # 2044s # static GDBusInterfaceVTable * 2044s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2044s # { 2044s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 2044s # } 2044s # 2044s # static GVariant * 2044s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 2044s # 2044s # GVariantBuilder builder; 2044s # guint n; 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2044s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # #else 2044s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # #endif 2044s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 2044s # goto out; 2044s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 2044s # { 2044s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 2044s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2044s # { 2044s # GVariant *value; 2044s # 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); 2044s # if (value != NULL) 2044s # { 2044s # g_variant_take_ref (value); 2044s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2044s # g_variant_unref (value); 2044s # } 2044s # } 2044s # } 2044s # out: 2044s # return g_variant_builder_end (&builder); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2044s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 2044s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 2044s # 2044s # #else 2044s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2044s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 2044s # 2044s # #endif 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 2044s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2044s # if (skeleton->priv->changed_properties_idle_source != NULL) 2044s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2044s # g_main_context_unref (skeleton->priv->context); 2044s # g_mutex_clear (&skeleton->priv->lock); 2044s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 2044s # { 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 2044s # #else 2044s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 2044s # #endif 2044s # 2044s # g_mutex_init (&skeleton->priv->lock); 2044s # skeleton->priv->context = g_main_context_ref_thread_default (); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 2044s # { 2044s # GObjectClass *gobject_class; 2044s # GDBusInterfaceSkeletonClass *skeleton_class; 2044s # 2044s # gobject_class = G_OBJECT_CLASS (klass); 2044s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 2044s # 2044s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2044s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 2044s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 2044s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 2044s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2044s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 2044s # #endif 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_skeleton_new: 2044s # * 2044s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_skeleton_new (void) 2044s # { 2044s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 2044s # } 2044s # Error: 2044s # 2044s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp6peo4kpq/tmpyyvc6elu2.xml', '/tmp/tmp6peo4kpq/tmpull2a_nl1.xml', '--output', '-', '--body'] 2044s # Return code: 0 2044s # Output: 2044s # /* 2044s # * This file is generated by gdbus-codegen, do not modify it. 2044s # * 2044s # * The license of this code is the same as for the D-Bus interface description 2044s # * it was derived from. Note that it links to GLib, so must comply with the 2044s # * LGPL linking clauses. 2044s # */ 2044s # 2044s # #ifdef HAVE_CONFIG_H 2044s # # include "config.h" 2044s # #endif 2044s # 2044s # #include 2044s # #ifdef G_OS_UNIX 2044s # # include 2044s # #endif 2044s # 2044s # #ifdef G_ENABLE_DEBUG 2044s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2044s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2044s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2044s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2044s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2044s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2044s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2044s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2044s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2044s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2044s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2044s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2044s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2044s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2044s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2044s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2044s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2044s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2044s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2044s # #else /* !G_ENABLE_DEBUG */ 2044s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2044s # * Do not access GValues directly in your code. Instead, use the 2044s # * g_value_get_*() functions 2044s # */ 2044s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2044s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2044s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2044s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2044s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2044s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2044s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2044s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2044s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2044s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2044s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2044s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2044s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2044s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2044s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2044s # #endif /* !G_ENABLE_DEBUG */ 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusArgInfo parent_struct; 2044s # gboolean use_gvariant; 2044s # } _ExtendedGDBusArgInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusMethodInfo parent_struct; 2044s # const gchar *signal_name; 2044s # gboolean pass_fdlist; 2044s # } _ExtendedGDBusMethodInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusSignalInfo parent_struct; 2044s # const gchar *signal_name; 2044s # } _ExtendedGDBusSignalInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusPropertyInfo parent_struct; 2044s # const gchar *hyphen_name; 2044s # guint use_gvariant : 1; 2044s # guint emits_changed_signal : 1; 2044s # } _ExtendedGDBusPropertyInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # GDBusInterfaceInfo parent_struct; 2044s # const gchar *hyphen_name; 2044s # } _ExtendedGDBusInterfaceInfo; 2044s # 2044s # typedef struct 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info; 2044s # guint prop_id; 2044s # GValue orig_value; /* the value before the change */ 2044s # } ChangedProperty; 2044s # 2044s # static void 2044s # _changed_property_free (ChangedProperty *data) 2044s # { 2044s # g_value_unset (&data->orig_value); 2044s # g_free (data); 2044s # } 2044s # 2044s # static gboolean 2044s # _g_strv_equal0 (gchar **a, gchar **b) 2044s # { 2044s # gboolean ret = FALSE; 2044s # guint n; 2044s # if (a == NULL && b == NULL) 2044s # { 2044s # ret = TRUE; 2044s # goto out; 2044s # } 2044s # if (a == NULL || b == NULL) 2044s # goto out; 2044s # if (g_strv_length (a) != g_strv_length (b)) 2044s # goto out; 2044s # for (n = 0; a[n] != NULL; n++) 2044s # if (g_strcmp0 (a[n], b[n]) != 0) 2044s # goto out; 2044s # ret = TRUE; 2044s # out: 2044s # return ret; 2044s # } 2044s # 2044s # static gboolean 2044s # _g_variant_equal0 (GVariant *a, GVariant *b) 2044s # { 2044s # gboolean ret = FALSE; 2044s # if (a == NULL && b == NULL) 2044s # { 2044s # ret = TRUE; 2044s # goto out; 2044s # } 2044s # if (a == NULL || b == NULL) 2044s # goto out; 2044s # ret = g_variant_equal (a, b); 2044s # out: 2044s # return ret; 2044s # } 2044s # 2044s # G_GNUC_UNUSED static gboolean 2044s # _g_value_equal (const GValue *a, const GValue *b) 2044s # { 2044s # gboolean ret = FALSE; 2044s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b)); 2044s # switch (G_VALUE_TYPE (a)) 2044s # { 2044s # case G_TYPE_BOOLEAN: 2044s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b)); 2044s # break; 2044s # case G_TYPE_UCHAR: 2044s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b)); 2044s # break; 2044s # case G_TYPE_INT: 2044s # ret = (g_value_get_int (a) == g_value_get_int (b)); 2044s # break; 2044s # case G_TYPE_UINT: 2044s # ret = (g_value_get_uint (a) == g_value_get_uint (b)); 2044s # break; 2044s # case G_TYPE_INT64: 2044s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b)); 2044s # break; 2044s # case G_TYPE_UINT64: 2044s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b)); 2044s # break; 2044s # case G_TYPE_DOUBLE: 2044s # { 2044s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ 2044s # gdouble da = g_value_get_double (a); 2044s # gdouble db = g_value_get_double (b); 2044s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0; 2044s # } 2044s # break; 2044s # case G_TYPE_STRING: 2044s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0); 2044s # break; 2044s # case G_TYPE_VARIANT: 2044s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b)); 2044s # break; 2044s # default: 2044s # if (G_VALUE_TYPE (a) == G_TYPE_STRV) 2044s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b)); 2044s # else 2044s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a))); 2044s # break; 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static void 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint G_GNUC_UNUSED, 2044s # void *marshal_data) 2044s # { 2044s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc) 2044s # (void *data1, 2044s # GDBusMethodInvocation *arg_method_invocation, 2044s # void *data2); 2044s # _GDbusCodegenMarshalBoolean_ObjectFunc callback; 2044s # GCClosure *cc = (GCClosure*) closure; 2044s # void *data1, *data2; 2044s # gboolean v_return; 2044s # 2044s # g_return_if_fail (return_value != NULL); 2044s # g_return_if_fail (n_param_values == 2); 2044s # 2044s # if (G_CCLOSURE_SWAP_DATA (closure)) 2044s # { 2044s # data1 = closure->data; 2044s # data2 = g_value_peek_pointer (param_values + 0); 2044s # } 2044s # else 2044s # { 2044s # data1 = g_value_peek_pointer (param_values + 0); 2044s # data2 = closure->data; 2044s # } 2044s # 2044s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc) 2044s # (marshal_data ? marshal_data : cc->callback); 2044s # 2044s # v_return = 2044s # callback (data1, 2044s # g_marshal_value_peek_object (param_values + 1), 2044s # data2); 2044s # 2044s # g_value_set_boolean (return_value, v_return); 2044s # } 2044s # 2044s # /* ------------------------------------------------------------------------ 2044s # * Code for interface com.acme.Coyote 2044s # * ------------------------------------------------------------------------ 2044s # */ 2044s # 2044s # /** 2044s # * SECTION:ComAcmeCoyote 2044s # * @title: ComAcmeCoyote 2044s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface 2044s # * 2044s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C. 2044s # */ 2044s # 2044s # enum 2044s # { 2044s # _COM_ACME_COYOTE_SURPRISED, 2044s # }; 2044s # 2044s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 }; 2044s # 2044s # /* ---- Introspection data for com.acme.Coyote ---- */ 2044s # 2044s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Run", 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "handle-run", 2044s # FALSE 2044s # }; 2044s # 2044s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Sleep", 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "handle-sleep", 2044s # FALSE 2044s # }; 2044s # 2044s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Attack", 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "handle-attack", 2044s # FALSE 2044s # }; 2044s # 2044s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] = 2044s # { 2044s # &_com_acme_coyote_method_info_run.parent_struct, 2044s # &_com_acme_coyote_method_info_sleep.parent_struct, 2044s # &_com_acme_coyote_method_info_attack.parent_struct, 2044s # NULL 2044s # }; 2044s # 2044s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Surprised", 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "surprised" 2044s # }; 2044s # 2044s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] = 2044s # { 2044s # &_com_acme_coyote_signal_info_surprised.parent_struct, 2044s # NULL 2044s # }; 2044s # 2044s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "Mood", 2044s # (gchar *) "s", 2044s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE, 2044s # NULL 2044s # }, 2044s # "mood", 2044s # FALSE, 2044s # TRUE 2044s # }; 2044s # 2044s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] = 2044s # { 2044s # &_com_acme_coyote_property_info_mood.parent_struct, 2044s # NULL 2044s # }; 2044s # 2044s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "com.acme.Coyote", 2044s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers, 2044s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers, 2044s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers, 2044s # NULL 2044s # }, 2044s # "com-acme-coyote", 2044s # }; 2044s # 2044s # 2044s # /** 2044s # * com_acme_coyote_interface_info: 2044s # * 2044s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface. 2044s # * 2044s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2044s # */ 2044s # GDBusInterfaceInfo * 2044s # com_acme_coyote_interface_info (void) 2044s # { 2044s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_override_properties: 2044s # * @klass: The class structure for a #GObject derived class. 2044s # * @property_id_begin: The property id to assign to the first overridden property. 2044s # * 2044s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class. 2044s # * The properties are overridden in the order they are defined. 2044s # * 2044s # * Returns: The last property id. 2044s # */ 2044s # guint 2044s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin) 2044s # { 2044s # g_object_class_override_property (klass, property_id_begin++, "mood"); 2044s # return property_id_begin - 1; 2044s # } 2044s # 2044s # 2044s # inline static void 2044s # com_acme_coyote_signal_marshal_surprised ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # g_cclosure_marshal_VOID__VOID (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # inline static void 2044s # com_acme_coyote_method_marshal_run ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # inline static void 2044s # com_acme_coyote_method_marshal_sleep ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # inline static void 2044s # com_acme_coyote_method_marshal_attack ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # 2044s # /** 2044s # * ComAcmeCoyote: 2044s # * 2044s # * Abstract interface type for the D-Bus interface com.acme.Coyote. 2044s # */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteIface: 2044s # * @parent_iface: The parent interface. 2044s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal. 2044s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal. 2044s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal. 2044s # * @get_mood: Getter for the #ComAcmeCoyote:mood property. 2044s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal. 2044s # * 2044s # * Virtual table for the D-Bus interface com.acme.Coyote. 2044s # */ 2044s # 2044s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface; 2044s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT) 2044s # 2044s # static void 2044s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface) 2044s # { 2044s # /* GObject signals for incoming D-Bus method calls: */ 2044s # /** 2044s # * ComAcmeCoyote::handle-run: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: A #GDBusMethodInvocation. 2044s # * 2044s # * Signal emitted when a remote caller is invoking the Run() D-Bus method. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # g_signal_new ("handle-run", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run), 2044s # g_signal_accumulator_true_handled, 2044s # NULL, 2044s # com_acme_coyote_method_marshal_run, 2044s # G_TYPE_BOOLEAN, 2044s # 1, 2044s # G_TYPE_DBUS_METHOD_INVOCATION); 2044s # 2044s # /** 2044s # * ComAcmeCoyote::handle-sleep: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: A #GDBusMethodInvocation. 2044s # * 2044s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # g_signal_new ("handle-sleep", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep), 2044s # g_signal_accumulator_true_handled, 2044s # NULL, 2044s # com_acme_coyote_method_marshal_sleep, 2044s # G_TYPE_BOOLEAN, 2044s # 1, 2044s # G_TYPE_DBUS_METHOD_INVOCATION); 2044s # 2044s # /** 2044s # * ComAcmeCoyote::handle-attack: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: A #GDBusMethodInvocation. 2044s # * 2044s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # g_signal_new ("handle-attack", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack), 2044s # g_signal_accumulator_true_handled, 2044s # NULL, 2044s # com_acme_coyote_method_marshal_attack, 2044s # G_TYPE_BOOLEAN, 2044s # 1, 2044s # G_TYPE_DBUS_METHOD_INVOCATION); 2044s # 2044s # /* GObject signals for received D-Bus signals: */ 2044s # /** 2044s # * ComAcmeCoyote::surprised: 2044s # * @object: A #ComAcmeCoyote. 2044s # * 2044s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received. 2044s # * 2044s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal. 2044s # */ 2044s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] = 2044s # g_signal_new ("surprised", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised), 2044s # NULL, 2044s # NULL, 2044s # com_acme_coyote_signal_marshal_surprised, 2044s # G_TYPE_NONE, 2044s # 0); 2044s # 2044s # /* GObject properties for D-Bus properties: */ 2044s # /** 2044s # * ComAcmeCoyote:mood: 2044s # * 2044s # * Represents the D-Bus property "Mood". 2044s # * 2044s # * 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. 2044s # */ 2044s # g_object_interface_install_property (iface, 2044s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_get_mood: (skip) 2044s # * @object: A #ComAcmeCoyote. 2044s # * 2044s # * Gets the value of the "Mood" D-Bus property. 2044s # * 2044s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # const gchar * 2044s # com_acme_coyote_get_mood (ComAcmeCoyote *object) 2044s # { 2044s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL); 2044s # 2044s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_dup_mood: (skip) 2044s # * @object: A #ComAcmeCoyote. 2044s # * 2044s # * Gets a copy of the "Mood" D-Bus property. 2044s # * 2044s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side. 2044s # * 2044s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). 2044s # */ 2044s # gchar * 2044s # com_acme_coyote_dup_mood (ComAcmeCoyote *object) 2044s # { 2044s # gchar *value; 2044s # g_object_get (G_OBJECT (object), "mood", &value, NULL); 2044s # return value; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_set_mood: (skip) 2044s # * @object: A #ComAcmeCoyote. 2044s # * @value: The value to set. 2044s # * 2044s # * Sets the "Mood" D-Bus property to @value. 2044s # * 2044s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side. 2044s # */ 2044s # void 2044s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value) 2044s # { 2044s # g_object_set (G_OBJECT (object), "mood", value, NULL); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_emit_surprised: 2044s # * @object: A #ComAcmeCoyote. 2044s # * 2044s # * Emits the "Surprised" D-Bus signal. 2044s # */ 2044s # void 2044s # com_acme_coyote_emit_surprised ( 2044s # ComAcmeCoyote *object) 2044s # { 2044s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_run: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously invokes the Run() D-Bus method on @proxy. 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method. 2044s # */ 2044s # void 2044s # com_acme_coyote_call_run ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2044s # "Run", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # callback, 2044s # user_data); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_run_finish: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run(). 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_call_run(). 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_run_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_run_sync: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_call_run() for the asynchronous version of this method. 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_run_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2044s # "Run", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_sleep: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously invokes the Sleep() D-Bus method on @proxy. 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method. 2044s # */ 2044s # void 2044s # com_acme_coyote_call_sleep ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2044s # "Sleep", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # callback, 2044s # user_data); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_sleep_finish: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep(). 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_call_sleep(). 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_sleep_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_sleep_sync: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method. 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_sleep_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2044s # "Sleep", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_attack: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously invokes the Attack() D-Bus method on @proxy. 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method. 2044s # */ 2044s # void 2044s # com_acme_coyote_call_attack ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2044s # "Attack", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # callback, 2044s # user_data); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_attack_finish: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack(). 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_call_attack(). 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_attack_finish ( 2044s # ComAcmeCoyote *proxy, 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_call_attack_sync: 2044s # * @proxy: A #ComAcmeCoyoteProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_call_attack() for the asynchronous version of this method. 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # com_acme_coyote_call_attack_sync ( 2044s # ComAcmeCoyote *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2044s # "Attack", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_complete_run: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2044s # * 2044s # * 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. 2044s # * 2044s # * This method will free @invocation, you cannot use it afterwards. 2044s # */ 2044s # void 2044s # com_acme_coyote_complete_run ( 2044s # ComAcmeCoyote *object G_GNUC_UNUSED, 2044s # GDBusMethodInvocation *invocation) 2044s # { 2044s # g_dbus_method_invocation_return_value (invocation, 2044s # g_variant_new ("()")); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_complete_sleep: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2044s # * 2044s # * 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. 2044s # * 2044s # * This method will free @invocation, you cannot use it afterwards. 2044s # */ 2044s # void 2044s # com_acme_coyote_complete_sleep ( 2044s # ComAcmeCoyote *object G_GNUC_UNUSED, 2044s # GDBusMethodInvocation *invocation) 2044s # { 2044s # g_dbus_method_invocation_return_value (invocation, 2044s # g_variant_new ("()")); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_complete_attack: 2044s # * @object: A #ComAcmeCoyote. 2044s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2044s # * 2044s # * 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. 2044s # * 2044s # * This method will free @invocation, you cannot use it afterwards. 2044s # */ 2044s # void 2044s # com_acme_coyote_complete_attack ( 2044s # ComAcmeCoyote *object G_GNUC_UNUSED, 2044s # GDBusMethodInvocation *invocation) 2044s # { 2044s # g_dbus_method_invocation_return_value (invocation, 2044s # g_variant_new ("()")); 2044s # } 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteProxy: 2044s # * 2044s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API. 2044s # */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteProxyClass: 2044s # * @parent_class: The parent class. 2044s # * 2044s # * Class structure for #ComAcmeCoyoteProxy. 2044s # */ 2044s # 2044s # struct _ComAcmeCoyoteProxyPrivate 2044s # { 2044s # GData *qdata; 2044s # }; 2044s # 2044s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface); 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 2044s # G_ADD_PRIVATE (ComAcmeCoyoteProxy) 2044s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 2044s # 2044s # #else 2044s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY, 2044s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init)) 2044s # 2044s # #endif 2044s # static void 2044s # com_acme_coyote_proxy_finalize (GObject *object) 2044s # { 2044s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 2044s # g_datalist_clear (&proxy->priv->qdata); 2044s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_get_property (GObject *object, 2044s # guint prop_id, 2044s # GValue *value, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info; 2044s # GVariant *variant; 2044s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2044s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 2044s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); 2044s # if (info->use_gvariant) 2044s # { 2044s # g_value_set_variant (value, variant); 2044s # } 2044s # else 2044s # { 2044s # if (variant != NULL) 2044s # g_dbus_gvariant_to_gvalue (variant, value); 2044s # } 2044s # if (variant != NULL) 2044s # g_variant_unref (variant); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy, 2044s # GAsyncResult *res, 2044s # gpointer user_data) 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info = user_data; 2044s # GError *error; 2044s # GVariant *_ret; 2044s # error = NULL; 2044s # _ret = g_dbus_proxy_call_finish (proxy, res, &error); 2044s # if (!_ret) 2044s # { 2044s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)", 2044s # info->parent_struct.name, 2044s # error->message, g_quark_to_string (error->domain), error->code); 2044s # g_error_free (error); 2044s # } 2044s # else 2044s # { 2044s # g_variant_unref (_ret); 2044s # } 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_set_property (GObject *object, 2044s # guint prop_id, 2044s # const GValue *value, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info; 2044s # GVariant *variant; 2044s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2044s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 2044s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); 2044s # g_dbus_proxy_call (G_DBUS_PROXY (object), 2044s # "org.freedesktop.DBus.Properties.Set", 2044s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); 2044s # g_variant_unref (variant); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy, 2044s # const gchar *sender_name G_GNUC_UNUSED, 2044s # const gchar *signal_name, 2044s # GVariant *parameters) 2044s # { 2044s # _ExtendedGDBusSignalInfo *info; 2044s # GVariantIter iter; 2044s # GVariant *child; 2044s # GValue *paramv; 2044s # gsize num_params; 2044s # gsize n; 2044s # guint signal_id; 2044s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name); 2044s # if (info == NULL) 2044s # return; 2044s # num_params = g_variant_n_children (parameters); 2044s # paramv = g_new0 (GValue, num_params + 1); 2044s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE); 2044s # g_value_set_object (¶mv[0], proxy); 2044s # g_variant_iter_init (&iter, parameters); 2044s # n = 1; 2044s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2044s # { 2044s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2044s # if (arg_info->use_gvariant) 2044s # { 2044s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2044s # g_value_set_variant (¶mv[n], child); 2044s # n++; 2044s # } 2044s # else 2044s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2044s # g_variant_unref (child); 2044s # } 2044s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 2044s # g_signal_emitv (paramv, signal_id, 0, NULL); 2044s # for (n = 0; n < num_params + 1; n++) 2044s # g_value_unset (¶mv[n]); 2044s # g_free (paramv); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy, 2044s # GVariant *changed_properties, 2044s # const gchar *const *invalidated_properties) 2044s # { 2044s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy); 2044s # guint n; 2044s # const gchar *key; 2044s # GVariantIter *iter; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # g_variant_get (changed_properties, "a{sv}", &iter); 2044s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2044s # { 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key); 2044s # g_datalist_remove_data (&proxy->priv->qdata, key); 2044s # if (info != NULL) 2044s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2044s # } 2044s # g_variant_iter_free (iter); 2044s # for (n = 0; invalidated_properties[n] != NULL; n++) 2044s # { 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]); 2044s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2044s # if (info != NULL) 2044s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2044s # } 2044s # } 2044s # 2044s # static const gchar * 2044s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object) 2044s # { 2044s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object); 2044s # GVariant *variant; 2044s # const gchar *value = NULL; 2044s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood"); 2044s # if (variant != NULL) 2044s # { 2044s # value = g_variant_get_string (variant, NULL); 2044s # g_variant_unref (variant); 2044s # } 2044s # return value; 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy) 2044s # { 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy); 2044s # #else 2044s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate); 2044s # #endif 2044s # 2044s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ()); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass) 2044s # { 2044s # GObjectClass *gobject_class; 2044s # GDBusProxyClass *proxy_class; 2044s # 2044s # gobject_class = G_OBJECT_CLASS (klass); 2044s # gobject_class->finalize = com_acme_coyote_proxy_finalize; 2044s # gobject_class->get_property = com_acme_coyote_proxy_get_property; 2044s # gobject_class->set_property = com_acme_coyote_proxy_set_property; 2044s # 2044s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2044s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal; 2044s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed; 2044s # 2044s # com_acme_coyote_override_properties (gobject_class, 1); 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2044s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate)); 2044s # #endif 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface) 2044s # { 2044s # iface->get_mood = com_acme_coyote_proxy_get_mood; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new: 2044s # * @connection: A #GDBusConnection. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details. 2044s # * 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor. 2044s # */ 2044s # void 2044s # com_acme_coyote_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # 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); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_finish: 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new(). 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_proxy_new(). 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GObject *ret; 2044s # GObject *source_object; 2044s # source_object = g_async_result_get_source_object (res); 2044s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2044s # g_object_unref (source_object); 2044s # if (ret != NULL) 2044s # return COM_ACME_COYOTE (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_sync: 2044s # * @connection: A #GDBusConnection. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details. 2044s # * 2044s # * The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor. 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GInitable *ret; 2044s # 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); 2044s # if (ret != NULL) 2044s # return COM_ACME_COYOTE (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_for_bus: 2044s # * @bus_type: A #GBusType. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: A bus name (well-known or unique). 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2044s # * 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation. 2044s # * 2044s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2044s # */ 2044s # void 2044s # com_acme_coyote_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # 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); 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_for_bus_finish: 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus(). 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus(). 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GObject *ret; 2044s # GObject *source_object; 2044s # source_object = g_async_result_get_source_object (res); 2044s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2044s # g_object_unref (source_object); 2044s # if (ret != NULL) 2044s # return COM_ACME_COYOTE (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_proxy_new_for_bus_sync: 2044s # * @bus_type: A #GBusType. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: A bus name (well-known or unique). 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2044s # * 2044s # * The calling thread is blocked until a reply is received. 2044s # * 2044s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor. 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GInitable *ret; 2044s # 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); 2044s # if (ret != NULL) 2044s # return COM_ACME_COYOTE (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteSkeleton: 2044s # * 2044s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API. 2044s # */ 2044s # 2044s # /** 2044s # * ComAcmeCoyoteSkeletonClass: 2044s # * @parent_class: The parent class. 2044s # * 2044s # * Class structure for #ComAcmeCoyoteSkeleton. 2044s # */ 2044s # 2044s # struct _ComAcmeCoyoteSkeletonPrivate 2044s # { 2044s # GValue *properties; 2044s # GList *changed_properties; 2044s # GSource *changed_properties_idle_source; 2044s # GMainContext *context; 2044s # GMutex lock; 2044s # }; 2044s # 2044s # static void 2044s # _com_acme_coyote_skeleton_handle_method_call ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name, 2044s # const gchar *method_name, 2044s # GVariant *parameters, 2044s # GDBusMethodInvocation *invocation, 2044s # gpointer user_data) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 2044s # _ExtendedGDBusMethodInfo *info; 2044s # GVariantIter iter; 2044s # GVariant *child; 2044s # GValue *paramv; 2044s # gsize num_params; 2044s # guint num_extra; 2044s # gsize n; 2044s # guint signal_id; 2044s # GValue return_value = G_VALUE_INIT; 2044s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2044s # g_assert (info != NULL); 2044s # num_params = g_variant_n_children (parameters); 2044s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2044s # n = 0; 2044s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE); 2044s # g_value_set_object (¶mv[n++], skeleton); 2044s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2044s # g_value_set_object (¶mv[n++], invocation); 2044s # if (info->pass_fdlist) 2044s # { 2044s # #ifdef G_OS_UNIX 2044s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2044s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2044s # #else 2044s # g_assert_not_reached (); 2044s # #endif 2044s # } 2044s # g_variant_iter_init (&iter, parameters); 2044s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2044s # { 2044s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2044s # if (arg_info->use_gvariant) 2044s # { 2044s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2044s # g_value_set_variant (¶mv[n], child); 2044s # n++; 2044s # } 2044s # else 2044s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2044s # g_variant_unref (child); 2044s # } 2044s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE); 2044s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2044s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2044s # if (!g_value_get_boolean (&return_value)) 2044s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2044s # g_value_unset (&return_value); 2044s # for (n = 0; n < num_params + num_extra; n++) 2044s # g_value_unset (¶mv[n]); 2044s # g_free (paramv); 2044s # } 2044s # 2044s # static GVariant * 2044s # _com_acme_coyote_skeleton_handle_get_property ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name G_GNUC_UNUSED, 2044s # const gchar *property_name, 2044s # GError **error, 2044s # gpointer user_data) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 2044s # GValue value = G_VALUE_INIT; 2044s # GParamSpec *pspec; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # GVariant *ret; 2044s # ret = NULL; 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 2044s # g_assert (info != NULL); 2044s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2044s # if (pspec == NULL) 2044s # { 2044s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2044s # } 2044s # else 2044s # { 2044s # g_value_init (&value, pspec->value_type); 2044s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2044s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2044s # g_value_unset (&value); 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static gboolean 2044s # _com_acme_coyote_skeleton_handle_set_property ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name G_GNUC_UNUSED, 2044s # const gchar *property_name, 2044s # GVariant *variant, 2044s # GError **error, 2044s # gpointer user_data) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 2044s # GValue value = G_VALUE_INIT; 2044s # GParamSpec *pspec; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # gboolean ret; 2044s # ret = FALSE; 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name); 2044s # g_assert (info != NULL); 2044s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2044s # if (pspec == NULL) 2044s # { 2044s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2044s # } 2044s # else 2044s # { 2044s # if (info->use_gvariant) 2044s # g_value_set_variant (&value, variant); 2044s # else 2044s # g_dbus_gvariant_to_gvalue (variant, &value); 2044s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2044s # g_value_unset (&value); 2044s # ret = TRUE; 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable = 2044s # { 2044s # _com_acme_coyote_skeleton_handle_method_call, 2044s # _com_acme_coyote_skeleton_handle_get_property, 2044s # _com_acme_coyote_skeleton_handle_set_property, 2044s # {NULL} 2044s # }; 2044s # 2044s # static GDBusInterfaceInfo * 2044s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2044s # { 2044s # return com_acme_coyote_interface_info (); 2044s # } 2044s # 2044s # static GDBusInterfaceVTable * 2044s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2044s # { 2044s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable; 2044s # } 2044s # 2044s # static GVariant * 2044s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 2044s # 2044s # GVariantBuilder builder; 2044s # guint n; 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2044s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # #else 2044s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # #endif 2044s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL) 2044s # goto out; 2044s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++) 2044s # { 2044s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n]; 2044s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2044s # { 2044s # GVariant *value; 2044s # 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); 2044s # if (value != NULL) 2044s # { 2044s # g_variant_take_ref (value); 2044s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2044s # g_variant_unref (value); 2044s # } 2044s # } 2044s # } 2044s # out: 2044s # return g_variant_builder_end (&builder); 2044s # } 2044s # 2044s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data); 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton); 2044s # gboolean emit_changed = FALSE; 2044s # 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # if (skeleton->priv->changed_properties_idle_source != NULL) 2044s # { 2044s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2044s # skeleton->priv->changed_properties_idle_source = NULL; 2044s # emit_changed = TRUE; 2044s # } 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # 2044s # if (emit_changed) 2044s # _com_acme_coyote_emit_changed (skeleton); 2044s # } 2044s # 2044s # static void 2044s # _com_acme_coyote_on_signal_surprised ( 2044s # ComAcmeCoyote *object) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # 2044s # GList *connections, *l; 2044s # GVariant *signal_variant; 2044s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2044s # 2044s # signal_variant = g_variant_ref_sink (g_variant_new ("()")); 2044s # for (l = connections; l != NULL; l = l->next) 2044s # { 2044s # GDBusConnection *connection = l->data; 2044s # g_dbus_connection_emit_signal (connection, 2044s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised", 2044s # signal_variant, NULL); 2044s # } 2044s # g_variant_unref (signal_variant); 2044s # g_list_free_full (connections, g_object_unref); 2044s # } 2044s # 2044s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface); 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2044s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton) 2044s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 2044s # 2044s # #else 2044s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2044s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init)) 2044s # 2044s # #endif 2044s # static void 2044s # com_acme_coyote_skeleton_finalize (GObject *object) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # guint n; 2044s # for (n = 0; n < 1; n++) 2044s # g_value_unset (&skeleton->priv->properties[n]); 2044s # g_free (skeleton->priv->properties); 2044s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2044s # if (skeleton->priv->changed_properties_idle_source != NULL) 2044s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2044s # g_main_context_unref (skeleton->priv->context); 2044s # g_mutex_clear (&skeleton->priv->lock); 2044s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_get_property (GObject *object, 2044s # guint prop_id, 2044s # GValue *value, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value); 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # } 2044s # 2044s # static gboolean 2044s # _com_acme_coyote_emit_changed (gpointer user_data) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data); 2044s # GList *l; 2044s # GVariantBuilder builder; 2044s # GVariantBuilder invalidated_builder; 2044s # guint num_changes; 2044s # 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2044s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as")); 2044s # #else 2044s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); 2044s # #endif 2044s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) 2044s # { 2044s # ChangedProperty *cp = l->data; 2044s # GVariant *variant; 2044s # const GValue *cur_value; 2044s # 2044s # cur_value = &skeleton->priv->properties[cp->prop_id - 1]; 2044s # if (!_g_value_equal (cur_value, &cp->orig_value)) 2044s # { 2044s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); 2044s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); 2044s # g_variant_unref (variant); 2044s # num_changes++; 2044s # } 2044s # } 2044s # if (num_changes > 0) 2044s # { 2044s # GList *connections, *ll; 2044s # GVariant *signal_variant; 2044s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote", 2044s # &builder, &invalidated_builder)); 2044s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); 2044s # for (ll = connections; ll != NULL; ll = ll->next) 2044s # { 2044s # GDBusConnection *connection = ll->data; 2044s # 2044s # g_dbus_connection_emit_signal (connection, 2044s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), 2044s # "org.freedesktop.DBus.Properties", 2044s # "PropertiesChanged", 2044s # signal_variant, 2044s # NULL); 2044s # } 2044s # g_variant_unref (signal_variant); 2044s # g_list_free_full (connections, g_object_unref); 2044s # } 2044s # else 2044s # { 2044s # g_variant_builder_clear (&builder); 2044s # g_variant_builder_clear (&invalidated_builder); 2044s # } 2044s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2044s # skeleton->priv->changed_properties = NULL; 2044s # skeleton->priv->changed_properties_idle_source = NULL; 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # return FALSE; 2044s # } 2044s # 2044s # static void 2044s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) 2044s # { 2044s # ChangedProperty *cp; 2044s # GList *l; 2044s # cp = NULL; 2044s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) 2044s # { 2044s # ChangedProperty *i_cp = l->data; 2044s # if (i_cp->info == info) 2044s # { 2044s # cp = i_cp; 2044s # break; 2044s # } 2044s # } 2044s # if (cp == NULL) 2044s # { 2044s # cp = g_new0 (ChangedProperty, 1); 2044s # cp->prop_id = prop_id; 2044s # cp->info = info; 2044s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); 2044s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); 2044s # g_value_copy (orig_value, &cp->orig_value); 2044s # } 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_notify (GObject *object, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # if (skeleton->priv->changed_properties != NULL && 2044s # skeleton->priv->changed_properties_idle_source == NULL) 2044s # { 2044s # skeleton->priv->changed_properties_idle_source = g_idle_source_new (); 2044s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); 2044s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); 2044s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed"); 2044s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); 2044s # g_source_unref (skeleton->priv->changed_properties_idle_source); 2044s # } 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_set_property (GObject *object, 2044s # guint prop_id, 2044s # const GValue *value, 2044s # GParamSpec *pspec) 2044s # { 2044s # const _ExtendedGDBusPropertyInfo *info; 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # g_assert (prop_id != 0 && prop_id - 1 < 1); 2044s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1]; 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # g_object_freeze_notify (object); 2044s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) 2044s # { 2044s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && 2044s # info->emits_changed_signal) 2044s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); 2044s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); 2044s # g_object_notify_by_pspec (object, pspec); 2044s # } 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # g_object_thaw_notify (object); 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton) 2044s # { 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton); 2044s # #else 2044s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate); 2044s # #endif 2044s # 2044s # g_mutex_init (&skeleton->priv->lock); 2044s # skeleton->priv->context = g_main_context_ref_thread_default (); 2044s # skeleton->priv->properties = g_new0 (GValue, 1); 2044s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); 2044s # } 2044s # 2044s # static const gchar * 2044s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object) 2044s # { 2044s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object); 2044s # const gchar *value; 2044s # g_mutex_lock (&skeleton->priv->lock); 2044s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0])); 2044s # g_mutex_unlock (&skeleton->priv->lock); 2044s # return value; 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass) 2044s # { 2044s # GObjectClass *gobject_class; 2044s # GDBusInterfaceSkeletonClass *skeleton_class; 2044s # 2044s # gobject_class = G_OBJECT_CLASS (klass); 2044s # gobject_class->finalize = com_acme_coyote_skeleton_finalize; 2044s # gobject_class->get_property = com_acme_coyote_skeleton_get_property; 2044s # gobject_class->set_property = com_acme_coyote_skeleton_set_property; 2044s # gobject_class->notify = com_acme_coyote_skeleton_notify; 2044s # 2044s # 2044s # com_acme_coyote_override_properties (gobject_class, 1); 2044s # 2044s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2044s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info; 2044s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties; 2044s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush; 2044s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable; 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2044s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate)); 2044s # #endif 2044s # } 2044s # 2044s # static void 2044s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface) 2044s # { 2044s # iface->surprised = _com_acme_coyote_on_signal_surprised; 2044s # iface->get_mood = com_acme_coyote_skeleton_get_mood; 2044s # } 2044s # 2044s # /** 2044s # * com_acme_coyote_skeleton_new: 2044s # * 2044s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote. 2044s # * 2044s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object. 2044s # */ 2044s # ComAcmeCoyote * 2044s # com_acme_coyote_skeleton_new (void) 2044s # { 2044s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL)); 2044s # } 2044s # 2044s # /* ------------------------------------------------------------------------ 2044s # * Code for interface org.project.Bar.Frobnicator 2044s # * ------------------------------------------------------------------------ 2044s # */ 2044s # 2044s # /** 2044s # * SECTION:OrgProjectBarFrobnicator 2044s # * @title: OrgProjectBarFrobnicator 2044s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface 2044s # * 2044s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C. 2044s # */ 2044s # 2044s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */ 2044s # 2044s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "RandomMethod", 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "handle-random-method", 2044s # FALSE 2044s # }; 2044s # 2044s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] = 2044s # { 2044s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct, 2044s # NULL 2044s # }; 2044s # 2044s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info = 2044s # { 2044s # { 2044s # -1, 2044s # (gchar *) "org.project.Bar.Frobnicator", 2044s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers, 2044s # NULL, 2044s # NULL, 2044s # NULL 2044s # }, 2044s # "org-project-bar-frobnicator", 2044s # }; 2044s # 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_interface_info: 2044s # * 2044s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface. 2044s # * 2044s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. 2044s # */ 2044s # GDBusInterfaceInfo * 2044s # org_project_bar_frobnicator_interface_info (void) 2044s # { 2044s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_override_properties: 2044s # * @klass: The class structure for a #GObject derived class. 2044s # * @property_id_begin: The property id to assign to the first overridden property. 2044s # * 2044s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class. 2044s # * The properties are overridden in the order they are defined. 2044s # * 2044s # * Returns: The last property id. 2044s # */ 2044s # guint 2044s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin) 2044s # { 2044s # return property_id_begin - 1; 2044s # } 2044s # 2044s # 2044s # inline static void 2044s # org_project_bar_frobnicator_method_marshal_random_method ( 2044s # GClosure *closure, 2044s # GValue *return_value, 2044s # unsigned int n_param_values, 2044s # const GValue *param_values, 2044s # void *invocation_hint, 2044s # void *marshal_data) 2044s # { 2044s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure, 2044s # return_value, n_param_values, param_values, invocation_hint, marshal_data); 2044s # } 2044s # 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicator: 2044s # * 2044s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator. 2044s # */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorIface: 2044s # * @parent_iface: The parent interface. 2044s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal. 2044s # * 2044s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator. 2044s # */ 2044s # 2044s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface; 2044s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT) 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface) 2044s # { 2044s # /* GObject signals for incoming D-Bus method calls: */ 2044s # /** 2044s # * OrgProjectBarFrobnicator::handle-random-method: 2044s # * @object: A #OrgProjectBarFrobnicator. 2044s # * @invocation: A #GDBusMethodInvocation. 2044s # * 2044s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method. 2044s # * 2044s # * 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. 2044s # * 2044s # * 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. 2044s # */ 2044s # g_signal_new ("handle-random-method", 2044s # G_TYPE_FROM_INTERFACE (iface), 2044s # G_SIGNAL_RUN_LAST, 2044s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method), 2044s # g_signal_accumulator_true_handled, 2044s # NULL, 2044s # org_project_bar_frobnicator_method_marshal_random_method, 2044s # G_TYPE_BOOLEAN, 2044s # 1, 2044s # G_TYPE_DBUS_METHOD_INVOCATION); 2044s # 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_call_random_method: 2044s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy. 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation. 2044s # * 2044s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method. 2044s # */ 2044s # void 2044s # org_project_bar_frobnicator_call_random_method ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # g_dbus_proxy_call (G_DBUS_PROXY (proxy), 2044s # "RandomMethod", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # callback, 2044s # user_data); 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_call_random_method_finish: 2044s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method(). 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method(). 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # org_project_bar_frobnicator_call_random_method_finish ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_call_random_method_sync: 2044s # * @proxy: A #OrgProjectBarFrobnicatorProxy. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL. 2044s # * 2044s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received. 2044s # * 2044s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method. 2044s # * 2044s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. 2044s # */ 2044s # gboolean 2044s # org_project_bar_frobnicator_call_random_method_sync ( 2044s # OrgProjectBarFrobnicator *proxy, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GVariant *_ret; 2044s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), 2044s # "RandomMethod", 2044s # g_variant_new ("()"), 2044s # G_DBUS_CALL_FLAGS_NONE, 2044s # -1, 2044s # cancellable, 2044s # error); 2044s # if (_ret == NULL) 2044s # goto _out; 2044s # g_variant_get (_ret, 2044s # "()"); 2044s # g_variant_unref (_ret); 2044s # _out: 2044s # return _ret != NULL; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_complete_random_method: 2044s # * @object: A #OrgProjectBarFrobnicator. 2044s # * @invocation: (transfer full): A #GDBusMethodInvocation. 2044s # * 2044s # * 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. 2044s # * 2044s # * This method will free @invocation, you cannot use it afterwards. 2044s # */ 2044s # void 2044s # org_project_bar_frobnicator_complete_random_method ( 2044s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED, 2044s # GDBusMethodInvocation *invocation) 2044s # { 2044s # g_dbus_method_invocation_return_value (invocation, 2044s # g_variant_new ("()")); 2044s # } 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorProxy: 2044s # * 2044s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API. 2044s # */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorProxyClass: 2044s # * @parent_class: The parent class. 2044s # * 2044s # * Class structure for #OrgProjectBarFrobnicatorProxy. 2044s # */ 2044s # 2044s # struct _OrgProjectBarFrobnicatorProxyPrivate 2044s # { 2044s # GData *qdata; 2044s # }; 2044s # 2044s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface); 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 2044s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy) 2044s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 2044s # 2044s # #else 2044s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY, 2044s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init)) 2044s # 2044s # #endif 2044s # static void 2044s # org_project_bar_frobnicator_proxy_finalize (GObject *object) 2044s # { 2044s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object); 2044s # g_datalist_clear (&proxy->priv->qdata); 2044s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED, 2044s # guint prop_id G_GNUC_UNUSED, 2044s # GValue *value G_GNUC_UNUSED, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED, 2044s # guint prop_id G_GNUC_UNUSED, 2044s # const GValue *value G_GNUC_UNUSED, 2044s # GParamSpec *pspec G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy, 2044s # const gchar *sender_name G_GNUC_UNUSED, 2044s # const gchar *signal_name, 2044s # GVariant *parameters) 2044s # { 2044s # _ExtendedGDBusSignalInfo *info; 2044s # GVariantIter iter; 2044s # GVariant *child; 2044s # GValue *paramv; 2044s # gsize num_params; 2044s # gsize n; 2044s # guint signal_id; 2044s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name); 2044s # if (info == NULL) 2044s # return; 2044s # num_params = g_variant_n_children (parameters); 2044s # paramv = g_new0 (GValue, num_params + 1); 2044s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 2044s # g_value_set_object (¶mv[0], proxy); 2044s # g_variant_iter_init (&iter, parameters); 2044s # n = 1; 2044s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2044s # { 2044s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; 2044s # if (arg_info->use_gvariant) 2044s # { 2044s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2044s # g_value_set_variant (¶mv[n], child); 2044s # n++; 2044s # } 2044s # else 2044s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2044s # g_variant_unref (child); 2044s # } 2044s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 2044s # g_signal_emitv (paramv, signal_id, 0, NULL); 2044s # for (n = 0; n < num_params + 1; n++) 2044s # g_value_unset (¶mv[n]); 2044s # g_free (paramv); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy, 2044s # GVariant *changed_properties, 2044s # const gchar *const *invalidated_properties) 2044s # { 2044s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy); 2044s # guint n; 2044s # const gchar *key; 2044s # GVariantIter *iter; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # g_variant_get (changed_properties, "a{sv}", &iter); 2044s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) 2044s # { 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key); 2044s # g_datalist_remove_data (&proxy->priv->qdata, key); 2044s # if (info != NULL) 2044s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2044s # } 2044s # g_variant_iter_free (iter); 2044s # for (n = 0; invalidated_properties[n] != NULL; n++) 2044s # { 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]); 2044s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); 2044s # if (info != NULL) 2044s # g_object_notify (G_OBJECT (proxy), info->hyphen_name); 2044s # } 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy) 2044s # { 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy); 2044s # #else 2044s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate); 2044s # #endif 2044s # 2044s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ()); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass) 2044s # { 2044s # GObjectClass *gobject_class; 2044s # GDBusProxyClass *proxy_class; 2044s # 2044s # gobject_class = G_OBJECT_CLASS (klass); 2044s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize; 2044s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property; 2044s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property; 2044s # 2044s # proxy_class = G_DBUS_PROXY_CLASS (klass); 2044s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal; 2044s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed; 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2044s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate)); 2044s # #endif 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new: 2044s # * @connection: A #GDBusConnection. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details. 2044s # * 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation. 2044s # * 2044s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor. 2044s # */ 2044s # void 2044s # org_project_bar_frobnicator_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # 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); 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_finish: 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new(). 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new(). 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GObject *ret; 2044s # GObject *source_object; 2044s # source_object = g_async_result_get_source_object (res); 2044s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2044s # g_object_unref (source_object); 2044s # if (ret != NULL) 2044s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_sync: 2044s # * @connection: A #GDBusConnection. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details. 2044s # * 2044s # * The calling thread is blocked until a reply is received. 2044s # * 2044s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor. 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GInitable *ret; 2044s # 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); 2044s # if (ret != NULL) 2044s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_for_bus: 2044s # * @bus_type: A #GBusType. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: A bus name (well-known or unique). 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied. 2044s # * @user_data: User data to pass to @callback. 2044s # * 2044s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection. 2044s # * 2044s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). 2044s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation. 2044s # * 2044s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. 2044s # */ 2044s # void 2044s # org_project_bar_frobnicator_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data) 2044s # { 2044s # 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); 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_for_bus_finish: 2044s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus(). 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus(). 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error) 2044s # { 2044s # GObject *ret; 2044s # GObject *source_object; 2044s # source_object = g_async_result_get_source_object (res); 2044s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); 2044s # g_object_unref (source_object); 2044s # if (ret != NULL) 2044s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_proxy_new_for_bus_sync: 2044s # * @bus_type: A #GBusType. 2044s # * @flags: Flags from the #GDBusProxyFlags enumeration. 2044s # * @name: A bus name (well-known or unique). 2044s # * @object_path: An object path. 2044s # * @cancellable: (nullable): A #GCancellable or %NULL. 2044s # * @error: Return location for error or %NULL 2044s # * 2044s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. 2044s # * 2044s # * The calling thread is blocked until a reply is received. 2044s # * 2044s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor. 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error) 2044s # { 2044s # GInitable *ret; 2044s # 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); 2044s # if (ret != NULL) 2044s # return ORG_PROJECT_BAR_FROBNICATOR (ret); 2044s # else 2044s # return NULL; 2044s # } 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorSkeleton: 2044s # * 2044s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API. 2044s # */ 2044s # 2044s # /** 2044s # * OrgProjectBarFrobnicatorSkeletonClass: 2044s # * @parent_class: The parent class. 2044s # * 2044s # * Class structure for #OrgProjectBarFrobnicatorSkeleton. 2044s # */ 2044s # 2044s # struct _OrgProjectBarFrobnicatorSkeletonPrivate 2044s # { 2044s # GValue *properties; 2044s # GList *changed_properties; 2044s # GSource *changed_properties_idle_source; 2044s # GMainContext *context; 2044s # GMutex lock; 2044s # }; 2044s # 2044s # static void 2044s # _org_project_bar_frobnicator_skeleton_handle_method_call ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name, 2044s # const gchar *method_name, 2044s # GVariant *parameters, 2044s # GDBusMethodInvocation *invocation, 2044s # gpointer user_data) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 2044s # _ExtendedGDBusMethodInfo *info; 2044s # GVariantIter iter; 2044s # GVariant *child; 2044s # GValue *paramv; 2044s # gsize num_params; 2044s # guint num_extra; 2044s # gsize n; 2044s # guint signal_id; 2044s # GValue return_value = G_VALUE_INIT; 2044s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); 2044s # g_assert (info != NULL); 2044s # num_params = g_variant_n_children (parameters); 2044s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); 2044s # n = 0; 2044s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR); 2044s # g_value_set_object (¶mv[n++], skeleton); 2044s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); 2044s # g_value_set_object (¶mv[n++], invocation); 2044s # if (info->pass_fdlist) 2044s # { 2044s # #ifdef G_OS_UNIX 2044s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); 2044s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); 2044s # #else 2044s # g_assert_not_reached (); 2044s # #endif 2044s # } 2044s # g_variant_iter_init (&iter, parameters); 2044s # while ((child = g_variant_iter_next_value (&iter)) != NULL) 2044s # { 2044s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; 2044s # if (arg_info->use_gvariant) 2044s # { 2044s # g_value_init (¶mv[n], G_TYPE_VARIANT); 2044s # g_value_set_variant (¶mv[n], child); 2044s # n++; 2044s # } 2044s # else 2044s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); 2044s # g_variant_unref (child); 2044s # } 2044s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR); 2044s # g_value_init (&return_value, G_TYPE_BOOLEAN); 2044s # g_signal_emitv (paramv, signal_id, 0, &return_value); 2044s # if (!g_value_get_boolean (&return_value)) 2044s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); 2044s # g_value_unset (&return_value); 2044s # for (n = 0; n < num_params + num_extra; n++) 2044s # g_value_unset (¶mv[n]); 2044s # g_free (paramv); 2044s # } 2044s # 2044s # static GVariant * 2044s # _org_project_bar_frobnicator_skeleton_handle_get_property ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name G_GNUC_UNUSED, 2044s # const gchar *property_name, 2044s # GError **error, 2044s # gpointer user_data) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 2044s # GValue value = G_VALUE_INIT; 2044s # GParamSpec *pspec; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # GVariant *ret; 2044s # ret = NULL; 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 2044s # g_assert (info != NULL); 2044s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2044s # if (pspec == NULL) 2044s # { 2044s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2044s # } 2044s # else 2044s # { 2044s # g_value_init (&value, pspec->value_type); 2044s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2044s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); 2044s # g_value_unset (&value); 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static gboolean 2044s # _org_project_bar_frobnicator_skeleton_handle_set_property ( 2044s # GDBusConnection *connection G_GNUC_UNUSED, 2044s # const gchar *sender G_GNUC_UNUSED, 2044s # const gchar *object_path G_GNUC_UNUSED, 2044s # const gchar *interface_name G_GNUC_UNUSED, 2044s # const gchar *property_name, 2044s # GVariant *variant, 2044s # GError **error, 2044s # gpointer user_data) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data); 2044s # GValue value = G_VALUE_INIT; 2044s # GParamSpec *pspec; 2044s # _ExtendedGDBusPropertyInfo *info; 2044s # gboolean ret; 2044s # ret = FALSE; 2044s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name); 2044s # g_assert (info != NULL); 2044s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); 2044s # if (pspec == NULL) 2044s # { 2044s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); 2044s # } 2044s # else 2044s # { 2044s # if (info->use_gvariant) 2044s # g_value_set_variant (&value, variant); 2044s # else 2044s # g_dbus_gvariant_to_gvalue (variant, &value); 2044s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); 2044s # g_value_unset (&value); 2044s # ret = TRUE; 2044s # } 2044s # return ret; 2044s # } 2044s # 2044s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable = 2044s # { 2044s # _org_project_bar_frobnicator_skeleton_handle_method_call, 2044s # _org_project_bar_frobnicator_skeleton_handle_get_property, 2044s # _org_project_bar_frobnicator_skeleton_handle_set_property, 2044s # {NULL} 2044s # }; 2044s # 2044s # static GDBusInterfaceInfo * 2044s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2044s # { 2044s # return org_project_bar_frobnicator_interface_info (); 2044s # } 2044s # 2044s # static GDBusInterfaceVTable * 2044s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) 2044s # { 2044s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable; 2044s # } 2044s # 2044s # static GVariant * 2044s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton); 2044s # 2044s # GVariantBuilder builder; 2044s # guint n; 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84 2044s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # #else 2044s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}")); 2044s # #endif 2044s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL) 2044s # goto out; 2044s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++) 2044s # { 2044s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n]; 2044s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) 2044s # { 2044s # GVariant *value; 2044s # 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); 2044s # if (value != NULL) 2044s # { 2044s # g_variant_take_ref (value); 2044s # g_variant_builder_add (&builder, "{sv}", info->name, value); 2044s # g_variant_unref (value); 2044s # } 2044s # } 2044s # } 2044s # out: 2044s # return g_variant_builder_end (&builder); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface); 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2044s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton) 2044s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 2044s # 2044s # #else 2044s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, 2044s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init)) 2044s # 2044s # #endif 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_finalize (GObject *object) 2044s # { 2044s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object); 2044s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); 2044s # if (skeleton->priv->changed_properties_idle_source != NULL) 2044s # g_source_destroy (skeleton->priv->changed_properties_idle_source); 2044s # g_main_context_unref (skeleton->priv->context); 2044s # g_mutex_clear (&skeleton->priv->lock); 2044s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton) 2044s # { 2044s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 2044s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton); 2044s # #else 2044s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate); 2044s # #endif 2044s # 2044s # g_mutex_init (&skeleton->priv->lock); 2044s # skeleton->priv->context = g_main_context_ref_thread_default (); 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass) 2044s # { 2044s # GObjectClass *gobject_class; 2044s # GDBusInterfaceSkeletonClass *skeleton_class; 2044s # 2044s # gobject_class = G_OBJECT_CLASS (klass); 2044s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize; 2044s # 2044s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); 2044s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info; 2044s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties; 2044s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush; 2044s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable; 2044s # 2044s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 2044s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate)); 2044s # #endif 2044s # } 2044s # 2044s # static void 2044s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED) 2044s # { 2044s # } 2044s # 2044s # /** 2044s # * org_project_bar_frobnicator_skeleton_new: 2044s # * 2044s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator. 2044s # * 2044s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object. 2044s # */ 2044s # OrgProjectBarFrobnicator * 2044s # org_project_bar_frobnicator_skeleton_new (void) 2044s # { 2044s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL)); 2044s # } 2044s # Error: 2044s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations 2044s # gdbus-codegen: /usr/bin/gdbus-codegen 2044s # tmpdir: /tmp/tmpl1d_bat9 2044s # /tmp/tmpl1d_bat9/tmpeeaycap_.xml: 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl1d_bat9/tmpeeaycap_.xml', '--output', '-', '--header'] 2044s # Return code: 0 2044s # Output: 2044s # /* 2044s # * This file is generated by gdbus-codegen, do not modify it. 2044s # * 2044s # * The license of this code is the same as for the D-Bus interface description 2044s # * it was derived from. Note that it links to GLib, so must comply with the 2044s # * LGPL linking clauses. 2044s # */ 2044s # 2044s # #ifndef __STDOUT__ 2044s # #define __STDOUT__ 2044s # 2044s # #include 2044s # 2044s # G_BEGIN_DECLS 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # /* Declarations for FDPassing */ 2044s # 2044s # #define TYPE_FDPASSING (fdpassing_get_type ()) 2044s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 2044s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 2044s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 2044s # 2044s # struct _FDPassing; 2044s # typedef struct _FDPassing FDPassing; 2044s # typedef struct _FDPassingIface FDPassingIface; 2044s # 2044s # struct _FDPassingIface 2044s # { 2044s # GTypeInterface parent_iface; 2044s # 2044s # gboolean (*handle_hello_fd) ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list, 2044s # const gchar *arg_greeting); 2044s # 2044s # gboolean (*handle_no_annotation) ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GVariant *arg_greeting, 2044s # const gchar *arg_greeting_locale); 2044s # 2044s # gboolean (*handle_no_annotation_nested) ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GVariant *arg_files); 2044s # 2044s # }; 2044s # 2044s # GType fdpassing_get_type (void) G_GNUC_CONST; 2044s # 2044s # GDBusInterfaceInfo *fdpassing_interface_info (void); 2044s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 2044s # 2044s # 2044s # /* D-Bus method call completion functions: */ 2044s # void fdpassing_complete_hello_fd ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list, 2044s # const gchar *response); 2044s # 2044s # void fdpassing_complete_no_annotation ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GVariant *response, 2044s # const gchar *response_locale); 2044s # 2044s # void fdpassing_complete_no_annotation_nested ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # 2044s # 2044s # /* D-Bus method calls: */ 2044s # void fdpassing_call_hello_fd ( 2044s # FDPassing *proxy, 2044s # const gchar *arg_greeting, 2044s # GUnixFDList *fd_list, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean fdpassing_call_hello_fd_finish ( 2044s # FDPassing *proxy, 2044s # gchar **out_response, 2044s # GUnixFDList **out_fd_list, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean fdpassing_call_hello_fd_sync ( 2044s # FDPassing *proxy, 2044s # const gchar *arg_greeting, 2044s # GUnixFDList *fd_list, 2044s # gchar **out_response, 2044s # GUnixFDList **out_fd_list, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void fdpassing_call_no_annotation ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_greeting, 2044s # const gchar *arg_greeting_locale, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean fdpassing_call_no_annotation_finish ( 2044s # FDPassing *proxy, 2044s # GVariant **out_response, 2044s # gchar **out_response_locale, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean fdpassing_call_no_annotation_sync ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_greeting, 2044s # const gchar *arg_greeting_locale, 2044s # GVariant **out_response, 2044s # gchar **out_response_locale, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void fdpassing_call_no_annotation_nested ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_files, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean fdpassing_call_no_annotation_nested_finish ( 2044s # FDPassing *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean fdpassing_call_no_annotation_nested_sync ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_files, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 2044s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 2044s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 2044s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 2044s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 2044s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 2044s # 2044s # typedef struct _FDPassingProxy FDPassingProxy; 2044s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 2044s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 2044s # 2044s # struct _FDPassingProxy 2044s # { 2044s # /*< private >*/ 2044s # GDBusProxy parent_instance; 2044s # FDPassingProxyPrivate *priv; 2044s # }; 2044s # 2044s # struct _FDPassingProxyClass 2044s # { 2044s # GDBusProxyClass parent_class; 2044s # }; 2044s # 2044s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 2044s # #endif 2044s # 2044s # void fdpassing_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # FDPassing *fdpassing_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # FDPassing *fdpassing_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void fdpassing_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 2044s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 2044s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 2044s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 2044s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 2044s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 2044s # 2044s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 2044s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 2044s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 2044s # 2044s # struct _FDPassingSkeleton 2044s # { 2044s # /*< private >*/ 2044s # GDBusInterfaceSkeleton parent_instance; 2044s # FDPassingSkeletonPrivate *priv; 2044s # }; 2044s # 2044s # struct _FDPassingSkeletonClass 2044s # { 2044s # GDBusInterfaceSkeletonClass parent_class; 2044s # }; 2044s # 2044s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 2044s # #endif 2044s # 2044s # FDPassing *fdpassing_skeleton_new (void); 2044s # 2044s # 2044s # G_END_DECLS 2044s # 2044s # #endif /* __STDOUT__ */ 2044s # Error: 2044s # 2044s # /tmp/tmpl1d_bat9/tmp29te96wn.xml: 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl1d_bat9/tmp29te96wn.xml', '--output', '-', '--header', '--glib-min-required', '2.32'] 2044s # Return code: 0 2044s # Output: 2044s # /* 2044s # * This file is generated by gdbus-codegen, do not modify it. 2044s # * 2044s # * The license of this code is the same as for the D-Bus interface description 2044s # * it was derived from. Note that it links to GLib, so must comply with the 2044s # * LGPL linking clauses. 2044s # */ 2044s # 2044s # #ifndef __STDOUT__ 2044s # #define __STDOUT__ 2044s # 2044s # #include 2044s # 2044s # G_BEGIN_DECLS 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # /* Declarations for FDPassing */ 2044s # 2044s # #define TYPE_FDPASSING (fdpassing_get_type ()) 2044s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 2044s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 2044s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 2044s # 2044s # struct _FDPassing; 2044s # typedef struct _FDPassing FDPassing; 2044s # typedef struct _FDPassingIface FDPassingIface; 2044s # 2044s # struct _FDPassingIface 2044s # { 2044s # GTypeInterface parent_iface; 2044s # 2044s # gboolean (*handle_hello_fd) ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list, 2044s # const gchar *arg_greeting); 2044s # 2044s # gboolean (*handle_no_annotation) ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GVariant *arg_greeting, 2044s # const gchar *arg_greeting_locale); 2044s # 2044s # gboolean (*handle_no_annotation_nested) ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GVariant *arg_files); 2044s # 2044s # }; 2044s # 2044s # GType fdpassing_get_type (void) G_GNUC_CONST; 2044s # 2044s # GDBusInterfaceInfo *fdpassing_interface_info (void); 2044s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 2044s # 2044s # 2044s # /* D-Bus method call completion functions: */ 2044s # void fdpassing_complete_hello_fd ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list, 2044s # const gchar *response); 2044s # 2044s # void fdpassing_complete_no_annotation ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GVariant *response, 2044s # const gchar *response_locale); 2044s # 2044s # void fdpassing_complete_no_annotation_nested ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation); 2044s # 2044s # 2044s # 2044s # /* D-Bus method calls: */ 2044s # void fdpassing_call_hello_fd ( 2044s # FDPassing *proxy, 2044s # const gchar *arg_greeting, 2044s # GUnixFDList *fd_list, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean fdpassing_call_hello_fd_finish ( 2044s # FDPassing *proxy, 2044s # gchar **out_response, 2044s # GUnixFDList **out_fd_list, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean fdpassing_call_hello_fd_sync ( 2044s # FDPassing *proxy, 2044s # const gchar *arg_greeting, 2044s # GUnixFDList *fd_list, 2044s # gchar **out_response, 2044s # GUnixFDList **out_fd_list, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void fdpassing_call_no_annotation ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_greeting, 2044s # const gchar *arg_greeting_locale, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean fdpassing_call_no_annotation_finish ( 2044s # FDPassing *proxy, 2044s # GVariant **out_response, 2044s # gchar **out_response_locale, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean fdpassing_call_no_annotation_sync ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_greeting, 2044s # const gchar *arg_greeting_locale, 2044s # GVariant **out_response, 2044s # gchar **out_response_locale, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void fdpassing_call_no_annotation_nested ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_files, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean fdpassing_call_no_annotation_nested_finish ( 2044s # FDPassing *proxy, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean fdpassing_call_no_annotation_nested_sync ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_files, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 2044s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 2044s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 2044s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 2044s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 2044s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 2044s # 2044s # typedef struct _FDPassingProxy FDPassingProxy; 2044s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 2044s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 2044s # 2044s # struct _FDPassingProxy 2044s # { 2044s # /*< private >*/ 2044s # GDBusProxy parent_instance; 2044s # FDPassingProxyPrivate *priv; 2044s # }; 2044s # 2044s # struct _FDPassingProxyClass 2044s # { 2044s # GDBusProxyClass parent_class; 2044s # }; 2044s # 2044s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 2044s # #endif 2044s # 2044s # void fdpassing_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # FDPassing *fdpassing_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # FDPassing *fdpassing_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void fdpassing_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 2044s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 2044s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 2044s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 2044s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 2044s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 2044s # 2044s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 2044s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 2044s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 2044s # 2044s # struct _FDPassingSkeleton 2044s # { 2044s # /*< private >*/ 2044s # GDBusInterfaceSkeleton parent_instance; 2044s # FDPassingSkeletonPrivate *priv; 2044s # }; 2044s # 2044s # struct _FDPassingSkeletonClass 2044s # { 2044s # GDBusInterfaceSkeletonClass parent_class; 2044s # }; 2044s # 2044s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 2044s # #endif 2044s # 2044s # FDPassing *fdpassing_skeleton_new (void); 2044s # 2044s # 2044s # G_END_DECLS 2044s # 2044s # #endif /* __STDOUT__ */ 2044s # Error: 2044s # 2044s # /tmp/tmpl1d_bat9/tmpxv_bylkb.xml: 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # 2044s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpl1d_bat9/tmpxv_bylkb.xml', '--output', '-', '--header', '--glib-min-required', '2.64'] 2044s # Return code: 0 2044s # Output: 2044s # /* 2044s # * This file is generated by gdbus-codegen, do not modify it. 2044s # * 2044s # * The license of this code is the same as for the D-Bus interface description 2044s # * it was derived from. Note that it links to GLib, so must comply with the 2044s # * LGPL linking clauses. 2044s # */ 2044s # 2044s # #ifndef __STDOUT__ 2044s # #define __STDOUT__ 2044s # 2044s # #include 2044s # 2044s # G_BEGIN_DECLS 2044s # 2044s # 2044s # /* ------------------------------------------------------------------------ */ 2044s # /* Declarations for FDPassing */ 2044s # 2044s # #define TYPE_FDPASSING (fdpassing_get_type ()) 2044s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing)) 2044s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING)) 2044s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface)) 2044s # 2044s # struct _FDPassing; 2044s # typedef struct _FDPassing FDPassing; 2044s # typedef struct _FDPassingIface FDPassingIface; 2044s # 2044s # struct _FDPassingIface 2044s # { 2044s # GTypeInterface parent_iface; 2044s # 2044s # gboolean (*handle_hello_fd) ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list, 2044s # const gchar *arg_greeting); 2044s # 2044s # gboolean (*handle_no_annotation) ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list, 2044s # GVariant *arg_greeting, 2044s # const gchar *arg_greeting_locale); 2044s # 2044s # gboolean (*handle_no_annotation_nested) ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list, 2044s # GVariant *arg_files); 2044s # 2044s # }; 2044s # 2044s # GType fdpassing_get_type (void) G_GNUC_CONST; 2044s # 2044s # GDBusInterfaceInfo *fdpassing_interface_info (void); 2044s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin); 2044s # 2044s # 2044s # /* D-Bus method call completion functions: */ 2044s # void fdpassing_complete_hello_fd ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list, 2044s # const gchar *response); 2044s # 2044s # void fdpassing_complete_no_annotation ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list, 2044s # GVariant *response, 2044s # const gchar *response_locale); 2044s # 2044s # void fdpassing_complete_no_annotation_nested ( 2044s # FDPassing *object, 2044s # GDBusMethodInvocation *invocation, 2044s # GUnixFDList *fd_list); 2044s # 2044s # 2044s # 2044s # /* D-Bus method calls: */ 2044s # void fdpassing_call_hello_fd ( 2044s # FDPassing *proxy, 2044s # const gchar *arg_greeting, 2044s # GDBusCallFlags call_flags, 2044s # gint timeout_msec, 2044s # GUnixFDList *fd_list, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean fdpassing_call_hello_fd_finish ( 2044s # FDPassing *proxy, 2044s # gchar **out_response, 2044s # GUnixFDList **out_fd_list, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean fdpassing_call_hello_fd_sync ( 2044s # FDPassing *proxy, 2044s # const gchar *arg_greeting, 2044s # GDBusCallFlags call_flags, 2044s # gint timeout_msec, 2044s # GUnixFDList *fd_list, 2044s # gchar **out_response, 2044s # GUnixFDList **out_fd_list, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void fdpassing_call_no_annotation ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_greeting, 2044s # const gchar *arg_greeting_locale, 2044s # GDBusCallFlags call_flags, 2044s # gint timeout_msec, 2044s # GUnixFDList *fd_list, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean fdpassing_call_no_annotation_finish ( 2044s # FDPassing *proxy, 2044s # GVariant **out_response, 2044s # gchar **out_response_locale, 2044s # GUnixFDList **out_fd_list, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean fdpassing_call_no_annotation_sync ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_greeting, 2044s # const gchar *arg_greeting_locale, 2044s # GDBusCallFlags call_flags, 2044s # gint timeout_msec, 2044s # GUnixFDList *fd_list, 2044s # GVariant **out_response, 2044s # gchar **out_response_locale, 2044s # GUnixFDList **out_fd_list, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void fdpassing_call_no_annotation_nested ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_files, 2044s # GDBusCallFlags call_flags, 2044s # gint timeout_msec, 2044s # GUnixFDList *fd_list, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # 2044s # gboolean fdpassing_call_no_annotation_nested_finish ( 2044s # FDPassing *proxy, 2044s # GUnixFDList **out_fd_list, 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # 2044s # gboolean fdpassing_call_no_annotation_nested_sync ( 2044s # FDPassing *proxy, 2044s # GVariant *arg_files, 2044s # GDBusCallFlags call_flags, 2044s # gint timeout_msec, 2044s # GUnixFDList *fd_list, 2044s # GUnixFDList **out_fd_list, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ()) 2044s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy)) 2044s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 2044s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass)) 2044s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY)) 2044s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY)) 2044s # 2044s # typedef struct _FDPassingProxy FDPassingProxy; 2044s # typedef struct _FDPassingProxyClass FDPassingProxyClass; 2044s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate; 2044s # 2044s # struct _FDPassingProxy 2044s # { 2044s # /*< private >*/ 2044s # GDBusProxy parent_instance; 2044s # FDPassingProxyPrivate *priv; 2044s # }; 2044s # 2044s # struct _FDPassingProxyClass 2044s # { 2044s # GDBusProxyClass parent_class; 2044s # }; 2044s # 2044s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref) 2044s # #endif 2044s # 2044s # void fdpassing_proxy_new ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # FDPassing *fdpassing_proxy_new_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # FDPassing *fdpassing_proxy_new_sync ( 2044s # GDBusConnection *connection, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # void fdpassing_proxy_new_for_bus ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GAsyncReadyCallback callback, 2044s # gpointer user_data); 2044s # FDPassing *fdpassing_proxy_new_for_bus_finish ( 2044s # GAsyncResult *res, 2044s # GError **error); 2044s # FDPassing *fdpassing_proxy_new_for_bus_sync ( 2044s # GBusType bus_type, 2044s # GDBusProxyFlags flags, 2044s # const gchar *name, 2044s # const gchar *object_path, 2044s # GCancellable *cancellable, 2044s # GError **error); 2044s # 2044s # 2044s # /* ---- */ 2044s # 2044s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ()) 2044s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton)) 2044s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 2044s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass)) 2044s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON)) 2044s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON)) 2044s # 2044s # typedef struct _FDPassingSkeleton FDPassingSkeleton; 2044s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass; 2044s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate; 2044s # 2044s # struct _FDPassingSkeleton 2044s # { 2044s # /*< private >*/ 2044s # GDBusInterfaceSkeleton parent_instance; 2044s # FDPassingSkeletonPrivate *priv; 2044s # }; 2044s # 2044s # struct _FDPassingSkeletonClass 2044s # { 2044s # GDBusInterfaceSkeletonClass parent_class; 2044s # }; 2044s # 2044s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST; 2044s # 2044s # #if GLIB_CHECK_VERSION(2, 44, 0) 2044s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref) 2044s # #endif 2044s # 2044s # FDPassing *fdpassing_skeleton_new (void); 2044s # 2044s # 2044s # G_END_DECLS 2044s # 2044s # #endif /* __STDOUT__ */ 2044s # Error: 2044s 1..39 2044s ok - glib/codegen.py.test 2044s # Running test: glib/socket-listener.test 2044s TAP version 14 2044s # random seed: R02S84754cd32e3e18a7469bfae191b671b6 2044s 1..1 2044s # Start of socket-listener tests 2044s ok 1 /socket-listener/event-signal 2044s # End of socket-listener tests 2044s ok - glib/socket-listener.test 2044s # Running test: glib/notify-init.test 2044s TAP version 14 2044s # random seed: R02S093115217bb17d281d06948d8d3ff76d 2044s 1..1 2044s # Start of properties tests 2044s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works 2044s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665 2044s ok 1 /properties/notify-in-init 2044s # End of properties tests 2044s ok - glib/notify-init.test 2044s # Running test: glib/shell.test 2044s TAP version 14 2044s # random seed: R02S77e3aaa38e7c58edb5e377c9346d0553 2044s 1..51 2044s # Start of shell tests 2044s # Start of cmdline tests 2044s test cmdline: foo bar 2044s ok 1 /shell/cmdline/0 2044s test cmdline: foo 'bar' 2044s ok 2 /shell/cmdline/1 2044s test cmdline: foo "bar" 2044s ok 3 /shell/cmdline/2 2044s test cmdline: foo '' 'bar' 2044s ok 4 /shell/cmdline/3 2044s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo" 2044s ok 5 /shell/cmdline/4 2044s test cmdline: foo blah foo bar baz 2044s ok 6 /shell/cmdline/5 2044s test cmdline: foo ' spaces more spaces lots of spaces in this ' 2044s ok 7 /shell/cmdline/6 2044s test cmdline: foo \ 2044s bar 2044s ok 8 /shell/cmdline/7 2044s test cmdline: foo '' '' 2044s ok 9 /shell/cmdline/8 2044s test cmdline: foo \" la la la 2044s ok 10 /shell/cmdline/9 2044s test cmdline: foo \ foo woo woo\ 2044s ok 11 /shell/cmdline/10 2044s test cmdline: foo "yada yada \$\"" 2044s ok 12 /shell/cmdline/11 2044s test cmdline: foo "c:\\" 2044s ok 13 /shell/cmdline/12 2044s test cmdline: foo # bla bla bla 2044s bar 2044s ok 14 /shell/cmdline/13 2044s test cmdline: foo a#b 2044s ok 15 /shell/cmdline/14 2044s test cmdline: #foo 2044s ok 16 /shell/cmdline/15 2044s test cmdline: foo bar \ 2044s ok 17 /shell/cmdline/16 2044s test cmdline: foo 'bar baz 2044s ok 18 /shell/cmdline/17 2044s test cmdline: foo '"bar" baz 2044s ok 19 /shell/cmdline/18 2044s test cmdline: 2044s ok 20 /shell/cmdline/19 2044s test cmdline: 2044s ok 21 /shell/cmdline/20 2044s test cmdline: # foo bar 2044s ok 22 /shell/cmdline/21 2044s test cmdline: foo '/bar/summer'\''09 tours.pdf' 2044s ok 23 /shell/cmdline/22 2044s # End of cmdline tests 2044s # Start of quote tests 2044s ok 24 /shell/quote/0 2044s ok 25 /shell/quote/1 2044s ok 26 /shell/quote/2 2044s ok 27 /shell/quote/3 2044s ok 28 /shell/quote/4 2044s ok 29 /shell/quote/5 2044s ok 30 /shell/quote/6 2044s # End of quote tests 2044s # Start of unquote tests 2044s ok 31 /shell/unquote/0 2044s ok 32 /shell/unquote/1 2044s ok 33 /shell/unquote/2 2044s ok 34 /shell/unquote/3 2044s ok 35 /shell/unquote/4 2044s ok 36 /shell/unquote/5 2044s ok 37 /shell/unquote/6 2044s ok 38 /shell/unquote/7 2044s ok 39 /shell/unquote/8 2044s ok 40 /shell/unquote/9 2044s ok 41 /shell/unquote/10 2044s ok 42 /shell/unquote/11 2044s ok 43 /shell/unquote/12 2044s ok 44 /shell/unquote/13 2044s ok 45 /shell/unquote/14 2044s ok 46 /shell/unquote/15 2044s ok 47 /shell/unquote/16 2044s ok 48 /shell/unquote/17 2044s ok 49 /shell/unquote/18 2044s ok 50 /shell/unquote/19 2044s ok 51 /shell/unquote/20 2044s # End of unquote tests 2044s # End of shell tests 2044s ok - glib/shell.test 2044s # Running test: glib/tls-interaction.test 2044s TAP version 14 2044s # random seed: R02Sf4ca627cbc5b24daca3ae3782b8e78f9 2044s 1..42 2044s # Start of tls-interaction tests 2044s # Start of ask-password tests 2044s # Start of invoke-with-loop tests 2044s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation 2044s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success 2044s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure 2044s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success 2044s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure 2044s # End of invoke-with-loop tests 2044s # Start of invoke-without-loop tests 2044s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation 2044s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success 2044s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure 2044s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success 2044s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure 2044s # End of invoke-without-loop tests 2044s # Start of invoke-in-loop tests 2044s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation 2044s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success 2044s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure 2044s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success 2044s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure 2044s # End of invoke-in-loop tests 2044s # Start of sync tests 2044s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation 2044s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success 2044s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure 2044s # End of sync tests 2044s # Start of async tests 2044s ok 19 /tls-interaction/ask-password/async/unhandled-implementation 2044s ok 20 /tls-interaction/ask-password/async/async-implementation-success 2044s ok 21 /tls-interaction/ask-password/async/async-implementation-failure 2044s # End of async tests 2044s # End of ask-password tests 2044s # Start of request-certificate tests 2044s # Start of invoke-with-loop tests 2044s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation 2044s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success 2044s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure 2044s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success 2044s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure 2044s # End of invoke-with-loop tests 2044s # Start of invoke-without-loop tests 2044s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation 2044s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success 2044s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure 2044s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success 2044s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure 2044s # End of invoke-without-loop tests 2044s # Start of invoke-in-loop tests 2044s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation 2044s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success 2044s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure 2044s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success 2044s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure 2044s # End of invoke-in-loop tests 2044s # Start of sync tests 2044s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation 2044s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success 2044s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure 2044s # End of sync tests 2044s # Start of async tests 2044s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation 2044s ok 41 /tls-interaction/request-certificate/async/async-implementation-success 2044s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure 2044s # End of async tests 2044s # End of request-certificate tests 2044s # End of tls-interaction tests 2044s ok - glib/tls-interaction.test 2044s # Running test: glib/qdata.test 2044s TAP version 14 2044s # random seed: R02S999bd64d5ab76795f0fe5567b4ed1ade 2044s 1..2 2044s # Start of qdata tests 2044s ok 1 /qdata/threaded 2044s ok 2 /qdata/dup 2044s # End of qdata tests 2044s ok - glib/qdata.test 2044s # Running test: glib/async-close-output-stream.test 2044s TAP version 14 2044s # random seed: R02Se9e0ff4d460c29e5cfd442f200ee685e 2044s 1..3 2044s # Start of close-async tests 2044s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 2044s ok 1 /close-async/without-flush 2044s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 2044s ok 2 /close-async/with-flush 2044s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937 2044s ok 3 /close-async/with-async-flush 2044s # End of close-async tests 2044s ok - glib/async-close-output-stream.test 2044s # Running test: glib/gdbus-connection-slow.test 2044s TAP version 14 2044s # random seed: R02S862776ce26ed7d2ec8df01eb8ea86dac 2044s 1..2 2044s # Start of gdbus tests 2044s # Start of connection tests 2044s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/home 2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/cache 2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/system-config2 2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/config 2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/system-data2 2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/data 2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/state 2044s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/flush/.dirs/runtime 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 1 /gdbus/connection/flush 2045s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/home 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/cache 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/system-config2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/config 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/system-data2 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/data 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/state 2045s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_XES212/gdbus/connection/large_message/.dirs/runtime 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2045s ok 2 /gdbus/connection/large_message 2045s # End of connection tests 2045s # End of gdbus tests 2045s ok - glib/gdbus-connection-slow.test 2045s # Running test: glib/memory-monitor-portal.test 2046s TAP version 13 2046s ok 1 __main__.TestLowMemoryMonitorPortal.test_low_memory_warning_portal_signal # SKIP xdg-desktop-portal not available 2046s 1..1 2046s ok - glib/memory-monitor-portal.test 2046s # Running test: glib/gdbus-peer.test 2046s TAP version 14 2046s # random seed: R02Seada897025ffbf53529beb9e6a376c3d 2046s 1..12 2046s # Start of gdbus tests 2046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/home 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/cache 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/system-config2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/config 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/system-data2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/data 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/state 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/.dirs/runtime 2046s # Testing with unix:dir address 2046s # Testing with unix:tmpdir address 2046s # Testing with unix:path address 2046s ok 1 /gdbus/peer-to-peer 2046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/home 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/cache 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/system-config2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/config 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/system-data2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/data 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/state 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/delayed-message-processing/.dirs/runtime 2046s # Testing with unix:dir address 2046s ok 2 /gdbus/delayed-message-processing 2046s # slow test /gdbus/delayed-message-processing executed in 0.52 secs 2046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/home 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/cache 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/system-config2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/config 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/system-data2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/data 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/state 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/nonce-tcp/.dirs/runtime 2046s # Executing: glib/gdbus-peer.test 2046s ok 3 /gdbus/nonce-tcp 2046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/home 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/cache 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/system-config2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/config 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/system-data2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/data 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/state 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/tcp-anonymous/.dirs/runtime 2046s ok 4 /gdbus/tcp-anonymous 2046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/home 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/cache 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/system-config2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/config 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/system-data2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/data 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/state 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/credentials/.dirs/runtime 2046s ok 5 /gdbus/credentials 2046s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/home 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/cache 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/system-config2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/config 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/system-data2 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/data 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/state 2046s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/codegen-peer-to-peer/.dirs/runtime 2046s # Testing with unix:dir address 2046s # Machine ID: 76a336d0cbe04e4695a28b155147f66c 2047s ok 6 /gdbus/codegen-peer-to-peer 2047s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs 2047s # Start of peer-to-peer tests 2047s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/home 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/cache 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/system-config2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/config 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/system-data2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/data 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/state 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/signals/.dirs/runtime 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620 2047s # Testing with unix:dir address 2047s ok 7 /gdbus/peer-to-peer/signals 2047s # Start of invalid tests 2047s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/home 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/cache 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/system-config2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/config 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/system-data2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/data 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/state 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/server/.dirs/runtime 2047s ok 8 /gdbus/peer-to-peer/invalid/server 2047s # Start of conn tests 2047s # Start of stream tests 2047s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime 2047s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async 2047s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime 2047s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync 2047s # End of stream tests 2047s # Start of addr tests 2047s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime 2047s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async 2047s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state 2047s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_59GG22/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime 2047s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync 2047s # End of addr tests 2047s # End of conn tests 2047s # End of invalid tests 2047s # End of peer-to-peer tests 2047s # End of gdbus tests 2047s ok - glib/gdbus-peer.test 2047s # Running test: glib/stream-rw_all.test 2047s TAP version 14 2047s # random seed: R02Sfdea7024811ebd5f076c337d620ba548 2047s 1..3 2047s # Start of stream tests 2047s # Start of read_all_async tests 2047s ok 1 /stream/read_all_async/memory 2047s # End of read_all_async tests 2047s # Start of write_all_async tests 2047s ok 2 /stream/write_all_async/memory 2047s # End of write_all_async tests 2047s # Start of read_write_all_async tests 2047s ok 3 /stream/read_write_all_async/pipe 2047s # End of read_write_all_async tests 2047s # End of stream tests 2047s ok - glib/stream-rw_all.test 2047s # Running test: glib/ifaceproperties.test 2047s TAP version 14 2047s # random seed: R02S3632468566aca715ed007c7d48c9428a 2047s 1..7 2047s # Start of interface tests 2047s # Start of properties tests 2047s ok 1 /interface/properties/set 2047s ok 2 /interface/properties/notify 2047s ok 3 /interface/properties/find-overridden 2047s ok 4 /interface/properties/list-overridden 2047s ok 5 /interface/properties/find-interface 2047s ok 6 /interface/properties/list-interface 2047s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738 2047s ok 7 /interface/properties/not-overridden 2047s # End of properties tests 2047s # End of interface tests 2047s ok - glib/ifaceproperties.test 2047s # Running test: glib/singleton.test 2047s TAP version 14 2047s # random seed: R02S65f9a19d8898169cfcb6277ae40724d6 2047s 1..2 2047s # Start of gobject tests 2047s # Start of singleton tests 2047s ok 1 /gobject/singleton/construction 2047s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666 2047s ok 2 /gobject/singleton/construct-property 2047s # End of singleton tests 2047s # End of gobject tests 2047s ok - glib/singleton.test 2047s # Running test: glib/spawn-test.test 2047s TAP version 14 2047s # random seed: R02S40b7b3517152b41428e27532cd4625bc 2047s 1..2 2047s # Start of spawn tests 2047s ok 1 /spawn/basics 2047s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16 2047s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open 2047s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed 2047s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open 2047s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed 2047s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open 2047s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed 2047s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open 2047s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed 2047s # Fetching GSpawn result output with stdin open, stdout open, stderr open 2047s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed 2047s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open 2047s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed 2047s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open 2047s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed 2047s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open 2047s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed 2047s # Fetching GSpawn result error output with stdin open, stdout open, stderr open 2047s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed 2047s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open 2047s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed 2047s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open 2047s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed 2048s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open 2048s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed 2048s # Fetching GSpawn result with stdin open, stdout open, stderr open 2048s # Fetching GSpawn result with stdin open, stdout open, stderr already closed 2048s # Fetching GSpawn result with stdin open, stdout already closed, stderr open 2048s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed 2048s # Fetching GSpawn result with stdin already closed, stdout open, stderr open 2048s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed 2048s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open 2048s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed 2048s ok 2 /spawn/stdio-overwrite 2048s # End of spawn tests 2048s ok - glib/spawn-test.test 2048s # Running test: glib/references.test 2048s TAP version 14 2048s # random seed: R02Sa3b022ab355243cb3178163301729a23 2048s 1..1 2048s # Start of gobject tests 2048s ok 1 /gobject/references 2048s # End of gobject tests 2048s ok - glib/references.test 2048s # Running test: glib/rand.test 2048s TAP version 14 2048s # random seed: R02S0b6b4140fadfbe915ccc513569d9d052 2048s 1..2 2048s # Start of rand tests 2048s ok 1 /rand/test-rand 2048s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560 2048s ok 2 /rand/double-range 2048s # End of rand tests 2048s ok - glib/rand.test 2048s # Running test: glib/objects-refcount2.test 2048s TAP version 14 2048s # random seed: R02S4a2201c774e8b0964df280e699df736e 2048s 1..1 2048s # Start of gobject tests 2048s # Start of refcount tests 2048s # init 0xb4801e0 2048s # 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2048s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2049s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2050s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # Executing: glib/objects-refcount2.test 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2051s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2052s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2053s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2054s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2055s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # Executing: glib/objects-refcount2.test 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2056s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2057s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2058s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2059s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # . 2060s # dispose 0xb4801e0! 2060s # 2060s ok 1 /gobject/refcount/object-advanced 2060s # slow test /gobject/refcount/object-advanced executed in 12.27 secs 2060s # End of refcount tests 2060s # End of gobject tests 2060s ok - glib/objects-refcount2.test 2060s # Running test: glib/buffered-input-stream.test 2060s TAP version 14 2060s # random seed: R02S27a87bbf2961a14a1f0d1fbaa4797786 2060s 1..10 2060s # Start of buffered-input-stream tests 2060s ok 1 /buffered-input-stream/peek 2060s ok 2 /buffered-input-stream/peek-buffer 2060s ok 3 /buffered-input-stream/set-buffer-size 2060s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393 2060s ok 4 /buffered-input-stream/read-byte 2060s ok 5 /buffered-input-stream/read 2060s ok 6 /buffered-input-stream/read-async 2060s ok 7 /buffered-input-stream/skip 2060s ok 8 /buffered-input-stream/skip-async 2060s ok 9 /buffered-input-stream/seek 2060s # End of buffered-input-stream tests 2060s # Start of filter-input-stream tests 2060s ok 10 /filter-input-stream/close 2060s # End of filter-input-stream tests 2060s ok - glib/buffered-input-stream.test 2060s # Running test: glib/g-icon.test 2060s TAP version 14 2060s # random seed: R02Secba50324130c825328c68d73294006b 2060s 1..6 2060s # Start of icons tests 2060s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2060s ok 1 /icons/to-string 2060s ok 2 /icons/serialize 2060s ok 3 /icons/themed 2060s ok 4 /icons/emblemed 2060s ok 5 /icons/file 2060s ok 6 /icons/bytes 2060s # End of icons tests 2060s ok - glib/g-icon.test 2060s # Running test: glib/overflow.test 2060s TAP version 14 2060s # random seed: R02Sb321e89402f44af834b83c8de8c5d828 2060s 1..6 2060s # Start of glib tests 2060s # Start of checked-math tests 2060s ok 1 /glib/checked-math/guint-add 2060s ok 2 /glib/checked-math/guint-mul 2060s ok 3 /glib/checked-math/guint64-add 2060s ok 4 /glib/checked-math/guint64-mul 2060s ok 5 /glib/checked-math/gsize-add 2060s ok 6 /glib/checked-math/gsize-mul 2060s # End of checked-math tests 2060s # End of glib tests 2060s ok - glib/overflow.test 2060s # Running test: glib/callable-info.test 2060s TAP version 14 2060s # random seed: R02Sa99f08ad827d417e635a37e23365a6da 2060s 1..5 2060s # Start of callable-info tests 2060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/home 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/cache 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/system-config2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/config 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/system-data2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/data 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/state 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_PI6I22/callable-info/sync-function/.dirs/runtime 2060s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2060s ok 1 /callable-info/sync-function 2060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/home 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/cache 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/system-config2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/config 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/system-data2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/data 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/state 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_PI6I22/callable-info/async-function/.dirs/runtime 2060s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2060s ok 2 /callable-info/async-function 2060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/home 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/cache 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/system-config2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/config 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/system-data2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/data 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/state 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_PI6I22/callable-info/is-method/.dirs/runtime 2060s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2060s ok 3 /callable-info/is-method 2060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/home 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/cache 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/system-config2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/config 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/system-data2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/data 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/state 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_PI6I22/callable-info/static-method/.dirs/runtime 2060s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2060s ok 4 /callable-info/static-method 2060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/home 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/cache 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/system-config2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/config 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/system-data2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/data 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/state 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_PI6I22/callable-info/static-vfunc/.dirs/runtime 2060s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2060s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361 2060s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough 2060s # End of callable-info tests 2060s ok - glib/callable-info.test 2060s # Running test: glib/signalgroup.test 2060s TAP version 14 2060s # random seed: R02Sa595be042251b82c32b61f22e49bf2c7 2060s 1..9 2060s # Start of GObject tests 2060s # Start of SignalGroup tests 2060s ok 1 /GObject/SignalGroup/invalid 2060s ok 2 /GObject/SignalGroup/simple 2060s ok 3 /GObject/SignalGroup/changing-target 2060s ok 4 /GObject/SignalGroup/blocking 2060s ok 5 /GObject/SignalGroup/weak-ref-target 2060s ok 6 /GObject/SignalGroup/connect-object 2060s ok 7 /GObject/SignalGroup/signal-parsing 2060s ok 8 /GObject/SignalGroup/properties 2060s ok 9 /GObject/SignalGroup/interface 2060s # Start of signal-parsing tests 2060s # End of signal-parsing tests 2060s # End of SignalGroup tests 2060s # End of GObject tests 2060s ok - glib/signalgroup.test 2060s # Running test: glib/gdbus-method-invocation.test 2060s TAP version 14 2060s # random seed: R02S18fdb35fd55fd875a142fd3111c54328 2060s 1..1 2060s # Start of gdbus tests 2060s # Start of method-invocation tests 2060s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/home 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/cache 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/system-config2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/config 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/system-data2 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/data 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/state 2060s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_580G22/gdbus/method-invocation/return/.dirs/runtime 2060s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways 2060s # Calling org.freedesktop.DBus.Properties.Get 2060s # Calling org.freedesktop.DBus.Properties.Get 2060s # Calling org.freedesktop.DBus.Properties.Get 2060s # Calling org.freedesktop.DBus.Properties.Set 2060s # Calling org.freedesktop.DBus.Properties.GetAll 2060s # Calling org.example.Foo.WrongReturnType 2060s # Calling org.example.Foo.GetFDs 2060s # Calling org.example.Foo.GetFDs 2060s # Calling org.example.Foo.ReturnError 2060s # Calling org.example.Foo.CloseBeforeReturning 2060s ok 1 /gdbus/method-invocation/return 2060s # End of method-invocation tests 2060s # End of gdbus tests 2060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2060s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2060s ok - glib/gdbus-method-invocation.test 2060s # Running test: glib/utils-c-17.test 2060s TAP version 14 2060s # random seed: R02Sa0d064fc87f7027d7c629ca9478af4f5 2060s 1..41 2060s # Start of utils tests 2060s ok 1 /utils/language-names 2060s ok 2 /utils/locale-variants 2060s ok 3 /utils/version 2060s ok 4 /utils/appname 2060s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 2060s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 2060s ok 5 /utils/prgname-thread-safety 2060s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 2060s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 2060s ok 6 /utils/tmpdir 2060s ok 7 /utils/basic_bits 2060s ok 8 /utils/bits 2060s ok 9 /utils/swap 2060s ok 10 /utils/find-program 2060s ok 11 /utils/find-program-for-path 2060s ok 12 /utils/debug 2060s ok 13 /utils/codeset 2060s ok 14 /utils/codeset2 2060s ok 15 /utils/console-charset 2060s ok 16 /utils/gettext 2060s ok 17 /utils/username 2060s ok 18 /utils/realname 2060s ok 19 /utils/hostname 2060s ok 20 /utils/xdgdirs 2060s ok 21 /utils/specialdir 2060s # NAME: Ubuntu 2060s ok 22 /utils/os-info 2060s ok 23 /utils/clear-pointer 2060s ok 24 /utils/clear-pointer-cast 2060s ok 25 /utils/take-pointer 2060s ok 26 /utils/clear-source 2060s ok 27 /utils/misc-mem 2060s # /utils/aligned-mem summary: Aligned memory allocator 2060s # Alignment must not be zero 2060s # Alignment must be a power of two 2060s # Alignment must be a multiple of sizeof(void*) 2060s ok 28 /utils/aligned-mem 2060s # /utils/free-sized summary: Check that g_free_sized() works 2060s ok 29 /utils/free-sized 2060s ok 30 /utils/nullify 2060s ok 31 /utils/atexit 2060s ok 32 /utils/check-setuid 2060s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 2060s ok 33 /utils/int-limits 2060s ok 34 /utils/clear-list 2060s ok 35 /utils/clear-slist 2060s ok 36 /utils/steal-handle-id 2060s # Start of specialdir tests 2060s ok 37 /utils/specialdir/desktop 2060s # End of specialdir tests 2060s # Start of clear-pointer tests 2060s ok 38 /utils/clear-pointer/side-effects 2060s # End of clear-pointer tests 2060s # Start of aligned-mem tests 2060s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 2060s ok 39 /utils/aligned-mem/alignment 2060s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 2060s ok 40 /utils/aligned-mem/zeroed 2060s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 2060s ok 41 /utils/aligned-mem/free-sized 2060s # Start of subprocess tests 2060s # End of subprocess tests 2060s # End of aligned-mem tests 2060s # End of utils tests 2060s ok - glib/utils-c-17.test 2060s # Running test: glib/signals-refcount2.test 2060s TAP version 14 2060s # random seed: R02Sa1eda8efc8a90e60e09164fed8ef1a8c 2060s 1..1 2060s # Start of gobject tests 2060s # Start of refcount tests 2060s # init 0x5039a58 2060s # 2060s # init 0x5039bb0 2060s # 2061s # Executing: glib/signals-refcount2.test 2065s # dispose 0x5039a58! 2065s # 2065s # dispose 0x5039bb0! 2065s # 2065s ok 1 /gobject/refcount/signals 2065s # slow test /gobject/refcount/signals executed in 5.00 secs 2065s # End of refcount tests 2065s # End of gobject tests 2065s ok - glib/signals-refcount2.test 2065s # Running test: glib/fileattributematcher.test 2065s TAP version 14 2065s # random seed: R02Scbafab1d2920b8b0c406a32b2d142ce1 2065s 1..3 2065s # Start of fileattributematcher tests 2065s ok 1 /fileattributematcher/exact 2065s ok 2 /fileattributematcher/equality 2065s ok 3 /fileattributematcher/subtract 2065s # End of fileattributematcher tests 2065s ok - glib/fileattributematcher.test 2065s # Running test: glib/base64.test 2065s TAP version 14 2065s # random seed: R02S54e80f95eb04904e49194c78916f4b39 2065s 1..28 2065s # Start of base64 tests 2065s ok 1 /base64/encode 2065s ok 2 /base64/decode 2065s ok 3 /base64/decode-inplace 2065s ok 4 /base64/encode-decode 2065s # Start of full tests 2065s ok 5 /base64/full/1 2065s ok 6 /base64/full/2 2065s ok 7 /base64/full/3 2065s ok 8 /base64/full/4 2065s # End of full tests 2065s # Start of encode tests 2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 2065s ok 9 /base64/encode/empty 2065s # Start of incremental tests 2065s # Start of small-block tests 2065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 2065s ok 10 /base64/encode/incremental/small-block/1 2065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 2065s ok 11 /base64/encode/incremental/small-block/2 2065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 2065s ok 12 /base64/encode/incremental/small-block/3 2065s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066 2065s ok 13 /base64/encode/incremental/small-block/4 2065s # End of small-block tests 2065s # End of incremental tests 2065s # End of encode tests 2065s # Start of incremental tests 2065s # Start of nobreak tests 2065s ok 14 /base64/incremental/nobreak/1 2065s ok 15 /base64/incremental/nobreak/2 2065s ok 16 /base64/incremental/nobreak/3 2065s ok 17 /base64/incremental/nobreak/4-a 2065s ok 18 /base64/incremental/nobreak/4-b 2065s ok 19 /base64/incremental/nobreak/4-c 2065s # End of nobreak tests 2065s # Start of break tests 2065s ok 20 /base64/incremental/break/1 2065s ok 21 /base64/incremental/break/2 2065s ok 22 /base64/incremental/break/3 2065s # End of break tests 2065s # Start of smallblock tests 2065s ok 23 /base64/incremental/smallblock/1 2065s ok 24 /base64/incremental/smallblock/2 2065s ok 25 /base64/incremental/smallblock/3 2065s ok 26 /base64/incremental/smallblock/4 2065s # End of smallblock tests 2065s # End of incremental tests 2065s # Start of decode tests 2065s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698 2065s ok 27 /base64/decode/empty 2065s # End of decode tests 2065s # Start of encode-decode tests 2065s # Vector 0: 2065s # Vector 1: f 2065s # Vector 2: fo 2065s # Vector 3: foo 2065s # Vector 4: foob 2065s # Vector 5: fooba 2065s # Vector 6: foobar 2065s ok 28 /base64/encode-decode/rfc4648 2065s # End of encode-decode tests 2065s # End of base64 tests 2065s ok - glib/base64.test 2065s # Running test: glib/cxx-98.test 2065s TAP version 14 2065s # random seed: R02Se440cac8bb1dde791a2bf769bf6b328e 2065s 1..2 2065s # Start of gtask tests 2065s # 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. 2065s ok 1 /gtask/name 2065s # Start of name tests 2065s # 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. 2065s ok 2 /gtask/name/macro-wrapper 2065s # End of name tests 2065s # End of gtask tests 2065s ok - glib/cxx-98.test 2065s # Running test: glib/memory-monitor.test 2065s TAP version 14 2065s # random seed: R02Sd36da523ee5a78baca044f1cae34418f 2065s 1..1 2065s # Start of memory-monitor tests 2065s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals 2065s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor? 2065s ok 1 /memory-monitor/default 2065s # End of memory-monitor tests 2065s ok - glib/memory-monitor.test 2065s # Running test: glib/overflow-fallback.test 2065s TAP version 14 2065s # random seed: R02S5316416d792c41d6a2233a4c5d7aa3b1 2065s 1..6 2065s # Start of glib tests 2065s # Start of checked-math tests 2065s ok 1 /glib/checked-math/guint-add 2065s ok 2 /glib/checked-math/guint-mul 2065s ok 3 /glib/checked-math/guint64-add 2065s ok 4 /glib/checked-math/guint64-mul 2065s ok 5 /glib/checked-math/gsize-add 2065s ok 6 /glib/checked-math/gsize-mul 2065s # End of checked-math tests 2065s # End of glib tests 2065s ok - glib/overflow-fallback.test 2065s # Running test: glib/mainloop.test 2065s TAP version 14 2065s # random seed: R02Sb5ac76d1079ec12443e995307cfcc39e 2065s 1..45 2065s # Start of maincontext tests 2065s ok 1 /maincontext/basic 2065s # Add same-priority sources: 29 2065s # Find each source: 3 2065s # Remove in random order: 44 2065s ok 2 /maincontext/nsources_same_priority 2065s # Add different-priority sources: 36 2065s # Find each source: 3 2065s # Remove in random order: 48 2065s ok 3 /maincontext/nsources_different_priority 2065s # Add sources from threads: 77 2065s # Remove sources from threads: 96 2065s ok 4 /maincontext/nsources_threadpool 2065s ok 5 /maincontext/source_finalization 2065s # /maincontext/idle-once summary: Test g_idle_add_once() works 2065s ok 6 /maincontext/idle-once 2065s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 2066s ok 7 /maincontext/timeout-once 2066s # Start of source_finalization_from_source tests 2066s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 8 /maincontext/source_finalization_from_source/0 2066s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 9 /maincontext/source_finalization_from_source/1 2066s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 10 /maincontext/source_finalization_from_source/2 2066s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 11 /maincontext/source_finalization_from_source/3 2066s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 12 /maincontext/source_finalization_from_source/4 2066s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 13 /maincontext/source_finalization_from_source/5 2066s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 14 /maincontext/source_finalization_from_source/6 2066s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 15 /maincontext/source_finalization_from_source/7 2066s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 16 /maincontext/source_finalization_from_source/8 2066s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2066s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2066s ok 17 /maincontext/source_finalization_from_source/9 2066s # End of source_finalization_from_source tests 2066s # Start of source_finalization_from_dispatch tests 2066s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2066s ok 18 /maincontext/source_finalization_from_dispatch/0 2066s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2066s ok 19 /maincontext/source_finalization_from_dispatch/1 2066s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2066s ok 20 /maincontext/source_finalization_from_dispatch/2 2066s # End of source_finalization_from_dispatch tests 2066s # End of maincontext tests 2066s # Start of mainloop tests 2066s ok 21 /mainloop/basic 2066s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 2066s ok 23 /mainloop/priorities 2066s ok 24 /mainloop/invoke 2066s # slow test /mainloop/invoke executed in 0.50 secs 2066s ok 25 /mainloop/child_sources # SKIP Not reliable on older ARM hardware 2066s ok 26 /mainloop/recursive_child_sources # SKIP Not reliable on older ARM hardware 2066s ok 27 /mainloop/recursive_loop_child_sources 2066s ok 28 /mainloop/swapping_child_sources 2066s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 2066s ok 29 /mainloop/blocked_child_sources 2066s # Executing: glib/mainloop.test 2067s ok 30 /mainloop/source_time 2067s # slow test /mainloop/source_time executed in 1.00 secs 2067s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 2067s ok 31 /mainloop/overflow 2068s ok 32 /mainloop/ready-time 2068s # slow test /mainloop/ready-time executed in 0.50 secs 2068s ok 33 /mainloop/wakeup 2068s ok 34 /mainloop/remove-invalid 2068s ok 35 /mainloop/unref-while-pending 2069s ok 36 /mainloop/unix-fd 2069s # slow test /mainloop/unix-fd executed in 0.98 secs 2069s ok 37 /mainloop/unix-fd-source 2069s ok 38 /mainloop/source-unix-fd-api 2069s ok 39 /mainloop/wait 2069s ok 40 /mainloop/unix-file-poll 2069s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 2069s ok 41 /mainloop/unix-fd-priority 2069s ok 42 /mainloop/nfds 2069s ok 43 /mainloop/steal-fd 2069s # Start of ownerless-polling tests 2069s ok 44 /mainloop/ownerless-polling/attach-first 2069s ok 45 /mainloop/ownerless-polling/pop-first 2069s # End of ownerless-polling tests 2069s # End of mainloop tests 2069s ok - glib/mainloop.test 2069s # Running test: glib/memory-settings-backend.test 2069s TAP version 14 2069s # random seed: R02S433bd1984da66b23e6325bf5d429da49 2069s 1..1 2069s # Start of memory-settings-backend tests 2069s ok 1 /memory-settings-backend/extension-point-registered 2069s # End of memory-settings-backend tests 2069s ok - glib/memory-settings-backend.test 2069s # Running test: glib/gdbus-connection-flush.test 2069s TAP version 14 2069s # random seed: R02S99e13785dd30aeee20e3cdd8967ad094 2069s 1..2 2069s # Start of gdbus tests 2069s # Start of connection tests 2069s # Start of flush tests 2069s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/home 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/cache 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/system-config2 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/config 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/system-data2 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/data 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/state 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/busy/.dirs/runtime 2069s ok 1 /gdbus/connection/flush/busy 2069s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/home 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/cache 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/system-config2 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/config 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/system-data2 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/data 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/state 2069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_QR1H22/gdbus/connection/flush/idle/.dirs/runtime 2069s ok 2 /gdbus/connection/flush/idle 2069s # End of flush tests 2069s # End of connection tests 2069s # End of gdbus tests 2069s ok - glib/gdbus-connection-flush.test 2069s # Running test: glib/messages-low-memory.py.test 2069s TAP version 13 2069s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure 2069s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory 2069s # tmpdir: /tmp/tmpszam0hmd 2069s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory'] 2069s # Return code: -6 2069s # Output: 2069s # 2069s # Error: 2069s # GLib-Message: 05:25:49.421: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting 2069s # GLib-Message: 05:25:49.421: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753 2069s # ../../../glib/gprintf.c:350: failed to allocate memory 2069s 1..1 2069s ok - glib/messages-low-memory.py.test 2069s # Running test: glib/logging.test 2069s TAP version 14 2069s # random seed: R02S1c4e75e971a5555a8c33e31025592645 2069s 1..17 2069s # Start of logging tests 2070s ok 1 /logging/default-handler 2070s # slow test /logging/default-handler executed in 1.23 secs 2070s ok 2 /logging/warnings 2070s ok 3 /logging/fatal-log-mask 2070s # bu-DEBUG: message 2070s # ba-DEBUG: message 2070s # ba-INFO: message 2070s ok 4 /logging/set-handler 2070s ok 5 /logging/print-handler 2070s ok 6 /logging/printerr-handler 2070s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052 2070s # The Log Message Handler 2070s # 2070s # The Good Fail Message Handler 2070s # 2070s ok 7 /logging/653052 2070s ok 8 /logging/gibberish 2070s # Start of default-handler tests 2070s # Start of subprocess tests 2070s # End of subprocess tests 2070s # End of default-handler tests 2070s # End of logging tests 2070s # Start of structured-logging tests 2070s ok 9 /structured-logging/no-state 2070s ok 10 /structured-logging/some-state 2070s ok 11 /structured-logging/robustness 2070s ok 12 /structured-logging/roundtrip1 2070s ok 13 /structured-logging/roundtrip2 2070s ok 14 /structured-logging/roundtrip3 2070s ok 15 /structured-logging/variant1 2070s ok 16 /structured-logging/variant2 2070s ok 17 /structured-logging/set-writer-func-twice 2070s # End of structured-logging tests 2070s ok - glib/logging.test 2070s # Running test: glib/cache.test 2070s TAP version 14 2070s # random seed: R02S47de159a7d1d2bc4b4f395a8ae26d897 2070s 1..1 2070s # Start of cache tests 2070s ok 1 /cache/basic 2070s # End of cache tests 2070s ok - glib/cache.test 2070s # Running test: glib/fdo-notification-backend.test 2070s TAP version 14 2070s # random seed: R02Sec9a7ea16594ed326c85ecb0d1f86a62 2070s 1..2 2070s # Start of fdo-notification-backend tests 2070s # Test constructing a GFdoNotificationBackend 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s ok 1 /fdo-notification-backend/construction 2070s # Start of dbus tests 2070s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s ok 2 /fdo-notification-backend/dbus/activate-action 2070s # End of dbus tests 2070s # End of fdo-notification-backend tests 2070s ok - glib/fdo-notification-backend.test 2070s # Running test: glib/markup-parse.test 2070s TAP version 14 2070s # random seed: R02Sdd5c1b3a3cad1d2999dfb1b4c6cbc118 2070s 1..71 2070s # Start of markup tests 2070s # Start of parse tests 2070s ok 1 /markup/parse/fail-1.gmarkup 2070s ok 2 /markup/parse/fail-10.gmarkup 2070s ok 3 /markup/parse/fail-11.gmarkup 2070s ok 4 /markup/parse/fail-12.gmarkup 2070s ok 5 /markup/parse/fail-13.gmarkup 2070s ok 6 /markup/parse/fail-14.gmarkup 2070s ok 7 /markup/parse/fail-15.gmarkup 2070s ok 8 /markup/parse/fail-16.gmarkup 2070s ok 9 /markup/parse/fail-17.gmarkup 2070s ok 10 /markup/parse/fail-18.gmarkup 2070s ok 11 /markup/parse/fail-19.gmarkup 2070s ok 12 /markup/parse/fail-2.gmarkup 2070s ok 13 /markup/parse/fail-20.gmarkup 2070s ok 14 /markup/parse/fail-21.gmarkup 2070s ok 15 /markup/parse/fail-22.gmarkup 2070s ok 16 /markup/parse/fail-23.gmarkup 2070s ok 17 /markup/parse/fail-24.gmarkup 2070s ok 18 /markup/parse/fail-25.gmarkup 2070s ok 19 /markup/parse/fail-26.gmarkup 2070s ok 20 /markup/parse/fail-27.gmarkup 2070s ok 21 /markup/parse/fail-28.gmarkup 2070s ok 22 /markup/parse/fail-29.gmarkup 2070s ok 23 /markup/parse/fail-3.gmarkup 2070s ok 24 /markup/parse/fail-30.gmarkup 2070s ok 25 /markup/parse/fail-31.gmarkup 2070s ok 26 /markup/parse/fail-32.gmarkup 2070s ok 27 /markup/parse/fail-33.gmarkup 2070s ok 28 /markup/parse/fail-34.gmarkup 2070s ok 29 /markup/parse/fail-35.gmarkup 2070s ok 30 /markup/parse/fail-36.gmarkup 2070s ok 31 /markup/parse/fail-37.gmarkup 2070s ok 32 /markup/parse/fail-38.gmarkup 2070s ok 33 /markup/parse/fail-39.gmarkup 2070s ok 34 /markup/parse/fail-4.gmarkup 2070s ok 35 /markup/parse/fail-40.gmarkup 2070s ok 36 /markup/parse/fail-41.gmarkup 2070s ok 37 /markup/parse/fail-42.gmarkup 2070s ok 38 /markup/parse/fail-43.gmarkup 2070s ok 39 /markup/parse/fail-44.gmarkup 2070s ok 40 /markup/parse/fail-45.gmarkup 2070s ok 41 /markup/parse/fail-46.gmarkup 2070s ok 42 /markup/parse/fail-47.gmarkup 2070s ok 43 /markup/parse/fail-48.gmarkup 2070s ok 44 /markup/parse/fail-49.gmarkup 2070s ok 45 /markup/parse/fail-5.gmarkup 2070s ok 46 /markup/parse/fail-50.gmarkup 2070s ok 47 /markup/parse/fail-51.gmarkup 2070s ok 48 /markup/parse/fail-52.gmarkup 2070s ok 49 /markup/parse/fail-53.gmarkup 2070s ok 50 /markup/parse/fail-54.gmarkup 2070s ok 51 /markup/parse/fail-6.gmarkup 2070s ok 52 /markup/parse/fail-7.gmarkup 2070s ok 53 /markup/parse/fail-8.gmarkup 2070s ok 54 /markup/parse/fail-9.gmarkup 2070s ok 55 /markup/parse/valid-1.gmarkup 2070s ok 56 /markup/parse/valid-10.gmarkup 2070s ok 57 /markup/parse/valid-11.gmarkup 2070s ok 58 /markup/parse/valid-12.gmarkup 2070s ok 59 /markup/parse/valid-13.gmarkup 2070s ok 60 /markup/parse/valid-14.gmarkup 2070s ok 61 /markup/parse/valid-15.gmarkup 2070s ok 62 /markup/parse/valid-16.gmarkup 2070s ok 63 /markup/parse/valid-17.gmarkup 2070s ok 64 /markup/parse/valid-2.gmarkup 2070s ok 65 /markup/parse/valid-3.gmarkup 2070s ok 66 /markup/parse/valid-4.gmarkup 2070s ok 67 /markup/parse/valid-5.gmarkup 2070s ok 68 /markup/parse/valid-6.gmarkup 2070s ok 69 /markup/parse/valid-7.gmarkup 2070s ok 70 /markup/parse/valid-8.gmarkup 2070s ok 71 /markup/parse/valid-9.gmarkup 2070s # End of parse tests 2070s # End of markup tests 2070s ok - glib/markup-parse.test 2070s # Running test: glib/pollable.test 2070s TAP version 14 2070s # random seed: R02Sc8353b263d71648e17f8fbe83cd4c8fa 2070s 1..6 2070s # Start of pollable tests 2070s ok 1 /pollable/converter 2070s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 2070s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xb35baf8 and GSocketClientAsyncConnectData 0xb355138 2070s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2070s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2070s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xb35c6b0 for GSocketClientAsyncConnectData 0xb355138 2070s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2070s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2070s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2070s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2070s ok 2 /pollable/socket 2070s # Start of unix tests 2070s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets 2070s ok 3 /pollable/unix/pipe 2070s # /pollable/unix/pty summary: Test that PTYs are considered pollable 2070s ok 4 /pollable/unix/pty 2070s # /pollable/unix/file summary: Test that regular files are not considered pollable 2070s ok 5 /pollable/unix/file 2070s # /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 2070s ok 6 /pollable/unix/nulldev # SKIP Cannot detect /dev/null as non-pollable on this system 2070s # End of unix tests 2070s # End of pollable tests 2070s ok - glib/pollable.test 2070s # Running test: glib/macros.test 2070s TAP version 14 2070s # random seed: R02S5d73dc646a103f98319c135f62ab084c 2070s 1..3 2070s # Start of alignof tests 2070s ok 1 /alignof/fallback 2070s # End of alignof tests 2070s # Start of assert tests 2070s ok 2 /assert/static 2070s # End of assert tests 2070s # Start of struct tests 2070s ok 3 /struct/sizeof_member 2070s # End of struct tests 2070s ok - glib/macros.test 2070s # Running test: glib/spawn-path-search.test 2070s TAP version 14 2070s # random seed: R02Sbfe2c73c98c7ab0e4a76ad77fd7866d4 2070s 1..7 2070s # Start of spawn tests 2070s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper. 2070s # 2070s # this is spawn-test-helper from glib/tests 2070s # 2070s ok 1 /spawn/do-not-search 2070s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper. 2070s # 2070s # this is spawn-test-helper from path-test-subdir 2070s # 2070s ok 2 /spawn/search-path 2070s # /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. 2070s # 2070s # this is spawn-test-helper from path-test-subdir 2070s # 2070s ok 3 /spawn/search-path-from-envp 2070s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins. 2070s # 2070s # this is spawn-test-helper from path-test-subdir 2070s # 2070s ok 4 /spawn/search-path-ambiguous 2070s # 2070s # this is spawn-test-helper from path-test-subdir 2070s # 2070s ok 5 /spawn/search-path-heap-allocation 2070s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used. 2070s # 2070s # this is spawn-test-helper from glib/tests 2070s # 2070s ok 6 /spawn/search-path-fallback-in-environ 2070s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used. 2070s # 2070s # this is spawn-test-helper from glib/tests 2070s # 2070s ok 7 /spawn/search-path-fallback-in-envp 2070s # End of spawn tests 2070s ok - glib/spawn-path-search.test 2070s # Running test: glib/macros-c-17.test 2070s TAP version 14 2070s # random seed: R02Sb69bf06031d04ea41d466ca352a56b75 2070s 1..4 2070s # Start of C tests 2070s ok 1 /C/standard-17 2070s # End of C tests 2070s # Start of alignof tests 2070s ok 2 /alignof/fallback 2070s # End of alignof tests 2070s # Start of assert tests 2070s ok 3 /assert/static 2070s # End of assert tests 2070s # Start of struct tests 2070s ok 4 /struct/sizeof_member 2070s # End of struct tests 2070s ok - glib/macros-c-17.test 2070s # Running test: glib/debugcontroller.test 2070s TAP version 14 2070s # random seed: R02Sb5b7d413ee808c3a11056e4b87a03796 2070s 1..3 2070s # Start of debug-controller tests 2070s # Start of dbus tests 2070s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 2070s # GLib-GIO-DEBUG: Debug output enabled 2070s # GLib-GIO-DEBUG: Debug output disabled 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s ok 1 /debug-controller/dbus/basic 2070s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2070s ok 2 /debug-controller/dbus/duplicate 2070s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 2070s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102 2070s # End of dbus tests 2070s # End of debug-controller tests 2070s ok - glib/debugcontroller.test 2070s # Running test: glib/gthash.test 2070s TAP version 14 2070s # random seed: R02Se0850ecc75d5229d77754a9df33992f8 2070s 1..1 2070s # Start of gthash tests 2070s ok 1 /gthash/build-retrieve 2070s # End of gthash tests 2070s ok - glib/gthash.test 2070s # Running test: glib/regex.test 2070s TAP version 14 2070s # random seed: R02S9bd02dac73521ddf6abf17e8dcb81e12 2070s 1..848 2070s # Start of regex tests 2070s ok 1 /regex/properties 2070s ok 2 /regex/class 2070s ok 3 /regex/lookahead 2070s ok 4 /regex/lookbehind 2070s ok 5 /regex/subpattern 2070s ok 6 /regex/condition 2070s ok 7 /regex/recursion 2070s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489 2070s ok 8 /regex/multiline 2070s ok 9 /regex/explicit-crlf 2070s ok 10 /regex/max-lookbehind 2070s ok 11 /regex/compile-errors 2070s ok 12 /regex/jit-unsupported-matching 2070s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried 2070s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881 2070s ok 13 /regex/unmatched-named-subpattern 2070s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches 2070s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824 2070s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 2070s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 2070s ok 14 /regex/compiled-regex-after-jit-failure 2070s # Start of new tests 2070s ok 15 /regex/new/1 2070s ok 16 /regex/new/2 2070s ok 17 /regex/new/3 2070s ok 18 /regex/new/4 2070s ok 19 /regex/new/5 2070s ok 20 /regex/new/6 2070s ok 21 /regex/new/7 2070s ok 22 /regex/new/8 2070s ok 23 /regex/new/9 2070s ok 24 /regex/new/10 2070s ok 25 /regex/new/11 2070s ok 26 /regex/new/12 2070s ok 27 /regex/new/13 2070s ok 28 /regex/new/14 2070s ok 29 /regex/new/15 2070s ok 30 /regex/new/16 2070s ok 31 /regex/new/17 2070s ok 32 /regex/new/18 2070s ok 33 /regex/new/19 2070s ok 34 /regex/new/71 2070s ok 35 /regex/new/80 2070s ok 36 /regex/new/82 2070s # End of new tests 2070s # Start of new-check-flags tests 2070s ok 37 /regex/new-check-flags/20 2070s ok 38 /regex/new-check-flags/21 2070s ok 39 /regex/new-check-flags/22 2070s ok 40 /regex/new-check-flags/23 2070s ok 41 /regex/new-check-flags/24 2070s ok 42 /regex/new-check-flags/25 2070s ok 43 /regex/new-check-flags/26 2070s ok 44 /regex/new-check-flags/27 2070s ok 45 /regex/new-check-flags/28 2070s ok 46 /regex/new-check-flags/29 2070s ok 47 /regex/new-check-flags/30 2070s ok 48 /regex/new-check-flags/31 2070s ok 49 /regex/new-check-flags/32 2070s ok 50 /regex/new-check-flags/33 2070s ok 51 /regex/new-check-flags/34 2070s ok 52 /regex/new-check-flags/35 2070s ok 53 /regex/new-check-flags/36 2070s # End of new-check-flags tests 2070s # Start of new-fail tests 2070s ok 54 /regex/new-fail/37 2070s ok 55 /regex/new-fail/38 2070s ok 56 /regex/new-fail/39 2070s ok 57 /regex/new-fail/40 2070s ok 58 /regex/new-fail/41 2070s ok 59 /regex/new-fail/42 2070s ok 60 /regex/new-fail/43 2070s ok 61 /regex/new-fail/44 2070s ok 62 /regex/new-fail/45 2070s ok 63 /regex/new-fail/46 2070s ok 64 /regex/new-fail/47 2070s ok 65 /regex/new-fail/48 2070s ok 66 /regex/new-fail/49 2070s ok 67 /regex/new-fail/50 2070s ok 68 /regex/new-fail/51 2070s ok 69 /regex/new-fail/52 2070s ok 70 /regex/new-fail/53 2070s ok 71 /regex/new-fail/54 2070s ok 72 /regex/new-fail/55 2070s ok 73 /regex/new-fail/56 2070s ok 74 /regex/new-fail/57 2070s ok 75 /regex/new-fail/58 2070s ok 76 /regex/new-fail/59 2070s ok 77 /regex/new-fail/60 2070s ok 78 /regex/new-fail/61 2070s ok 79 /regex/new-fail/62 2070s ok 80 /regex/new-fail/63 2070s ok 81 /regex/new-fail/64 2070s ok 82 /regex/new-fail/65 2070s ok 83 /regex/new-fail/66 2070s ok 84 /regex/new-fail/67 2070s ok 85 /regex/new-fail/68 2070s ok 86 /regex/new-fail/69 2070s ok 87 /regex/new-fail/70 2070s ok 88 /regex/new-fail/72 2070s ok 89 /regex/new-fail/73 2070s ok 90 /regex/new-fail/74 2070s ok 91 /regex/new-fail/75 2070s ok 92 /regex/new-fail/76 2070s ok 93 /regex/new-fail/77 2070s ok 94 /regex/new-fail/78 2070s ok 95 /regex/new-fail/79 2070s ok 96 /regex/new-fail/81 2070s ok 97 /regex/new-fail/83 2070s ok 98 /regex/new-fail/84 2070s ok 99 /regex/new-fail/85 2070s ok 100 /regex/new-fail/86 2070s ok 101 /regex/new-fail/87 2070s ok 102 /regex/new-fail/88 2070s ok 103 /regex/new-fail/89 2070s ok 104 /regex/new-fail/90 2070s ok 105 /regex/new-fail/91 2070s # End of new-fail tests 2070s # Start of match-simple tests 2070s ok 106 /regex/match-simple/92 2070s ok 107 /regex/match-simple/93 2070s ok 108 /regex/match-simple/94 2070s ok 109 /regex/match-simple/95 2070s ok 110 /regex/match-simple/96 2070s ok 111 /regex/match-simple/97 2070s ok 112 /regex/match-simple/98 2070s ok 113 /regex/match-simple/99 2070s ok 114 /regex/match-simple/100 2070s ok 115 /regex/match-simple/101 2070s ok 116 /regex/match-simple/102 2070s ok 117 /regex/match-simple/103 2070s ok 118 /regex/match-simple/104 2070s ok 119 /regex/match-simple/105 2070s ok 120 /regex/match-simple/106 2070s ok 121 /regex/match-simple/107 2070s ok 122 /regex/match-simple/108 2070s ok 123 /regex/match-simple/109 2070s ok 124 /regex/match-simple/110 2070s ok 125 /regex/match-simple/111 2070s ok 126 /regex/match-simple/112 2070s ok 127 /regex/match-simple/113 2070s ok 128 /regex/match-simple/114 2070s ok 129 /regex/match-simple/115 2070s ok 130 /regex/match-simple/116 2070s ok 131 /regex/match-simple/117 2070s ok 132 /regex/match-simple/118 2070s ok 133 /regex/match-simple/119 2070s ok 134 /regex/match-simple/120 2070s ok 135 /regex/match-simple/121 2070s ok 136 /regex/match-simple/122 2070s ok 137 /regex/match-simple/123 2070s ok 138 /regex/match-simple/124 2070s ok 139 /regex/match-simple/125 2070s ok 140 /regex/match-simple/126 2070s ok 141 /regex/match-simple/127 2070s ok 142 /regex/match-simple/128 2070s ok 143 /regex/match-simple/129 2070s ok 144 /regex/match-simple/130 2070s ok 145 /regex/match-simple/131 2070s ok 146 /regex/match-simple/132 2070s ok 147 /regex/match-simple/133 2070s ok 148 /regex/match-simple/134 2070s ok 149 /regex/match-simple/135 2070s ok 150 /regex/match-simple/136 2070s ok 151 /regex/match-simple/137 2070s ok 152 /regex/match-simple/138 2070s ok 153 /regex/match-simple/139 2070s ok 154 /regex/match-simple/140 2070s ok 155 /regex/match-simple/141 2070s ok 156 /regex/match-simple/142 2070s ok 157 /regex/match-simple/143 2070s ok 158 /regex/match-simple/144 2070s ok 159 /regex/match-simple/145 2070s ok 160 /regex/match-simple/146 2070s ok 161 /regex/match-simple/147 2070s ok 162 /regex/match-simple/148 2070s ok 163 /regex/match-simple/149 2070s ok 164 /regex/match-simple/150 2070s ok 165 /regex/match-simple/151 2070s ok 166 /regex/match-simple/152 2070s ok 167 /regex/match-simple/153 2070s ok 168 /regex/match-simple/154 2070s ok 169 /regex/match-simple/155 2070s ok 170 /regex/match-simple/156 2070s ok 171 /regex/match-simple/157 2070s ok 172 /regex/match-simple/158 2070s ok 173 /regex/match-simple/159 2070s ok 174 /regex/match-simple/160 2070s ok 175 /regex/match-simple/161 2070s ok 176 /regex/match-simple/162 2070s ok 177 /regex/match-simple/163 2070s ok 178 /regex/match-simple/164 2070s # End of match-simple tests 2070s # Start of match-simple-optimized tests 2070s ok 179 /regex/match-simple-optimized/92 2070s ok 180 /regex/match-simple-optimized/93 2070s ok 181 /regex/match-simple-optimized/94 2070s ok 182 /regex/match-simple-optimized/95 2070s ok 183 /regex/match-simple-optimized/96 2070s ok 184 /regex/match-simple-optimized/97 2070s ok 185 /regex/match-simple-optimized/98 2070s ok 186 /regex/match-simple-optimized/99 2070s ok 187 /regex/match-simple-optimized/100 2070s ok 188 /regex/match-simple-optimized/101 2070s ok 189 /regex/match-simple-optimized/102 2070s ok 190 /regex/match-simple-optimized/103 2070s ok 191 /regex/match-simple-optimized/104 2070s ok 192 /regex/match-simple-optimized/105 2070s ok 193 /regex/match-simple-optimized/106 2070s ok 194 /regex/match-simple-optimized/107 2070s ok 195 /regex/match-simple-optimized/108 2070s ok 196 /regex/match-simple-optimized/109 2070s ok 197 /regex/match-simple-optimized/110 2070s ok 198 /regex/match-simple-optimized/111 2070s ok 199 /regex/match-simple-optimized/112 2070s ok 200 /regex/match-simple-optimized/113 2070s ok 201 /regex/match-simple-optimized/114 2070s ok 202 /regex/match-simple-optimized/115 2070s ok 203 /regex/match-simple-optimized/116 2070s ok 204 /regex/match-simple-optimized/117 2070s ok 205 /regex/match-simple-optimized/118 2070s ok 206 /regex/match-simple-optimized/119 2070s ok 207 /regex/match-simple-optimized/120 2070s ok 208 /regex/match-simple-optimized/121 2070s ok 209 /regex/match-simple-optimized/122 2070s ok 210 /regex/match-simple-optimized/123 2070s ok 211 /regex/match-simple-optimized/124 2070s ok 212 /regex/match-simple-optimized/125 2070s ok 213 /regex/match-simple-optimized/126 2070s ok 214 /regex/match-simple-optimized/127 2070s ok 215 /regex/match-simple-optimized/128 2070s ok 216 /regex/match-simple-optimized/129 2070s ok 217 /regex/match-simple-optimized/130 2070s ok 218 /regex/match-simple-optimized/131 2070s ok 219 /regex/match-simple-optimized/132 2070s ok 220 /regex/match-simple-optimized/133 2070s ok 221 /regex/match-simple-optimized/134 2070s ok 222 /regex/match-simple-optimized/135 2070s ok 223 /regex/match-simple-optimized/136 2070s ok 224 /regex/match-simple-optimized/137 2070s ok 225 /regex/match-simple-optimized/138 2070s ok 226 /regex/match-simple-optimized/139 2070s ok 227 /regex/match-simple-optimized/140 2070s ok 228 /regex/match-simple-optimized/141 2070s ok 229 /regex/match-simple-optimized/142 2070s ok 230 /regex/match-simple-optimized/143 2070s ok 231 /regex/match-simple-optimized/144 2070s ok 232 /regex/match-simple-optimized/145 2070s ok 233 /regex/match-simple-optimized/146 2070s ok 234 /regex/match-simple-optimized/147 2070s ok 235 /regex/match-simple-optimized/148 2070s ok 236 /regex/match-simple-optimized/149 2070s ok 237 /regex/match-simple-optimized/150 2070s ok 238 /regex/match-simple-optimized/151 2070s ok 239 /regex/match-simple-optimized/152 2070s ok 240 /regex/match-simple-optimized/153 2070s ok 241 /regex/match-simple-optimized/154 2070s ok 242 /regex/match-simple-optimized/155 2070s ok 243 /regex/match-simple-optimized/156 2070s ok 244 /regex/match-simple-optimized/157 2070s ok 245 /regex/match-simple-optimized/158 2070s ok 246 /regex/match-simple-optimized/159 2070s ok 247 /regex/match-simple-optimized/160 2070s ok 248 /regex/match-simple-optimized/161 2070s ok 249 /regex/match-simple-optimized/162 2070s ok 250 /regex/match-simple-optimized/163 2070s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching. 2071s ok 251 /regex/match-simple-optimized/164 2071s # End of match-simple-optimized tests 2071s # Start of match tests 2071s ok 252 /regex/match/165 2071s ok 253 /regex/match/166 2071s ok 254 /regex/match/167 2071s ok 255 /regex/match/168 2071s ok 256 /regex/match/169 2071s ok 257 /regex/match/170 2071s ok 258 /regex/match/171 2071s ok 259 /regex/match/172 2071s ok 260 /regex/match/173 2071s ok 261 /regex/match/174 2071s ok 262 /regex/match/175 2071s ok 263 /regex/match/176 2071s ok 264 /regex/match/177 2071s ok 265 /regex/match/178 2071s ok 266 /regex/match/179 2071s ok 267 /regex/match/180 2071s ok 268 /regex/match/181 2071s ok 269 /regex/match/182 2071s ok 270 /regex/match/183 2071s ok 271 /regex/match/184 2071s ok 272 /regex/match/185 2071s ok 273 /regex/match/186 2071s ok 274 /regex/match/187 2071s ok 275 /regex/match/188 2071s ok 276 /regex/match/189 2071s ok 277 /regex/match/190 2071s ok 278 /regex/match/191 2071s ok 279 /regex/match/192 2071s ok 280 /regex/match/193 2071s ok 281 /regex/match/194 2071s ok 282 /regex/match/195 2071s ok 283 /regex/match/196 2071s ok 284 /regex/match/197 2071s ok 285 /regex/match/198 2071s ok 286 /regex/match/199 2071s ok 287 /regex/match/200 2071s ok 288 /regex/match/201 2071s ok 289 /regex/match/202 2071s ok 290 /regex/match/203 2071s ok 291 /regex/match/204 2071s ok 292 /regex/match/205 2071s ok 293 /regex/match/206 2071s ok 294 /regex/match/207 2071s ok 295 /regex/match/208 2071s ok 296 /regex/match/209 2071s ok 297 /regex/match/210 2071s ok 298 /regex/match/211 2071s ok 299 /regex/match/212 2071s ok 300 /regex/match/213 2071s ok 301 /regex/match/214 2071s ok 302 /regex/match/215 2071s ok 303 /regex/match/216 2071s ok 304 /regex/match/217 2071s ok 305 /regex/match/218 2071s ok 306 /regex/match/219 2071s ok 307 /regex/match/220 2071s ok 308 /regex/match/221 2071s ok 309 /regex/match/222 2071s ok 310 /regex/match/223 2071s ok 311 /regex/match/224 2071s ok 312 /regex/match/225 2071s ok 313 /regex/match/226 2071s ok 314 /regex/match/227 2071s ok 315 /regex/match/228 2071s ok 316 /regex/match/229 2071s ok 317 /regex/match/230 2071s ok 318 /regex/match/231 2071s ok 319 /regex/match/232 2071s ok 320 /regex/match/233 2071s ok 321 /regex/match/234 2071s ok 322 /regex/match/235 2071s ok 323 /regex/match/236 2071s ok 324 /regex/match/237 2071s ok 325 /regex/match/238 2071s ok 326 /regex/match/239 2071s ok 327 /regex/match/240 2071s ok 328 /regex/match/241 2071s ok 329 /regex/match/242 2071s ok 330 /regex/match/243 2071s ok 331 /regex/match/244 2071s ok 332 /regex/match/245 2071s ok 333 /regex/match/246 2071s ok 334 /regex/match/partial281 2071s ok 335 /regex/match/partial282 2071s ok 336 /regex/match/partial283 2071s ok 337 /regex/match/partial284 2071s ok 338 /regex/match/partial285 2071s ok 339 /regex/match/partial286 2071s ok 340 /regex/match/partial287 2071s ok 341 /regex/match/partial288 2071s ok 342 /regex/match/partial289 2071s ok 343 /regex/match/partial290 2071s ok 344 /regex/match/partial291 2071s ok 345 /regex/match/partial292 2071s ok 346 /regex/match/partial293 2071s ok 347 /regex/match/partial294 2071s ok 348 /regex/match/partial295 2071s ok 349 /regex/match/partial296 2071s ok 350 /regex/match/partial297 2071s ok 351 /regex/match/partial298 2071s ok 352 /regex/match/partial299 2071s ok 353 /regex/match/partial300 2071s ok 354 /regex/match/partial301 2071s ok 355 /regex/match/partial302 2071s # Start of next0 tests 2071s ok 356 /regex/match/next0/247 2071s ok 357 /regex/match/next0/248 2071s ok 358 /regex/match/next0/249 2071s ok 359 /regex/match/next0/250 2071s # End of next0 tests 2071s # Start of next1 tests 2071s ok 360 /regex/match/next1/251 2071s ok 361 /regex/match/next1/252 2071s ok 362 /regex/match/next1/253 2071s ok 363 /regex/match/next1/254 2071s ok 364 /regex/match/next1/255 2071s # End of next1 tests 2071s # Start of next2 tests 2071s ok 365 /regex/match/next2/256 2071s ok 366 /regex/match/next2/257 2071s ok 367 /regex/match/next2/258 2071s ok 368 /regex/match/next2/259 2071s ok 369 /regex/match/next2/260 2071s ok 370 /regex/match/next2/261 2071s ok 371 /regex/match/next2/262 2071s ok 372 /regex/match/next2/263 2071s # End of next2 tests 2071s # Start of next3 tests 2071s ok 373 /regex/match/next3/264 2071s ok 374 /regex/match/next3/265 2071s ok 375 /regex/match/next3/266 2071s ok 376 /regex/match/next3/267 2071s ok 377 /regex/match/next3/268 2071s ok 378 /regex/match/next3/269 2071s # End of next3 tests 2071s # Start of next4 tests 2071s ok 379 /regex/match/next4/270 2071s # End of next4 tests 2071s # Start of count tests 2071s ok 380 /regex/match/count/271 2071s ok 381 /regex/match/count/272 2071s ok 382 /regex/match/count/273 2071s ok 383 /regex/match/count/274 2071s ok 384 /regex/match/count/275 2071s ok 385 /regex/match/count/276 2071s ok 386 /regex/match/count/277 2071s ok 387 /regex/match/count/278 2071s ok 388 /regex/match/count/279 2071s ok 389 /regex/match/count/280 2071s # End of count tests 2071s # Start of count-optimized tests 2071s ok 390 /regex/match/count-optimized/271 2071s ok 391 /regex/match/count-optimized/272 2071s ok 392 /regex/match/count-optimized/273 2071s ok 393 /regex/match/count-optimized/274 2071s ok 394 /regex/match/count-optimized/275 2071s ok 395 /regex/match/count-optimized/276 2071s ok 396 /regex/match/count-optimized/277 2071s ok 397 /regex/match/count-optimized/278 2071s ok 398 /regex/match/count-optimized/279 2071s ok 399 /regex/match/count-optimized/280 2071s # End of count-optimized tests 2071s # Start of partial-optimized tests 2071s ok 400 /regex/match/partial-optimized/281 2071s ok 401 /regex/match/partial-optimized/282 2071s ok 402 /regex/match/partial-optimized/283 2071s ok 403 /regex/match/partial-optimized/284 2071s ok 404 /regex/match/partial-optimized/285 2071s ok 405 /regex/match/partial-optimized/286 2071s ok 406 /regex/match/partial-optimized/287 2071s ok 407 /regex/match/partial-optimized/288 2071s ok 408 /regex/match/partial-optimized/289 2071s ok 409 /regex/match/partial-optimized/290 2071s ok 410 /regex/match/partial-optimized/291 2071s ok 411 /regex/match/partial-optimized/292 2071s ok 412 /regex/match/partial-optimized/293 2071s ok 413 /regex/match/partial-optimized/294 2071s ok 414 /regex/match/partial-optimized/295 2071s ok 415 /regex/match/partial-optimized/296 2071s ok 416 /regex/match/partial-optimized/297 2071s ok 417 /regex/match/partial-optimized/298 2071s ok 418 /regex/match/partial-optimized/299 2071s ok 419 /regex/match/partial-optimized/300 2071s ok 420 /regex/match/partial-optimized/301 2071s ok 421 /regex/match/partial-optimized/302 2071s # End of partial-optimized tests 2071s # Start of subpattern tests 2071s ok 422 /regex/match/subpattern/303 2071s ok 423 /regex/match/subpattern/304 2071s ok 424 /regex/match/subpattern/305 2071s ok 425 /regex/match/subpattern/306 2071s ok 426 /regex/match/subpattern/307 2071s ok 427 /regex/match/subpattern/308 2071s ok 428 /regex/match/subpattern/309 2071s ok 429 /regex/match/subpattern/310 2071s ok 430 /regex/match/subpattern/311 2071s ok 431 /regex/match/subpattern/312 2071s ok 432 /regex/match/subpattern/313 2071s ok 433 /regex/match/subpattern/314 2071s ok 434 /regex/match/subpattern/315 2071s # Start of named tests 2071s # Start of dupnames tests 2071s ok 435 /regex/match/subpattern/named/dupnames/325 2071s ok 436 /regex/match/subpattern/named/dupnames/326 2071s ok 437 /regex/match/subpattern/named/dupnames/327 2071s ok 438 /regex/match/subpattern/named/dupnames/328 2071s ok 439 /regex/match/subpattern/named/dupnames/329 2071s # End of dupnames tests 2071s # End of named tests 2071s # End of subpattern tests 2071s # Start of subpattern-optimized tests 2071s ok 440 /regex/match/subpattern-optimized/303 2071s ok 441 /regex/match/subpattern-optimized/304 2071s ok 442 /regex/match/subpattern-optimized/305 2071s ok 443 /regex/match/subpattern-optimized/306 2071s ok 444 /regex/match/subpattern-optimized/307 2071s ok 445 /regex/match/subpattern-optimized/308 2071s ok 446 /regex/match/subpattern-optimized/309 2071s ok 447 /regex/match/subpattern-optimized/310 2071s ok 448 /regex/match/subpattern-optimized/311 2071s ok 449 /regex/match/subpattern-optimized/312 2071s ok 450 /regex/match/subpattern-optimized/313 2071s ok 451 /regex/match/subpattern-optimized/314 2071s ok 452 /regex/match/subpattern-optimized/315 2071s # End of subpattern-optimized tests 2071s # Start of named tests 2071s # Start of subpattern tests 2071s ok 453 /regex/match/named/subpattern/316 2071s ok 454 /regex/match/named/subpattern/317 2071s ok 455 /regex/match/named/subpattern/318 2071s ok 456 /regex/match/named/subpattern/319 2071s ok 457 /regex/match/named/subpattern/320 2071s ok 458 /regex/match/named/subpattern/321 2071s ok 459 /regex/match/named/subpattern/322 2071s ok 460 /regex/match/named/subpattern/323 2071s ok 461 /regex/match/named/subpattern/324 2071s ok 462 /regex/match/named/subpattern/330 2071s ok 463 /regex/match/named/subpattern/331 2071s ok 464 /regex/match/named/subpattern/332 2071s ok 465 /regex/match/named/subpattern/333 2071s ok 466 /regex/match/named/subpattern/334 2071s # End of subpattern tests 2071s # End of named tests 2071s # End of match tests 2071s # Start of match-optimized tests 2071s ok 467 /regex/match-optimized/165 2071s ok 468 /regex/match-optimized/166 2071s ok 469 /regex/match-optimized/167 2071s ok 470 /regex/match-optimized/168 2071s ok 471 /regex/match-optimized/169 2071s ok 472 /regex/match-optimized/170 2071s ok 473 /regex/match-optimized/171 2071s ok 474 /regex/match-optimized/172 2071s ok 475 /regex/match-optimized/173 2071s ok 476 /regex/match-optimized/174 2071s ok 477 /regex/match-optimized/175 2071s ok 478 /regex/match-optimized/176 2071s ok 479 /regex/match-optimized/177 2071s ok 480 /regex/match-optimized/178 2071s ok 481 /regex/match-optimized/179 2071s ok 482 /regex/match-optimized/180 2071s ok 483 /regex/match-optimized/181 2071s ok 484 /regex/match-optimized/182 2071s ok 485 /regex/match-optimized/183 2071s ok 486 /regex/match-optimized/184 2071s ok 487 /regex/match-optimized/185 2071s ok 488 /regex/match-optimized/186 2071s ok 489 /regex/match-optimized/187 2071s ok 490 /regex/match-optimized/188 2071s ok 491 /regex/match-optimized/189 2071s ok 492 /regex/match-optimized/190 2071s ok 493 /regex/match-optimized/191 2071s ok 494 /regex/match-optimized/192 2071s ok 495 /regex/match-optimized/193 2071s ok 496 /regex/match-optimized/194 2071s ok 497 /regex/match-optimized/195 2071s ok 498 /regex/match-optimized/196 2071s ok 499 /regex/match-optimized/197 2071s ok 500 /regex/match-optimized/198 2071s ok 501 /regex/match-optimized/199 2071s ok 502 /regex/match-optimized/200 2071s ok 503 /regex/match-optimized/201 2071s ok 504 /regex/match-optimized/202 2071s ok 505 /regex/match-optimized/203 2071s ok 506 /regex/match-optimized/204 2071s ok 507 /regex/match-optimized/205 2071s ok 508 /regex/match-optimized/206 2071s ok 509 /regex/match-optimized/207 2071s ok 510 /regex/match-optimized/208 2071s ok 511 /regex/match-optimized/209 2071s ok 512 /regex/match-optimized/210 2071s ok 513 /regex/match-optimized/211 2071s ok 514 /regex/match-optimized/212 2071s ok 515 /regex/match-optimized/213 2071s ok 516 /regex/match-optimized/214 2071s ok 517 /regex/match-optimized/215 2071s ok 518 /regex/match-optimized/216 2071s ok 519 /regex/match-optimized/217 2071s ok 520 /regex/match-optimized/218 2071s ok 521 /regex/match-optimized/219 2071s ok 522 /regex/match-optimized/220 2071s ok 523 /regex/match-optimized/221 2071s ok 524 /regex/match-optimized/222 2071s ok 525 /regex/match-optimized/223 2071s ok 526 /regex/match-optimized/224 2071s ok 527 /regex/match-optimized/225 2071s ok 528 /regex/match-optimized/226 2071s ok 529 /regex/match-optimized/227 2071s ok 530 /regex/match-optimized/228 2071s ok 531 /regex/match-optimized/229 2071s ok 532 /regex/match-optimized/230 2071s ok 533 /regex/match-optimized/231 2071s ok 534 /regex/match-optimized/232 2071s ok 535 /regex/match-optimized/233 2071s ok 536 /regex/match-optimized/234 2071s ok 537 /regex/match-optimized/235 2071s ok 538 /regex/match-optimized/236 2071s ok 539 /regex/match-optimized/237 2071s ok 540 /regex/match-optimized/238 2071s ok 541 /regex/match-optimized/239 2071s ok 542 /regex/match-optimized/240 2071s ok 543 /regex/match-optimized/241 2071s ok 544 /regex/match-optimized/242 2071s ok 545 /regex/match-optimized/243 2071s ok 546 /regex/match-optimized/244 2071s ok 547 /regex/match-optimized/245 2071s ok 548 /regex/match-optimized/246 2071s # End of match-optimized tests 2071s # Start of fetch-all0 tests 2071s ok 549 /regex/fetch-all0/335 2071s ok 550 /regex/fetch-all0/336 2071s # End of fetch-all0 tests 2071s # Start of fetch-all1 tests 2071s ok 551 /regex/fetch-all1/337 2071s ok 552 /regex/fetch-all1/338 2071s ok 553 /regex/fetch-all1/339 2071s # End of fetch-all1 tests 2071s # Start of fetch-all2 tests 2071s ok 554 /regex/fetch-all2/340 2071s ok 555 /regex/fetch-all2/341 2071s ok 556 /regex/fetch-all2/342 2071s # End of fetch-all2 tests 2071s # Start of fetch-all3 tests 2071s ok 557 /regex/fetch-all3/343 2071s ok 558 /regex/fetch-all3/344 2071s ok 559 /regex/fetch-all3/345 2071s ok 560 /regex/fetch-all3/346 2071s ok 561 /regex/fetch-all3/347 2071s # End of fetch-all3 tests 2071s # Start of split tests 2071s # Start of simple0 tests 2071s ok 562 /regex/split/simple0/348 2071s ok 563 /regex/split/simple0/349 2071s ok 564 /regex/split/simple0/364 2071s ok 565 /regex/split/simple0/365 2071s # End of simple0 tests 2071s # Start of simple1 tests 2071s ok 566 /regex/split/simple1/350 2071s ok 567 /regex/split/simple1/351 2071s # End of simple1 tests 2071s # Start of simple2 tests 2071s ok 568 /regex/split/simple2/352 2071s ok 569 /regex/split/simple2/358 2071s ok 570 /regex/split/simple2/360 2071s # End of simple2 tests 2071s # Start of simple3 tests 2071s ok 571 /regex/split/simple3/353 2071s ok 572 /regex/split/simple3/354 2071s ok 573 /regex/split/simple3/355 2071s ok 574 /regex/split/simple3/356 2071s ok 575 /regex/split/simple3/357 2071s ok 576 /regex/split/simple3/359 2071s ok 577 /regex/split/simple3/361 2071s ok 578 /regex/split/simple3/362 2071s ok 579 /regex/split/simple3/363 2071s # End of simple3 tests 2071s # End of split tests 2071s # Start of split0 tests 2071s ok 580 /regex/split0/366 2071s ok 581 /regex/split0/368 2071s # End of split0 tests 2071s # Start of full-split0 tests 2071s ok 582 /regex/full-split0/367 2071s ok 583 /regex/full-split0/369 2071s ok 584 /regex/full-split0/370 2071s ok 585 /regex/full-split0/371 2071s ok 586 /regex/full-split0/372 2071s # End of full-split0 tests 2071s # Start of split1 tests 2071s ok 587 /regex/split1/373 2071s ok 588 /regex/split1/376 2071s # End of split1 tests 2071s # Start of full-split1 tests 2071s ok 589 /regex/full-split1/374 2071s ok 590 /regex/full-split1/375 2071s ok 591 /regex/full-split1/377 2071s ok 592 /regex/full-split1/378 2071s ok 593 /regex/full-split1/404 2071s # End of full-split1 tests 2071s # Start of split2 tests 2071s ok 594 /regex/split2/379 2071s ok 595 /regex/split2/383 2071s ok 596 /regex/split2/395 2071s # End of split2 tests 2071s # Start of full-split2 tests 2071s ok 597 /regex/full-split2/380 2071s ok 598 /regex/full-split2/381 2071s ok 599 /regex/full-split2/382 2071s ok 600 /regex/full-split2/384 2071s ok 601 /regex/full-split2/396 2071s ok 602 /regex/full-split2/399 2071s ok 603 /regex/full-split2/405 2071s # End of full-split2 tests 2071s # Start of split3 tests 2071s ok 604 /regex/split3/385 2071s ok 605 /regex/split3/387 2071s ok 606 /regex/split3/389 2071s ok 607 /regex/split3/391 2071s ok 608 /regex/split3/393 2071s ok 609 /regex/split3/397 2071s ok 610 /regex/split3/400 2071s ok 611 /regex/split3/402 2071s # End of split3 tests 2071s # Start of full-split3 tests 2071s ok 612 /regex/full-split3/386 2071s ok 613 /regex/full-split3/388 2071s ok 614 /regex/full-split3/390 2071s ok 615 /regex/full-split3/392 2071s ok 616 /regex/full-split3/394 2071s ok 617 /regex/full-split3/398 2071s ok 618 /regex/full-split3/401 2071s ok 619 /regex/full-split3/403 2071s ok 620 /regex/full-split3/406 2071s ok 621 /regex/full-split3/407 2071s # End of full-split3 tests 2071s # Start of check-repacement tests 2071s ok 622 /regex/check-repacement/408 2071s ok 623 /regex/check-repacement/409 2071s ok 624 /regex/check-repacement/410 2071s ok 625 /regex/check-repacement/411 2071s ok 626 /regex/check-repacement/412 2071s ok 627 /regex/check-repacement/413 2071s ok 628 /regex/check-repacement/414 2071s ok 629 /regex/check-repacement/415 2071s # End of check-repacement tests 2071s # Start of expand tests 2071s ok 630 /regex/expand/416 2071s ok 631 /regex/expand/417 2071s ok 632 /regex/expand/418 2071s ok 633 /regex/expand/419 2071s ok 634 /regex/expand/420 2071s ok 635 /regex/expand/421 2071s ok 636 /regex/expand/422 2071s ok 637 /regex/expand/423 2071s ok 638 /regex/expand/424 2071s ok 639 /regex/expand/425 2071s ok 640 /regex/expand/426 2071s ok 641 /regex/expand/427 2071s ok 642 /regex/expand/428 2071s ok 643 /regex/expand/429 2071s ok 644 /regex/expand/430 2071s ok 645 /regex/expand/431 2071s ok 646 /regex/expand/432 2071s ok 647 /regex/expand/433 2071s ok 648 /regex/expand/434 2071s ok 649 /regex/expand/435 2071s ok 650 /regex/expand/436 2071s ok 651 /regex/expand/437 2071s ok 652 /regex/expand/438 2071s ok 653 /regex/expand/439 2071s ok 654 /regex/expand/440 2071s ok 655 /regex/expand/441 2071s ok 656 /regex/expand/442 2071s ok 657 /regex/expand/443 2071s ok 658 /regex/expand/444 2071s ok 659 /regex/expand/445 2071s ok 660 /regex/expand/446 2071s ok 661 /regex/expand/447 2071s ok 662 /regex/expand/448 2071s ok 663 /regex/expand/449 2071s ok 664 /regex/expand/450 2071s ok 665 /regex/expand/451 2071s ok 666 /regex/expand/452 2071s ok 667 /regex/expand/453 2071s ok 668 /regex/expand/454 2071s ok 669 /regex/expand/455 2071s ok 670 /regex/expand/456 2071s ok 671 /regex/expand/457 2071s ok 672 /regex/expand/458 2071s ok 673 /regex/expand/459 2071s ok 674 /regex/expand/460 2071s ok 675 /regex/expand/461 2071s ok 676 /regex/expand/462 2071s ok 677 /regex/expand/463 2071s ok 678 /regex/expand/464 2071s ok 679 /regex/expand/465 2071s ok 680 /regex/expand/466 2071s ok 681 /regex/expand/467 2071s ok 682 /regex/expand/468 2071s ok 683 /regex/expand/469 2071s ok 684 /regex/expand/470 2071s ok 685 /regex/expand/471 2071s ok 686 /regex/expand/472 2071s ok 687 /regex/expand/473 2071s ok 688 /regex/expand/474 2071s ok 689 /regex/expand/475 2071s ok 690 /regex/expand/476 2071s ok 691 /regex/expand/477 2071s ok 692 /regex/expand/478 2071s ok 693 /regex/expand/479 2071s ok 694 /regex/expand/480 2071s ok 695 /regex/expand/481 2071s # End of expand tests 2071s # Start of replace tests 2071s ok 696 /regex/replace/482 2071s ok 697 /regex/replace/483 2071s ok 698 /regex/replace/484 2071s ok 699 /regex/replace/485 2071s ok 700 /regex/replace/486 2071s ok 701 /regex/replace/487 2071s ok 702 /regex/replace/488 2071s ok 703 /regex/replace/489 2071s ok 704 /regex/replace/490 2071s ok 705 /regex/replace/491 2071s ok 706 /regex/replace/492 2071s ok 707 /regex/replace/493 2071s ok 708 /regex/replace/494 2071s ok 709 /regex/replace/495 2071s ok 710 /regex/replace/496 2071s ok 711 /regex/replace/497 2071s ok 712 /regex/replace/498 2071s ok 713 /regex/replace/499 2071s ok 714 /regex/replace/500 2071s ok 715 /regex/replace/501 2071s ok 716 /regex/replace/502 2071s ok 717 /regex/replace/503 2071s ok 718 /regex/replace/504 2071s ok 719 /regex/replace/505 2071s ok 720 /regex/replace/506 2071s ok 721 /regex/replace/507 2071s ok 722 /regex/replace/508 2071s ok 723 /regex/replace/509 2071s # End of replace tests 2071s # Start of replace-optimized tests 2071s ok 724 /regex/replace-optimized/482 2071s ok 725 /regex/replace-optimized/483 2071s ok 726 /regex/replace-optimized/484 2071s ok 727 /regex/replace-optimized/485 2071s ok 728 /regex/replace-optimized/486 2071s ok 729 /regex/replace-optimized/487 2071s ok 730 /regex/replace-optimized/488 2071s ok 731 /regex/replace-optimized/489 2071s ok 732 /regex/replace-optimized/490 2071s ok 733 /regex/replace-optimized/491 2071s ok 734 /regex/replace-optimized/492 2071s ok 735 /regex/replace-optimized/493 2071s ok 736 /regex/replace-optimized/494 2071s ok 737 /regex/replace-optimized/495 2071s ok 738 /regex/replace-optimized/496 2071s ok 739 /regex/replace-optimized/497 2071s ok 740 /regex/replace-optimized/498 2071s ok 741 /regex/replace-optimized/499 2071s ok 742 /regex/replace-optimized/500 2071s ok 743 /regex/replace-optimized/501 2071s ok 744 /regex/replace-optimized/502 2071s ok 745 /regex/replace-optimized/503 2071s ok 746 /regex/replace-optimized/504 2071s ok 747 /regex/replace-optimized/505 2071s ok 748 /regex/replace-optimized/506 2071s ok 749 /regex/replace-optimized/507 2071s ok 750 /regex/replace-optimized/508 2071s ok 751 /regex/replace-optimized/509 2071s # End of replace-optimized tests 2071s # Start of replace-literally tests 2071s ok 752 /regex/replace-literally/510 2071s ok 753 /regex/replace-literally/511 2071s ok 754 /regex/replace-literally/512 2071s ok 755 /regex/replace-literally/513 2071s ok 756 /regex/replace-literally/514 2071s ok 757 /regex/replace-literally/515 2071s ok 758 /regex/replace-literally/516 2071s ok 759 /regex/replace-literally/517 2071s ok 760 /regex/replace-literally/518 2071s ok 761 /regex/replace-literally/519 2071s ok 762 /regex/replace-literally/520 2071s ok 763 /regex/replace-literally/521 2071s ok 764 /regex/replace-literally/522 2071s ok 765 /regex/replace-literally/523 2071s ok 766 /regex/replace-literally/524 2071s ok 767 /regex/replace-literally/525 2071s ok 768 /regex/replace-literally/526 2071s ok 769 /regex/replace-literally/527 2071s ok 770 /regex/replace-literally/528 2071s ok 771 /regex/replace-literally/529 2071s # End of replace-literally tests 2071s # Start of string-number tests 2071s ok 772 /regex/string-number/530 2071s ok 773 /regex/string-number/531 2071s ok 774 /regex/string-number/532 2071s ok 775 /regex/string-number/533 2071s ok 776 /regex/string-number/534 2071s ok 777 /regex/string-number/535 2071s ok 778 /regex/string-number/536 2071s ok 779 /regex/string-number/537 2071s ok 780 /regex/string-number/538 2071s ok 781 /regex/string-number/539 2071s ok 782 /regex/string-number/540 2071s ok 783 /regex/string-number/541 2071s ok 784 /regex/string-number/542 2071s ok 785 /regex/string-number/543 2071s ok 786 /regex/string-number/544 2071s # End of string-number tests 2071s # Start of escape_nul tests 2071s ok 787 /regex/escape_nul/545 2071s ok 788 /regex/escape_nul/546 2071s ok 789 /regex/escape_nul/547 2071s ok 790 /regex/escape_nul/548 2071s ok 791 /regex/escape_nul/549 2071s ok 792 /regex/escape_nul/550 2071s ok 793 /regex/escape_nul/551 2071s ok 794 /regex/escape_nul/552 2071s ok 795 /regex/escape_nul/553 2071s ok 796 /regex/escape_nul/554 2071s ok 797 /regex/escape_nul/555 2071s ok 798 /regex/escape_nul/556 2071s ok 799 /regex/escape_nul/557 2071s ok 800 /regex/escape_nul/558 2071s ok 801 /regex/escape_nul/559 2071s # End of escape_nul tests 2071s # Start of escape tests 2071s ok 802 /regex/escape/560 2071s ok 803 /regex/escape/561 2071s ok 804 /regex/escape/562 2071s ok 805 /regex/escape/563 2071s ok 806 /regex/escape/564 2071s ok 807 /regex/escape/565 2071s ok 808 /regex/escape/566 2071s ok 809 /regex/escape/567 2071s ok 810 /regex/escape/568 2071s ok 811 /regex/escape/569 2071s ok 812 /regex/escape/570 2071s ok 813 /regex/escape/571 2071s ok 814 /regex/escape/572 2071s ok 815 /regex/escape/573 2071s ok 816 /regex/escape/574 2071s ok 817 /regex/escape/575 2071s ok 818 /regex/escape/576 2071s ok 819 /regex/escape/577 2071s # End of escape tests 2071s # Start of match-all0 tests 2071s ok 820 /regex/match-all0/578 2071s ok 821 /regex/match-all0/580 2071s # End of match-all0 tests 2071s # Start of match-all-full0 tests 2071s ok 822 /regex/match-all-full0/579 2071s ok 823 /regex/match-all-full0/581 2071s ok 824 /regex/match-all-full0/582 2071s ok 825 /regex/match-all-full0/583 2071s # End of match-all-full0 tests 2071s # Start of match-all1 tests 2071s ok 826 /regex/match-all1/584 2071s ok 827 /regex/match-all1/586 2071s ok 828 /regex/match-all1/591 2071s # End of match-all1 tests 2071s # Start of match-all-full1 tests 2071s ok 829 /regex/match-all-full1/585 2071s ok 830 /regex/match-all-full1/587 2071s ok 831 /regex/match-all-full1/588 2071s ok 832 /regex/match-all-full1/589 2071s ok 833 /regex/match-all-full1/590 2071s ok 834 /regex/match-all-full1/592 2071s # End of match-all-full1 tests 2071s # Start of match-all2 tests 2071s ok 835 /regex/match-all2/593 2071s ok 836 /regex/match-all2/595 2071s ok 837 /regex/match-all2/597 2071s # End of match-all2 tests 2071s # Start of match-all-full2 tests 2071s ok 838 /regex/match-all-full2/594 2071s ok 839 /regex/match-all-full2/596 2071s ok 840 /regex/match-all-full2/598 2071s # End of match-all-full2 tests 2071s # Start of match-all3 tests 2071s ok 841 /regex/match-all3/599 2071s ok 842 /regex/match-all3/601 2071s # End of match-all3 tests 2071s # Start of match-all-full3 tests 2071s ok 843 /regex/match-all-full3/600 2071s ok 844 /regex/match-all-full3/602 2071s # End of match-all-full3 tests 2071s # Start of match-notempty tests 2071s ok 845 /regex/match-notempty/603 2071s # End of match-notempty tests 2071s # Start of match-notempty-optimized tests 2071s ok 846 /regex/match-notempty-optimized/603 2071s # End of match-notempty-optimized tests 2071s # Start of match-notempty-atstart tests 2071s ok 847 /regex/match-notempty-atstart/604 2071s # End of match-notempty-atstart tests 2071s # Start of match-notempty-atstart-optimized tests 2071s ok 848 /regex/match-notempty-atstart-optimized/604 2071s # End of match-notempty-atstart-optimized tests 2071s # End of regex tests 2071s ok - glib/regex.test 2071s # Running test: glib/mem-overflow.test 2071s TAP version 14 2071s # random seed: R02Sb5333824d1fcad9ded256c0486ce43bb 2071s 1..2 2071s # Start of mem tests 2071s ok 1 /mem/overflow 2071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379 2071s ok 2 /mem/empty-alloc 2071s # Start of overflow tests 2071s # Start of subprocess tests 2071s # End of subprocess tests 2071s # End of overflow tests 2071s # Start of empty-alloc tests 2071s # End of empty-alloc tests 2071s # End of mem tests 2071s ok - glib/mem-overflow.test 2071s # Running test: glib/gutils-user-database.test 2071s TAP version 14 2071s # random seed: R02S561cc9efed5bc8d0ca04c32920cc5c64 2071s 1..1 2071s # Start of gutils tests 2071s ok 1 /gutils/get_user_database_entry 2071s # End of gutils tests 2071s ok - glib/gutils-user-database.test 2071s # Running test: glib/resolver-parsing.test 2071s TAP version 14 2071s # random seed: R02S7bef8f7f042fb32ee69328a2b755c0f1 2071s 1..21 2071s # Start of gresolver tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/invalid-header/.dirs/runtime 2071s ok 1 /gresolver/invalid-header 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/record-ownership/.dirs/runtime 2071s ok 2 /gresolver/record-ownership 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/unknown-record-type/.dirs/runtime 2071s # GLib-GIO-DEBUG: Unrecognized DNS record type 20 2071s ok 3 /gresolver/unknown-record-type 2071s # Start of mx tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/valid/.dirs/runtime 2071s ok 4 /gresolver/mx/valid 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/.dirs/runtime 2071s ok 5 /gresolver/mx/invalid 2071s # Start of invalid tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short/.dirs/runtime 2071s ok 6 /gresolver/mx/invalid/too-short 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/mx/invalid/too-short2/.dirs/runtime 2071s ok 7 /gresolver/mx/invalid/too-short2 2071s # End of invalid tests 2071s # End of mx tests 2071s # Start of ns tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/valid/.dirs/runtime 2071s ok 8 /gresolver/ns/valid 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/ns/invalid/.dirs/runtime 2071s ok 9 /gresolver/ns/invalid 2071s # End of ns tests 2071s # Start of soa tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/valid/.dirs/runtime 2071s ok 10 /gresolver/soa/valid 2071s # Start of invalid tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/mname/.dirs/runtime 2071s ok 11 /gresolver/soa/invalid/mname 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/rname/.dirs/runtime 2071s ok 12 /gresolver/soa/invalid/rname 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/soa/invalid/too-short/.dirs/runtime 2071s ok 13 /gresolver/soa/invalid/too-short 2071s # End of invalid tests 2071s # End of soa tests 2071s # Start of srv tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/valid/.dirs/runtime 2071s ok 14 /gresolver/srv/valid 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/.dirs/runtime 2071s ok 15 /gresolver/srv/invalid 2071s # Start of invalid tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short/.dirs/runtime 2071s ok 16 /gresolver/srv/invalid/too-short 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/srv/invalid/too-short2/.dirs/runtime 2071s ok 17 /gresolver/srv/invalid/too-short2 2071s # End of invalid tests 2071s # End of srv tests 2071s # Start of txt tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/.dirs/runtime 2071s ok 18 /gresolver/txt/valid 2071s # Start of valid tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/valid/multiple-strings/.dirs/runtime 2071s ok 19 /gresolver/txt/valid/multiple-strings 2071s # End of valid tests 2071s # Start of invalid tests 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/empty/.dirs/runtime 2071s ok 20 /gresolver/txt/invalid/empty 2071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/home 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/cache 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/system-config2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/config 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/system-data2 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/data 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/state 2071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_JZJB22/gresolver/txt/invalid/overflow/.dirs/runtime 2071s ok 21 /gresolver/txt/invalid/overflow 2071s # End of invalid tests 2071s # End of txt tests 2071s # End of gresolver tests 2071s ok - glib/resolver-parsing.test 2071s # Running test: glib/io-stream.test 2071s TAP version 14 2071s # random seed: R02S0ff1d9875b6df71e8e5e58309c508481 2071s 1..3 2071s # Start of io-stream tests 2071s ok 1 /io-stream/copy-chunks 2071s # Start of close tests 2071s # Start of async tests 2071s ok 2 /io-stream/close/async/memory 2071s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2071s ok 3 /io-stream/close/async/file 2071s # End of async tests 2071s # End of close tests 2071s # End of io-stream tests 2071s ok - glib/io-stream.test 2071s # Running test: glib/markup.test 2071s TAP version 14 2071s # random seed: R02S285e9f4229eb1d8f7582961c83829eca 2071s 1..1 2071s # Start of markup tests 2071s ok 1 /markup/stack 2071s # End of markup tests 2071s ok - glib/markup.test 2071s # Running test: glib/thread.test 2071s TAP version 14 2071s # random seed: R02S1dd4902efe48566d4596d6631535e1e5 2071s 1..7 2071s # Start of thread tests 2071s ok 1 /thread/thread1 2071s ok 2 /thread/thread2 2071s ok 3 /thread/thread3 2071s ok 4 /thread/thread4 2071s ok 5 /thread/thread5 2071s ok 6 /thread/thread6 2071s ok 7 /thread/thread7 2071s # End of thread tests 2071s ok - glib/thread.test 2071s # Running test: glib/resources.test 2071s TAP version 14 2071s # random seed: R02S15b6a1de65fa364eb4923eee2174a307 2071s 1..19 2071s # Start of resource tests 2071s ok 1 /resource/file 2071s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2071s ok 2 /resource/file-path 2071s ok 3 /resource/data 2071s ok 4 /resource/data_unaligned 2071s ok 5 /resource/data-corrupt 2071s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression). 2071s ok 6 /resource/data-corrupt-compression 2071s ok 7 /resource/data-empty 2071s ok 8 /resource/registered 2071s ok 9 /resource/manual 2071s ok 10 /resource/manual2 2071s ok 11 /resource/automatic 2071s ok 12 /resource/module 2071s ok 13 /resource/binary-linked 2071s ok 14 /resource/64k 2071s GLib-GIO-Message: 05:25:51.120: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay' 2071s GLib-GIO-Message: 05:25:51.121: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 2071s GLib-GIO-Message: 05:25:51.121: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay 2071s ok 15 /resource/overlay 2071s ok 16 /resource/digits 2071s ok 17 /resource/has-children 2071s # Start of uri tests 2071s ok 18 /resource/uri/query-info 2071s ok 19 /resource/uri/file 2071s # End of uri tests 2071s # End of resource tests 2071s ok - glib/resources.test 2071s # Running test: glib/cxx-03.test 2071s TAP version 14 2071s # random seed: R02Sd9f828cb14ce40449de8fcc322db0b68 2071s 1..2 2071s # Start of gtask tests 2071s # 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. 2071s ok 1 /gtask/name 2071s # Start of name tests 2071s # 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. 2071s ok 2 /gtask/name/macro-wrapper 2071s # End of name tests 2071s # End of gtask tests 2071s ok - glib/cxx-03.test 2071s # Running test: glib/signals-refcount4.test 2071s TAP version 14 2071s # random seed: R02S0b6b9b4b4305ed46a982d4cfd9b2d14f 2071s 1..1 2071s # Start of gobject tests 2071s # Start of refcount tests 2071s # init 0x4e22a58 2071s # 2071s # init 0x4e22bb0 2071s # 2071s # Executing: glib/signals-refcount4.test 2076s # dispose 0x4e22a58! 2076s # 2076s # dispose 0x4e22bb0! 2076s # 2076s ok 1 /gobject/refcount/signals 2076s # slow test /gobject/refcount/signals executed in 5.00 secs 2076s # End of refcount tests 2076s # End of gobject tests 2076s ok - glib/signals-refcount4.test 2076s # Running test: glib/registered-type-info.test 2076s TAP version 14 2076s # random seed: R02Sbda6aedcd6042b357ce44eb684053448 2076s 1..1 2076s # Start of registered-type-info tests 2076s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/home 2076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/cache 2076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/system-config2 2076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/config 2076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/system-data2 2076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/data 2076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/state 2076s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_8TPF22/registered-type-info/boxed/.dirs/runtime 2076s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2076s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo 2076s # Expecting CClosure to not be boxed 2076s # Expecting TypeCValue to not be boxed 2076s # Expecting InitiallyUnownedClass to not be boxed 2076s # Expecting BookmarkFile to be boxed 2076s # Expecting Closure to be boxed 2076s # Expecting Object to not be boxed 2076s ok 1 /registered-type-info/boxed 2076s # End of registered-type-info tests 2076s ok - glib/registered-type-info.test 2076s # Running test: glib/simple-proxy.test 2076s TAP version 14 2076s # random seed: R02S55e2f838bfeddea68330a81ae7a7fc49 2076s 1..3 2076s # Start of static-proxy tests 2076s ok 1 /static-proxy/uri 2076s ok 2 /static-proxy/socks 2076s ok 3 /static-proxy/ignore 2076s # End of static-proxy tests 2076s ok - glib/simple-proxy.test 2076s # Running test: glib/task.test 2076s TAP version 14 2076s # random seed: R02S91e29c19dc6199cf8a6788f78d1d86a7 2076s 1..36 2076s # Start of gtask tests 2076s ok 1 /gtask/basic 2076s ok 2 /gtask/error 2076s ok 3 /gtask/error-literal 2076s ok 4 /gtask/error-literal-from-variable 2076s ok 5 /gtask/return-from-same-iteration 2076s ok 6 /gtask/return-from-toplevel 2076s ok 7 /gtask/return-from-anon-thread 2076s ok 8 /gtask/return-from-wrong-thread 2076s ok 9 /gtask/no-callback 2076s ok 10 /gtask/report-error 2076s ok 11 /gtask/priority 2076s ok 12 /gtask/name 2076s ok 13 /gtask/static-name 2076s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608 2076s ok 14 /gtask/asynchronous-cancellation 2076s ok 15 /gtask/check-cancellable 2076s ok 16 /gtask/return-if-cancelled 2076s ok 17 /gtask/run-in-thread 2076s ok 18 /gtask/run-in-thread-sync 2076s ok 19 /gtask/run-in-thread-priority 2076s ok 20 /gtask/run-in-thread-nested 2076s # Executing: glib/task.test 2077s ok 21 /gtask/run-in-thread-overflow 2077s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs 2077s # GLib-GIO-DEBUG: GTask 0x9fa6288 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 2077s ok 22 /gtask/return-on-cancel 2077s # GLib-GIO-DEBUG: GTask 0x9fa68c8 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 2077s # GLib-GIO-DEBUG: GTask 0x9fa5f80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 2077s ok 23 /gtask/return-on-cancel-sync 2077s # GLib-GIO-DEBUG: GTask 0x9fa66d0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 2077s ok 24 /gtask/return-on-cancel-atomic 2077s ok 25 /gtask/return-pointer 2077s ok 26 /gtask/return-value 2077s ok 27 /gtask/return-prefixed-error 2077s ok 28 /gtask/object-keepalive 2077s ok 29 /gtask/legacy-error 2077s ok 30 /gtask/finalize-without-return 2077s # Start of name tests 2077s ok 31 /gtask/name/macro-wrapper 2077s # End of name tests 2077s # Start of return tests 2077s ok 32 /gtask/return/error-first 2077s ok 33 /gtask/return/value-first 2077s # Start of in-idle tests 2077s ok 34 /gtask/return/in-idle/error-first 2077s ok 35 /gtask/return/in-idle/value-first 2077s # End of in-idle tests 2077s # End of return tests 2077s # Start of attach-source tests 2077s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset 2077s ok 36 /gtask/attach-source/set-name 2077s # End of attach-source tests 2077s # End of gtask tests 2077s ok - glib/task.test 2077s # Running test: glib/gdbus-address-get-session.test 2077s TAP version 14 2077s # random seed: R02Sfb8dbbad75882a986b728de0a038b73f 2077s 1..2 2077s # Start of gdbus tests 2077s ok 1 /gdbus/x11-autolaunch 2077s ok 2 /gdbus/xdg-runtime 2077s # End of gdbus tests 2077s ok - glib/gdbus-address-get-session.test 2077s # Running test: glib/properties-refcount3.test 2077s TAP version 14 2077s # random seed: R02S09ac9879a980c6c204bd1e4c3785e2be 2077s 1..1 2077s # Start of gobject tests 2077s # Start of refcount tests 2081s # Executing: glib/properties-refcount3.test 2086s # Executing: glib/properties-refcount3.test 2091s # Executing: glib/properties-refcount3.test 2096s # Executing: glib/properties-refcount3.test 2101s # Executing: glib/properties-refcount3.test 2106s # Executing: glib/properties-refcount3.test 2107s # 2107s # stopping 2107s # 2107s # stopped 2107s # 2107s # 13184624 645161 2107s # 2107s ok 1 /gobject/refcount/properties-3 2107s # slow test /gobject/refcount/properties-3 executed in 30.00 secs 2107s # End of refcount tests 2107s # End of gobject tests 2107s ok - glib/properties-refcount3.test 2107s # Running test: glib/init.test 2107s TAP version 14 2107s # random seed: R02S21f82fc2ffaaf61fce9b096eeee69925 2107s 1..2 2107s # Start of thread tests 2107s # Start of deprecated tests 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_ENZF22/thread/deprecated/init/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_ENZF22/thread/deprecated/init/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_ENZF22/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_ENZF22/thread/deprecated/init/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_ENZF22/thread/deprecated/init/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_ENZF22/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_ENZF22/thread/deprecated/init/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_ENZF22/thread/deprecated/init/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_ENZF22/thread/deprecated/init/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_ENZF22/thread/deprecated/init/.dirs/runtime 2107s ok 1 /thread/deprecated/init 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_ENZF22/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime 2107s ok 2 /thread/deprecated/init-with-errorcheck-mutexes 2107s # End of deprecated tests 2107s # End of thread tests 2107s ok - glib/init.test 2107s # Running test: glib/giomodule.test 2107s TAP version 14 2107s # random seed: R02Sb4e8d88c73160fd88b294c495b9f1168 2107s 1..3 2107s # Start of giomodule tests 2107s ok 1 /giomodule/extension-point 2107s ok 2 /giomodule/module-scan-all 2107s ok 3 /giomodule/module-scan-all-with-scope 2107s # End of giomodule tests 2107s ok - glib/giomodule.test 2107s # Running test: glib/utils-isolated.test 2107s TAP version 14 2107s # random seed: R02S02d42d1ab03162d0aa95d37de9ede5a7 2107s 1..11 2107s # Start of utils-isolated tests 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/tmp-dir/.dirs/runtime 2107s ok 1 /utils-isolated/tmp-dir 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/home-dir/.dirs/runtime 2107s ok 2 /utils-isolated/home-dir 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/user-cache-dir/.dirs/runtime 2107s ok 3 /utils-isolated/user-cache-dir 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/system-config-dirs/.dirs/runtime 2107s ok 4 /utils-isolated/system-config-dirs 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/user-config-dir/.dirs/runtime 2107s ok 5 /utils-isolated/user-config-dir 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/system-data-dirs/.dirs/runtime 2107s ok 6 /utils-isolated/system-data-dirs 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/user-data-dir/.dirs/runtime 2107s ok 7 /utils-isolated/user-data-dir 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/user-state-dir/.dirs/runtime 2107s ok 8 /utils-isolated/user-state-dir 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/user-runtime-dir/.dirs/runtime 2107s ok 9 /utils-isolated/user-runtime-dir 2107s # Start of cleanup tests 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/runtime 2107s Unable to clean up temporary directory /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty 2107s Unable to clean up temporary directory /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty 2107s Unable to clean up temporary directory /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/handles-errors: Directory not empty 2107s ok 10 /utils-isolated/cleanup/handles-errors 2107s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state 2107s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime 2107s Unable to clean up temporary directory /tmp/test_utils-isolated_12YD22/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory 2107s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks 2107s # End of cleanup tests 2107s # End of utils-isolated tests 2107s ok - glib/utils-isolated.test 2107s # Running test: glib/unix.test 2107s TAP version 14 2107s # random seed: R02S256e0f43361d549556d20e70cd9073e8 2107s 1..20 2107s # Start of glib-unix tests 2107s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec() 2107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247 2107s ok 1 /glib-unix/closefrom 2107s ok 2 /glib-unix/pipe 2107s # /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 2107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795 2107s ok 3 /glib-unix/pipe-stdio-overwrite 2107s # /glib-unix/pipe-struct summary: Test GUnixPipe structure 2107s ok 4 /glib-unix/pipe-struct 2107s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe) 2107s ok 5 /glib-unix/pipe-struct-auto 2107s ok 6 /glib-unix/error 2107s ok 7 /glib-unix/nonblocking 2107s ok 8 /glib-unix/sighup 2107s # slow test /glib-unix/sighup executed in 0.50 secs 2108s ok 9 /glib-unix/sigterm 2108s # slow test /glib-unix/sigterm executed in 0.50 secs 2108s ok 10 /glib-unix/sighup_again 2108s # slow test /glib-unix/sighup_again executed in 0.50 secs 2108s ok 11 /glib-unix/sighup_add_remove 2108s ok 12 /glib-unix/sighup_nested 2110s ok 13 /glib-unix/callback_after_signal 2110s # slow test /glib-unix/callback_after_signal executed in 2.00 secs 2110s ok 14 /glib-unix/child-wait 2110s # Start of closefrom tests 2110s # Start of subprocess tests 2110s # End of subprocess tests 2110s # End of closefrom tests 2110s # Start of pipe tests 2110s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe() 2110s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459 2110s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead 2110s ok 15 /glib-unix/pipe/fd-cloexec 2110s # End of pipe tests 2110s # Start of sighup tests 2111s # Executing: glib/unix.test 2111s ok 16 /glib-unix/sighup/alternate-stack 2111s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs 2111s # End of sighup tests 2111s # Start of sigterm tests 2112s ok 17 /glib-unix/sigterm/alternate-stack 2112s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs 2112s # End of sigterm tests 2112s # Start of sighup_again tests 2113s ok 18 /glib-unix/sighup_again/alternate-stack 2113s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.00 secs 2113s # End of sighup_again tests 2113s # Start of get-passwd-entry tests 2113s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username. 2113s ok 19 /glib-unix/get-passwd-entry/root 2113s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username. 2113s ok 20 /glib-unix/get-passwd-entry/nonexistent 2113s # End of get-passwd-entry tests 2113s # End of glib-unix tests 2113s ok - glib/unix.test 2113s # Running test: glib/closure.test 2113s TAP version 14 2113s # random seed: R02S3552ca306064dfa59a013d22579a0568 2113s 1..6 2113s # Start of closure tests 2113s ok 1 /closure/idle 2113s ok 2 /closure/timeout 2113s ok 3 /closure/iochannel 2113s ok 4 /closure/child 2113s ok 5 /closure/fd 2113s ok 6 /closure/signal 2113s # End of closure tests 2113s ok - glib/closure.test 2113s # Running test: glib/param.test 2113s TAP version 14 2113s # random seed: R02S319616c9b1407e58e3604305952bf3df 2113s 1..32 2113s # Start of param tests 2113s ok 1 /param/value 2113s ok 2 /param/strings 2113s ok 3 /param/qdata 2113s ok 4 /param/validate 2113s ok 5 /param/convert 2113s ok 6 /param/implement # SKIP Skipping slow /param/implement test 2113s ok 7 /param/default 2113s ok 8 /param/is-valid-name 2113s # Start of invalid-name tests 2113s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names 2113s ok 9 /param/invalid-name/colon 2113s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names 2113s ok 10 /param/invalid-name/first-char 2113s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names 2113s ok 11 /param/invalid-name/empty 2113s # End of invalid-name tests 2113s # Start of implement tests 2113s # Start of subprocess tests 2113s # End of subprocess tests 2113s # End of implement tests 2113s # End of param tests 2113s # Start of value tests 2113s ok 12 /value/transform 2113s # End of value tests 2113s # Start of paramspec tests 2113s ok 13 /paramspec/char 2113s ok 14 /paramspec/uchar 2113s ok 15 /paramspec/int 2113s ok 16 /paramspec/uint 2113s ok 17 /paramspec/long 2113s ok 18 /paramspec/ulong 2113s ok 19 /paramspec/int64 2113s ok 20 /paramspec/uint64 2113s ok 21 /paramspec/float 2113s ok 22 /paramspec/double 2113s ok 23 /paramspec/unichar 2113s ok 24 /paramspec/param 2113s ok 25 /paramspec/null-param 2113s ok 26 /paramspec/string 2113s ok 27 /paramspec/override 2113s ok 28 /paramspec/gtype 2113s ok 29 /paramspec/variant 2113s ok 30 /paramspec/custom 2113s ok 31 /paramspec/pool 2113s # Start of variant tests 2113s ok 32 /paramspec/variant/cmp 2113s # End of variant tests 2113s # End of paramspec tests 2113s ok - glib/param.test 2113s # Running test: glib/dir.test 2113s TAP version 14 2113s # random seed: R02S979556a9af817b8349eae44b7b29060d 2113s 1..3 2113s # Start of dir tests 2113s ok 1 /dir/read 2113s ok 2 /dir/nonexisting 2113s # /dir/refcounting summary: Test refcounting interactions with g_dir_close() 2113s ok 3 /dir/refcounting 2113s # End of dir tests 2114s ok - glib/dir.test 2114s # Running test: glib/bindinggroup.test 2114s TAP version 14 2114s # random seed: R02Sbacdbb8aabde5ea571713d59394c54b6 2114s 1..11 2114s # Start of GObject tests 2114s # Start of BindingGroup tests 2114s ok 1 /GObject/BindingGroup/invalid 2114s ok 2 /GObject/BindingGroup/default 2114s ok 3 /GObject/BindingGroup/bidirectional 2114s ok 4 /GObject/BindingGroup/transform 2114s ok 5 /GObject/BindingGroup/transform-closures 2114s ok 6 /GObject/BindingGroup/same-object 2114s ok 7 /GObject/BindingGroup/weak-ref-source 2114s ok 8 /GObject/BindingGroup/weak-ref-target 2114s ok 9 /GObject/BindingGroup/properties 2114s ok 10 /GObject/BindingGroup/weak-notify-no-bindings 2114s ok 11 /GObject/BindingGroup/empty-closures 2114s # End of BindingGroup tests 2114s # End of GObject tests 2114s ok - glib/bindinggroup.test 2114s # Running test: glib/portal-support-flatpak-none.test 2114s TAP version 14 2114s # random seed: R02Se361270fc405e2937d5c3cfede2a978c 2114s 1..1 2114s # Start of portal-support tests 2114s # Start of flatpak tests 2114s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/home 2114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/cache 2114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/system-config2 2114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/config 2114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/system-data2 2114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/data 2114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/state 2114s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/runtime 2114s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_NLO812/portal-support/flatpak/none/.dirs/runtime/.flatpak-info 2114s ok 1 /portal-support/flatpak/none 2114s # End of flatpak tests 2114s # End of portal-support tests 2114s ok - glib/portal-support-flatpak-none.test 2114s # Running test: glib/thread-pool-slow.test 2114s TAP version 14 2114s # random seed: R02S0a74d68d124d57229dd00ed17e1c1999 2114s 1..7 2114s # Start of threadpool tests 2114s ok 1 /threadpool/functions 2114s ok 2 /threadpool/stop-unused 2114s # slow test /threadpool/stop-unused executed in 0.51 secs 2114s ok 3 /threadpool/pools 2114s # [unsorted] ===> pushed new thread with id:46, number of threads:1, unprocessed:1 2114s # [unsorted] ===> pushed new thread with id:12, number of threads:2, unprocessed:2 2114s # [unsorted] ===> pushed new thread with id:53, number of threads:3, unprocessed:2 2114s # [unsorted] ===> pushed new thread with id:59, number of threads:4, unprocessed:3 2114s # [unsorted] ===> pushed new thread with id:20, number of threads:5, unprocessed:4 2114s # [unsorted] ===> pushed new thread with id:92, number of threads:6, unprocessed:5 2114s # [unsorted] ===> pushed new thread with id:87, number of threads:7, unprocessed:5 2114s # [unsorted] ===> pushed new thread with id:32, number of threads:8, unprocessed:6 2114s # [unsorted] ===> pushed new thread with id:28, number of threads:9, unprocessed:7 2114s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:0 2114s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:1 2114s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:2 2114s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:3 2114s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:4 2114s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:5 2114s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:6 2114s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:7 2114s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:8 2114s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:9 2114s # [unsorted] ===> pushed new thread with id:82, number of threads:10, unprocessed:10 2114s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:11 2114s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:12 2114s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:13 2114s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:14 2114s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:15 2114s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:16 2114s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:17 2114s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:18 2114s # [unsorted] ===> pushed new thread with id:26, number of threads:10, unprocessed:19 2114s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:20 2114s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:21 2114s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:22 2114s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:23 2114s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:24 2114s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:25 2114s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:26 2114s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:27 2114s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:28 2114s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:29 2114s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:30 2114s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:31 2114s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:32 2114s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:33 2114s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:34 2114s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:35 2114s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:36 2114s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:37 2114s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:38 2114s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:39 2114s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:40 2114s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:41 2114s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:42 2114s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:43 2114s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:44 2114s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:45 2114s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:46 2114s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:47 2114s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:48 2114s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:49 2114s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:50 2114s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:51 2114s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:52 2114s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:53 2114s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:54 2114s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:55 2114s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:56 2114s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:57 2114s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:58 2114s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:59 2114s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:60 2114s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:61 2114s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:62 2114s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:63 2114s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:64 2114s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:65 2114s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:66 2114s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:67 2114s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:68 2114s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:69 2114s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:70 2114s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:71 2114s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:72 2114s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:73 2114s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:74 2114s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:75 2114s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:76 2114s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:77 2114s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:78 2114s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:79 2114s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:80 2114s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:81 2114s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:82 2114s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:83 2114s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:84 2114s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:85 2114s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:86 2114s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:87 2114s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:88 2114s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:89 2114s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:90 2114s ok 4 /threadpool/no-sort 2114s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:1 2114s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:2 2114s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:3 2114s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:4 2114s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:5 2114s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:6 2114s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:7 2114s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:8 2114s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:9 2114s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:10 2114s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:11 2114s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:12 2114s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:13 2114s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:14 2114s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:15 2114s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:16 2114s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:17 2114s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:18 2114s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:19 2114s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:20 2114s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:21 2114s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:22 2114s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:23 2114s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:24 2114s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:25 2114s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:26 2114s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:27 2114s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:28 2114s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:29 2114s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:30 2114s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:31 2114s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:32 2114s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:33 2114s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:34 2114s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:35 2114s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:36 2114s # [ sorted] ===> pushed new thread with id:46, number of threads:0, unprocessed:37 2114s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:38 2114s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:39 2114s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:40 2114s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:41 2114s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:42 2114s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:43 2114s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:44 2114s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:45 2114s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:46 2114s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:47 2114s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:48 2114s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:49 2114s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:50 2114s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:51 2114s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:52 2114s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:53 2114s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:54 2114s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:55 2114s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:56 2114s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:57 2114s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:58 2114s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:59 2114s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:60 2114s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:61 2114s # [ sorted] ===> pushed new thread with id:60, number of threads:0, unprocessed:62 2114s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:63 2114s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:64 2114s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:65 2114s # [ sorted] ===> pushed new thread with id:16, number of threads:0, unprocessed:66 2114s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:67 2114s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:68 2114s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:69 2114s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:70 2114s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:71 2114s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:72 2114s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:73 2114s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:74 2114s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:75 2114s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:76 2114s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:77 2114s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:78 2114s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:79 2114s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:80 2114s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:81 2114s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:82 2114s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:83 2114s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:84 2114s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:85 2114s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:86 2114s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:87 2114s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:88 2114s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:89 2114s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:90 2114s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:91 2114s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:92 2114s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:93 2114s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:94 2114s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:95 2114s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:96 2114s # [ sorted] ===> pushed new thread with id:69, number of threads:0, unprocessed:97 2114s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:98 2114s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:99 2114s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:100 2114s # Starting thread pool processing 2114s ok 5 /threadpool/sort 2115s ok 6 /threadpool/stop-unused-multiple 2115s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 2115s # Pool idle thread count: 0, unprocessed jobs: 40 2115s # Pool idle thread count: 0, unprocessed jobs: 0 2115s # Pool idle thread count: 0, unprocessed jobs: 0 2116s # Pool idle thread count: 10, unprocessed jobs: 0 2116s # Pool idle thread count: 10, unprocessed jobs: 0 2116s # Pool idle thread count: 10, unprocessed jobs: 0 2116s # Pool idle thread count: 10, unprocessed jobs: 0 2116s # Executing: glib/thread-pool-slow.test 2117s # Pool idle thread count: 10, unprocessed jobs: 0 2117s # Pool idle thread count: 10, unprocessed jobs: 0 2117s # Pool idle thread count: 10, unprocessed jobs: 0 2117s # Pool idle thread count: 10, unprocessed jobs: 0 2118s # Pool idle thread count: 10, unprocessed jobs: 0 2118s # Pool idle thread count: 10, unprocessed jobs: 0 2118s # Pool idle thread count: 10, unprocessed jobs: 0 2118s # Pool idle thread count: 10, unprocessed jobs: 0 2119s # Pool idle thread count: 10, unprocessed jobs: 0 2119s # Pool idle thread count: 10, unprocessed jobs: 0 2119s # Pool idle thread count: 10, unprocessed jobs: 0 2119s # Pool idle thread count: 10, unprocessed jobs: 0 2120s # Pool idle thread count: 10, unprocessed jobs: 0 2120s # Pool idle thread count: 10, unprocessed jobs: 0 2120s # Pool idle thread count: 10, unprocessed jobs: 0 2120s # Pool idle thread count: 10, unprocessed jobs: 0 2121s # Pool idle thread count: 10, unprocessed jobs: 0 2121s # Pool idle thread count: 10, unprocessed jobs: 0 2121s # Pool idle thread count: 10, unprocessed jobs: 0 2121s # Pool idle thread count: 10, unprocessed jobs: 0 2121s # Executing: glib/thread-pool-slow.test 2122s # Pool idle thread count: 10, unprocessed jobs: 0 2122s # Pool idle thread count: 10, unprocessed jobs: 0 2122s # Pool idle thread count: 10, unprocessed jobs: 0 2122s # Pool idle thread count: 10, unprocessed jobs: 0 2123s # Pool idle thread count: 10, unprocessed jobs: 0 2123s # Pool idle thread count: 10, unprocessed jobs: 0 2123s # Pool idle thread count: 10, unprocessed jobs: 0 2123s # Pool idle thread count: 10, unprocessed jobs: 0 2124s # Pool idle thread count: 10, unprocessed jobs: 2 2124s # Pool idle thread count: 8, unprocessed jobs: 0 2124s # Pool idle thread count: 8, unprocessed jobs: 0 2124s # Pool idle thread count: 8, unprocessed jobs: 0 2124s # Pool idle thread count: 10, unprocessed jobs: 0 2124s # Pool idle thread count: 10, unprocessed jobs: 0 2125s # Pool idle thread count: 10, unprocessed jobs: 0 2125s # Pool idle thread count: 10, unprocessed jobs: 0 2125s # Pool idle thread count: 10, unprocessed jobs: 0 2125s # Pool idle thread count: 10, unprocessed jobs: 0 2126s # Pool idle thread count: 2, unprocessed jobs: 0 2126s # Pool idle thread count: 2, unprocessed jobs: 0 2126s # Pool idle thread count: 2, unprocessed jobs: 0 2126s # Pool idle thread count: 2, unprocessed jobs: 0 2126s # Executing: glib/thread-pool-slow.test 2127s # Pool idle thread count: 2, unprocessed jobs: 0 2127s # Pool idle thread count: 2, unprocessed jobs: 0 2127s # Pool idle thread count: 2, unprocessed jobs: 0 2127s # Pool idle thread count: 2, unprocessed jobs: 0 2128s # Pool idle thread count: 2, unprocessed jobs: 0 2128s # Pool idle thread count: 2, unprocessed jobs: 0 2128s # Pool idle thread count: 2, unprocessed jobs: 0 2128s # Pool idle thread count: 2, unprocessed jobs: 0 2129s # Pool idle thread count: 2, unprocessed jobs: 0 2129s # Pool idle thread count: 2, unprocessed jobs: 0 2129s # Pool idle thread count: 2, unprocessed jobs: 0 2129s # Pool idle thread count: 2, unprocessed jobs: 0 2130s # Pool idle thread count: 2, unprocessed jobs: 0 2130s # Pool idle thread count: 2, unprocessed jobs: 0 2130s # Pool idle thread count: 2, unprocessed jobs: 0 2130s # Pool idle thread count: 2, unprocessed jobs: 0 2131s # Pool idle thread count: 2, unprocessed jobs: 0 2131s # Pool idle thread count: 2, unprocessed jobs: 0 2131s # Pool idle thread count: 2, unprocessed jobs: 0 2131s # Pool idle thread count: 2, unprocessed jobs: 0 2131s # Executing: glib/thread-pool-slow.test 2132s # Pool idle thread count: 2, unprocessed jobs: 0 2132s # Pool idle thread count: 2, unprocessed jobs: 0 2132s # Pool idle thread count: 2, unprocessed jobs: 0 2132s # Pool idle thread count: 2, unprocessed jobs: 0 2133s # Pool idle thread count: 2, unprocessed jobs: 0 2133s # Pool idle thread count: 2, unprocessed jobs: 0 2133s # Pool idle thread count: 2, unprocessed jobs: 0 2133s # Pool idle thread count: 2, unprocessed jobs: 0 2134s # Pool idle thread count: 2, unprocessed jobs: 0 2134s # Pool idle thread count: 2, unprocessed jobs: 0 2134s ok 7 /threadpool/idle-time 2134s # slow test /threadpool/idle-time executed in 19.53 secs 2134s # End of threadpool tests 2134s ok - glib/thread-pool-slow.test 2134s # Running test: glib/socket.test 2134s TAP version 14 2134s # random seed: R02S5c8ec6f7f4d0edfde43a92da9dc0b189 2134s 1..28 2134s # Start of socket tests 2135s ok 1 /socket/ipv4_sync 2135s # slow test /socket/ipv4_sync executed in 1.00 secs 2136s ok 2 /socket/ipv4_async 2136s # slow test /socket/ipv4_async executed in 1.00 secs 2136s ok 3 /socket/ipv6_sync 2136s ok 4 /socket/ipv6_async 2136s ok 5 /socket/ipv6_v4mapped 2136s # Executing: glib/socket.test 2137s ok 6 /socket/close_graceful 2137s # slow test /socket/close_graceful executed in 1.00 secs 2137s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 2137s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 2137s ok 8 /socket/fd_reuse 2137s ok 9 /socket/address 2137s ok 10 /socket/unix-from-fd 2137s ok 11 /socket/unix-connection 2137s ok 12 /socket/unix-connection-ancillary-data 2137s ok 13 /socket/source-postmortem 2137s ok 14 /socket/read_write 2137s ok 15 /socket/read_writev 2137s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 2137s ok 16 /socket/receive_bytes 2137s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 2137s ok 17 /socket/receive_bytes_from 2137s # Start of ipv4_sync tests 2137s ok 18 /socket/ipv4_sync/datagram 2137s # Start of datagram tests 2138s ok 19 /socket/ipv4_sync/datagram/timeouts 2138s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 2138s # End of datagram tests 2138s # End of ipv4_sync tests 2138s # Start of ipv6_sync tests 2138s ok 20 /socket/ipv6_sync/datagram 2138s # Start of datagram tests 2139s ok 21 /socket/ipv6_sync/datagram/timeouts 2139s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 2139s # End of datagram tests 2139s # End of ipv6_sync tests 2139s # Start of reuse tests 2139s ok 22 /socket/reuse/tcp 2139s ok 23 /socket/reuse/udp 2139s # End of reuse tests 2139s # Start of get_available tests 2140s ok 24 /socket/get_available/datagram 2140s ok 25 /socket/get_available/stream 2140s # End of get_available tests 2140s # Start of credentials tests 2140s # Supported on this OS: GCredentials:linux-ucred:pid=0 2140s ok 26 /socket/credentials/tcp_client 2140s # Supported on this OS: GCredentials:linux-ucred:pid=0 2140s ok 27 /socket/credentials/tcp_server 2140s # Supported on this OS: GCredentials:linux-ucred:pid=8941,uid=1000,gid=1000 2140s ok 28 /socket/credentials/unix_socketpair 2140s # End of credentials tests 2140s # End of socket tests 2140s ok - glib/socket.test 2140s # Running test: glib/hmac.test 2140s TAP version 14 2140s # random seed: R02S272cc1babb9ab03227f58de79f5dfd61 2140s 1..37 2140s # Start of hmac tests 2140s ok 1 /hmac/sha1-1 2140s ok 2 /hmac/sha1-2 2140s ok 3 /hmac/sha1-3 2140s ok 4 /hmac/sha1-4 2140s ok 5 /hmac/sha1-5 2140s ok 6 /hmac/sha1-6 2140s ok 7 /hmac/sha1-7 2140s ok 8 /hmac/sha256-1 2140s ok 9 /hmac/sha256-2 2140s ok 10 /hmac/sha256-3 2140s ok 11 /hmac/sha256-4 2140s ok 12 /hmac/sha256-5 2140s ok 13 /hmac/sha256-6 2140s ok 14 /hmac/sha384-1 2140s ok 15 /hmac/sha384-2 2140s ok 16 /hmac/sha384-3 2140s ok 17 /hmac/sha384-4 2140s ok 18 /hmac/sha384-5 2140s ok 19 /hmac/sha384-6 2140s ok 20 /hmac/sha512-1 2140s ok 21 /hmac/sha512-2 2140s ok 22 /hmac/sha512-3 2140s ok 23 /hmac/sha512-4 2140s ok 24 /hmac/sha512-5 2140s ok 25 /hmac/sha512-6 2140s ok 26 /hmac/md5-1 2140s ok 27 /hmac/md5-2 2140s ok 28 /hmac/md5-3 2140s ok 29 /hmac/md5-4 2140s ok 30 /hmac/md5-5 2140s ok 31 /hmac/md5-6 2140s ok 32 /hmac/md5-7 2140s ok 33 /hmac/ref-unref 2140s ok 34 /hmac/copy 2140s ok 35 /hmac/for-data 2140s ok 36 /hmac/for-string 2140s ok 37 /hmac/for-bytes 2140s # End of hmac tests 2140s ok - glib/hmac.test 2140s # Running test: glib/memory-input-stream.test 2140s TAP version 14 2140s # random seed: R02S7e1de39ee7014316fc582361571d5425 2140s 1..6 2140s # Start of memory-input-stream tests 2140s ok 1 /memory-input-stream/read-chunks 2140s ok 2 /memory-input-stream/async 2140s ok 3 /memory-input-stream/seek 2140s ok 4 /memory-input-stream/truncate 2140s ok 5 /memory-input-stream/read-bytes 2140s ok 6 /memory-input-stream/from-bytes 2140s # End of memory-input-stream tests 2140s ok - glib/memory-input-stream.test 2140s # Running test: glib/simple-async-result.test 2140s TAP version 14 2140s # random seed: R02S043980f516924055fafe7ce85cab7155 2140s 1..2 2140s # Start of gio tests 2140s # Start of simple-async-result tests 2140s ok 1 /gio/simple-async-result/test 2140s # GLib-GIO-DEBUG: GTask 0xe3f8208 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program. 2140s ok 2 /gio/simple-async-result/valid 2140s # End of simple-async-result tests 2140s # End of gio tests 2140s ok - glib/simple-async-result.test 2140s # Running test: glib/test-printf.test 2140s TAP version 14 2140s # random seed: R02Sa717ac253435e9138909a485dd7a51d5 2140s 1..22 2140s # Start of snprintf tests 2140s ok 1 /snprintf/retval-and-trunc 2140s ok 2 /snprintf/%d 2140s ok 3 /snprintf/%d-invalid 2140s ok 4 /snprintf/%o 2140s ok 5 /snprintf/%u 2140s ok 6 /snprintf/%x 2140s ok 7 /snprintf/%X 2140s ok 8 /snprintf/%f 2140s ok 9 /snprintf/%e 2140s ok 10 /snprintf/%c 2140s ok 11 /snprintf/%s 2140s ok 12 /snprintf/%n 2140s ok 13 /snprintf/test-percent 2140s ok 14 /snprintf/test-positional-params 2140s ok 15 /snprintf/test-64bit 2140s # End of snprintf tests 2140s # Start of printf tests 2140s ok 16 /printf/test-percent 2140s ok 17 /printf/test-positional-params 2140s ok 18 /printf/test-64bit 2140s # Start of test-64bit tests 2140s # Start of subprocess tests 2140s # End of subprocess tests 2140s # End of test-64bit tests 2140s # End of printf tests 2140s # Start of sprintf tests 2140s ok 19 /sprintf/test-positional-params 2140s ok 20 /sprintf/upper-bound 2140s # End of sprintf tests 2140s # Start of vasprintf tests 2140s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf() 2140s ok 21 /vasprintf/invalid-format-placeholder 2140s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf() 2140s ok 22 /vasprintf/invalid-wide-string 2140s # End of vasprintf tests 2140s ok - glib/test-printf.test 2140s # Running test: glib/gdbus-threading.test 2140s TAP version 14 2140s # random seed: R02Sd365bcb6e5b4cc7151d3b99306cd686e 2140s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515) 2140s ok - glib/gdbus-threading.test 2140s # Running test: glib/cancellable.test 2140s TAP version 14 2140s # random seed: R02Se2e6962ada0370eb4ae7395b470d132a 2140s 1..11 2140s # Start of cancellable tests 2140s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test 2140s ok 2 /cancellable/null 2140s # /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 2140s ok 3 /cancellable/disconnect-on-cancelled-callback-hangs 2140s # /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 2140s ok 4 /cancellable/resets-on-cancel-callback-hangs 2140s ok 5 /cancellable/poll-fd 2140s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation 2140s ok 6 /cancellable/poll-fd-cancelled 2140s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD 2140s ok 7 /cancellable/poll-fd-cancelled-threaded 2140s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable 2140s ok 8 /cancellable/cancel-reset-races 2140s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable 2140s ok 9 /cancellable/cancel-reset-connect-races 2140s # End of cancellable tests 2140s # Start of cancellable-source tests 2140s # /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) 2140s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841 2141s ok 10 /cancellable-source/threaded-dispose 2141s # slow test /cancellable-source/threaded-dispose executed in 0.93 secs 2141s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times 2141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774 2141s ok 11 /cancellable-source/can-be-fired-multiple-times 2141s # End of cancellable-source tests 2141s ok - glib/cancellable.test 2141s # Running test: glib/atomic-c-89.test 2141s TAP version 14 2141s # random seed: R02S83c2db8655eb37e34f01484cef0ea108 2141s 1..2 2141s # Start of atomic tests 2141s ok 1 /atomic/types 2141s ok 2 /atomic/threaded 2141s # End of atomic tests 2141s ok - glib/atomic-c-89.test 2141s # Running test: glib/dataset.test 2141s TAP version 14 2141s # random seed: R02S7b60ca2590a9db87303e88190a6b00c4 2141s 1..14 2141s # Start of quark tests 2141s ok 1 /quark/basic 2141s ok 2 /quark/string 2141s # End of quark tests 2141s # Start of dataset tests 2141s ok 3 /dataset/basic 2141s ok 4 /dataset/id 2141s ok 5 /dataset/full 2141s ok 6 /dataset/foreach 2141s ok 7 /dataset/destroy 2141s # End of dataset tests 2141s # Start of datalist tests 2141s ok 8 /datalist/basic 2141s ok 9 /datalist/id 2141s ok 10 /datalist/recursive-clear 2141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 2141s ok 11 /datalist/id-remove-multiple 2141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672 2141s ok 12 /datalist/id-remove-multiple-destroy-order 2141s ok 13 /datalist/update-atomic 2141s # Start of id-remove-multiple tests 2141s ok 14 /datalist/id-remove-multiple/resize 2141s # End of id-remove-multiple tests 2141s # End of datalist tests 2141s ok - glib/dataset.test 2141s # Running test: glib/power-profile-monitor.test 2141s TAP version 14 2141s # random seed: R02Sa18511b13ae0577d26b4e500f695455a 2141s 1..1 2141s # Start of power-profile-monitor tests 2141s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals 2141s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor? 2141s ok 1 /power-profile-monitor/default 2141s # End of power-profile-monitor tests 2141s ok - glib/power-profile-monitor.test 2141s # Running test: glib/appmonitor.test 2141s TAP version 14 2141s # random seed: R02S22e56eaaf88fd1652b6c6b3f25f536a7 2141s 1..1 2141s # Start of monitor tests 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_931L22/monitor/app/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_931L22/monitor/app/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_931L22/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_931L22/monitor/app/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_931L22/monitor/app/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_931L22/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_931L22/monitor/app/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_931L22/monitor/app/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_931L22/monitor/app/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_931L22/monitor/app/.dirs/runtime 2141s # Using data directory: /tmp/test_appmonitor_931L22/monitor/app/.dirs/data 2141s ok 1 /monitor/app 2141s # End of monitor tests 2141s ok - glib/appmonitor.test 2141s # Running test: glib/object.test 2141s TAP version 14 2141s # random seed: R02S46a949095041581afb5eafa00e2db58f 2141s 1..2 2141s # Start of object tests 2141s # Start of constructor tests 2141s ok 1 /object/constructor/singleton 2141s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings 2141s # End of constructor tests 2141s # End of object tests 2141s ok - glib/object.test 2141s # Running test: glib/array-test.test 2141s TAP version 14 2141s # random seed: R02Sbd4697263bc8c923124a9feb035e69ca 2141s 1..113 2141s # Start of array tests 2141s ok 1 /array/ref-count 2141s ok 2 /array/steal 2141s ok 3 /array/clear-func 2141s ok 4 /array/binary-search 2141s # /array/copy-sized summary: Test that copying a newly-allocated sized array works. 2141s ok 5 /array/copy-sized 2141s ok 6 /array/overflow-append-vals 2141s ok 7 /array/overflow-set-size 2141s # Start of new tests 2141s ok 8 /array/new/zero-terminated 2141s ok 9 /array/new/take 2141s ok 10 /array/new/take-zero-terminated 2141s # Start of take tests 2141s ok 11 /array/new/take/empty 2141s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 2141s # End of take tests 2141s # End of new tests 2141s # Start of set-size tests 2141s ok 13 /array/set-size/non-zero-terminated-no-clear 2141s ok 14 /array/set-size/non-zero-terminated-clear 2141s ok 15 /array/set-size/zero-terminated-no-clear 2141s ok 16 /array/set-size/zero-terminated-clear 2141s # Start of sized tests 2141s ok 17 /array/set-size/sized/non-zero-terminated-no-clear 2141s ok 18 /array/set-size/sized/non-zero-terminated-clear 2141s ok 19 /array/set-size/sized/zero-terminated-no-clear 2141s ok 20 /array/set-size/sized/zero-terminated-clear 2141s # End of sized tests 2141s # End of set-size tests 2141s # Start of append-val tests 2141s ok 21 /array/append-val/non-zero-terminated-no-clear 2141s ok 22 /array/append-val/non-zero-terminated-clear 2141s ok 23 /array/append-val/zero-terminated-no-clear 2141s ok 24 /array/append-val/zero-terminated-clear 2141s # End of append-val tests 2141s # Start of prepend-val tests 2141s ok 25 /array/prepend-val/non-zero-terminated-no-clear 2141s ok 26 /array/prepend-val/non-zero-terminated-clear 2141s ok 27 /array/prepend-val/zero-terminated-no-clear 2141s ok 28 /array/prepend-val/zero-terminated-clear 2141s # End of prepend-val tests 2141s # Start of prepend-vals tests 2141s ok 29 /array/prepend-vals/non-zero-terminated-no-clear 2141s ok 30 /array/prepend-vals/non-zero-terminated-clear 2141s ok 31 /array/prepend-vals/zero-terminated-no-clear 2141s ok 32 /array/prepend-vals/zero-terminated-clear 2141s # End of prepend-vals tests 2141s # Start of insert-vals tests 2141s ok 33 /array/insert-vals/non-zero-terminated-no-clear 2141s ok 34 /array/insert-vals/non-zero-terminated-clear 2141s ok 35 /array/insert-vals/zero-terminated-no-clear 2141s ok 36 /array/insert-vals/zero-terminated-clear 2141s # End of insert-vals tests 2141s # Start of remove-index tests 2141s ok 37 /array/remove-index/non-zero-terminated-no-clear 2141s ok 38 /array/remove-index/non-zero-terminated-clear 2141s ok 39 /array/remove-index/zero-terminated-no-clear 2141s ok 40 /array/remove-index/zero-terminated-clear 2141s # End of remove-index tests 2141s # Start of remove-index-fast tests 2141s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear 2141s ok 42 /array/remove-index-fast/non-zero-terminated-clear 2141s ok 43 /array/remove-index-fast/zero-terminated-no-clear 2141s ok 44 /array/remove-index-fast/zero-terminated-clear 2141s # End of remove-index-fast tests 2141s # Start of remove-range tests 2141s ok 45 /array/remove-range/non-zero-terminated-no-clear 2141s ok 46 /array/remove-range/non-zero-terminated-clear 2141s ok 47 /array/remove-range/zero-terminated-no-clear 2141s ok 48 /array/remove-range/zero-terminated-clear 2141s # End of remove-range tests 2141s # Start of copy tests 2141s ok 49 /array/copy/non-zero-terminated-no-clear 2141s ok 50 /array/copy/non-zero-terminated-clear 2141s ok 51 /array/copy/zero-terminated-no-clear 2141s ok 52 /array/copy/zero-terminated-clear 2141s # End of copy tests 2141s # Start of sort tests 2141s ok 53 /array/sort/non-zero-terminated-no-clear 2141s ok 54 /array/sort/non-zero-terminated-clear 2141s ok 55 /array/sort/zero-terminated-no-clear 2141s ok 56 /array/sort/zero-terminated-clear 2141s # End of sort tests 2141s # Start of sort-with-data tests 2141s ok 57 /array/sort-with-data/non-zero-terminated-no-clear 2141s ok 58 /array/sort-with-data/non-zero-terminated-clear 2141s ok 59 /array/sort-with-data/zero-terminated-no-clear 2141s ok 60 /array/sort-with-data/zero-terminated-clear 2141s # End of sort-with-data tests 2141s # End of array tests 2141s # Start of pointerarray tests 2141s ok 61 /pointerarray/add 2141s ok 62 /pointerarray/insert 2141s ok 63 /pointerarray/new-take 2141s ok 64 /pointerarray/new-take-null-terminated 2141s ok 65 /pointerarray/new-from-array 2141s ok 66 /pointerarray/new-from-null-terminated-array 2141s ok 67 /pointerarray/free-func 2141s ok 68 /pointerarray/array_extend_and_steal 2141s ok 69 /pointerarray/sort 2141s ok 70 /pointerarray/sort-with-data 2141s ok 71 /pointerarray/sort-values 2141s ok 72 /pointerarray/sort-values-with-data 2141s ok 73 /pointerarray/remove-range 2141s ok 74 /pointerarray/steal 2141s # Start of free tests 2141s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array 2141s ok 75 /pointerarray/free/null-terminated 2141s # End of free tests 2141s # Start of new-take tests 2141s ok 76 /pointerarray/new-take/empty 2141s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 2141s ok 78 /pointerarray/new-take/with-free-func 2141s # End of new-take tests 2141s # Start of new-take-null-terminated tests 2141s ok 79 /pointerarray/new-take-null-terminated/empty 2141s ok 80 /pointerarray/new-take-null-terminated/with-free-func 2141s ok 81 /pointerarray/new-take-null-terminated/from-gstrv 2141s # End of new-take-null-terminated tests 2141s # Start of new-from-array tests 2141s ok 82 /pointerarray/new-from-array/empty 2141s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH. 2141s ok 84 /pointerarray/new-from-array/with-copy-and-free-func 2141s # End of new-from-array tests 2141s # Start of new-from-null-terminated-array tests 2141s ok 85 /pointerarray/new-from-null-terminated-array/empty 2141s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func 2141s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv 2141s # End of new-from-null-terminated-array tests 2141s # Start of ref-count tests 2141s ok 88 /pointerarray/ref-count/not-null-terminated 2141s ok 89 /pointerarray/ref-count/null-terminated 2141s # End of ref-count tests 2141s # Start of array_copy tests 2141s # /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 2141s ok 90 /pointerarray/array_copy/not-null-terminated 2141s # /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 2141s ok 91 /pointerarray/array_copy/null-terminated 2141s # End of array_copy tests 2141s # Start of array_extend tests 2141s ok 92 /pointerarray/array_extend/not-null-terminated 2141s ok 93 /pointerarray/array_extend/null-terminated 2141s # End of array_extend tests 2141s # Start of sort tests 2141s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct 2141s ok 94 /pointerarray/sort/example 2141s # End of sort tests 2141s # Start of sort-with-data tests 2141s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct 2141s ok 95 /pointerarray/sort-with-data/example 2141s # End of sort-with-data tests 2141s # Start of sort-values tests 2141s ok 96 /pointerarray/sort-values/example 2141s # End of sort-values tests 2141s # Start of sort-values-with-data tests 2141s ok 97 /pointerarray/sort-values-with-data/example 2141s # End of sort-values-with-data tests 2141s # Start of find tests 2141s ok 98 /pointerarray/find/empty 2141s ok 99 /pointerarray/find/non-empty 2141s # End of find tests 2141s # Start of steal_index tests 2141s ok 100 /pointerarray/steal_index/not-null-terminated 2141s ok 101 /pointerarray/steal_index/null-terminated 2141s # End of steal_index tests 2141s # End of pointerarray tests 2141s # Start of bytearray tests 2141s ok 102 /bytearray/steal 2141s ok 103 /bytearray/append 2141s ok 104 /bytearray/prepend 2141s ok 105 /bytearray/remove 2141s ok 106 /bytearray/remove-fast 2141s ok 107 /bytearray/remove-range 2141s ok 108 /bytearray/ref-count 2141s ok 109 /bytearray/sort 2141s ok 110 /bytearray/sort-with-data 2141s ok 111 /bytearray/new-take 2141s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT. 2141s ok 113 /bytearray/free-to-bytes 2141s # End of bytearray tests 2141s ok - glib/array-test.test 2141s # Running test: glib/file.test 2141s TAP version 14 2141s # random seed: R02S29a10c5b490c1a14b4c4d60d8ca283cc 2141s 1..55 2141s # Start of file tests 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/basic/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/basic/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/basic/.dirs/system-config1:/tmp/test_file_0VBK22/file/basic/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/basic/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/basic/.dirs/system-data1:/tmp/test_file_0VBK22/file/basic/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/basic/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/basic/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/basic/.dirs/runtime 2141s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’ 2141s ok 1 /file/basic 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/build-filename/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/build-filename/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/build-filename/.dirs/system-config1:/tmp/test_file_0VBK22/file/build-filename/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/build-filename/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/build-filename/.dirs/system-data1:/tmp/test_file_0VBK22/file/build-filename/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/build-filename/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/build-filename/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/build-filename/.dirs/runtime 2141s ok 2 /file/build-filename 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/build-filenamev/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/build-filenamev/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/build-filenamev/.dirs/system-config1:/tmp/test_file_0VBK22/file/build-filenamev/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/build-filenamev/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/build-filenamev/.dirs/system-data1:/tmp/test_file_0VBK22/file/build-filenamev/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/build-filenamev/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/build-filenamev/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/build-filenamev/.dirs/runtime 2141s ok 3 /file/build-filenamev 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/parent/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/parent/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/parent/.dirs/system-config1:/tmp/test_file_0VBK22/file/parent/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/parent/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/parent/.dirs/system-data1:/tmp/test_file_0VBK22/file/parent/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/parent/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/parent/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/parent/.dirs/runtime 2141s ok 4 /file/parent 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/child/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/child/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/child/.dirs/system-config1:/tmp/test_file_0VBK22/file/child/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/child/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/child/.dirs/system-data1:/tmp/test_file_0VBK22/file/child/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/child/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/child/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/child/.dirs/runtime 2141s ok 5 /file/child 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/empty-path/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/empty-path/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/empty-path/.dirs/system-config1:/tmp/test_file_0VBK22/file/empty-path/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/empty-path/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/empty-path/.dirs/system-data1:/tmp/test_file_0VBK22/file/empty-path/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/empty-path/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/empty-path/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/empty-path/.dirs/runtime 2141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328 2141s # /file/empty-path summary: Check that creating a file with an empty path results in errors 2141s ok 6 /file/empty-path 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/type/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/type/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/type/.dirs/system-config1:/tmp/test_file_0VBK22/file/type/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/type/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/type/.dirs/system-data1:/tmp/test_file_0VBK22/file/type/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/type/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/type/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/type/.dirs/runtime 2141s ok 7 /file/type 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/parse-name/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/parse-name/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/parse-name/.dirs/system-config1:/tmp/test_file_0VBK22/file/parse-name/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/parse-name/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/parse-name/.dirs/system-data1:/tmp/test_file_0VBK22/file/parse-name/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/parse-name/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/parse-name/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/parse-name/.dirs/runtime 2141s ok 8 /file/parse-name 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/replace-load/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/replace-load/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/replace-load/.dirs/system-config1:/tmp/test_file_0VBK22/file/replace-load/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/replace-load/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/replace-load/.dirs/system-data1:/tmp/test_file_0VBK22/file/replace-load/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/replace-load/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/replace-load/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/replace-load/.dirs/runtime 2141s ok 9 /file/replace-load 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/replace-cancel/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/replace-cancel/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/replace-cancel/.dirs/system-config1:/tmp/test_file_0VBK22/file/replace-cancel/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/replace-cancel/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/replace-cancel/.dirs/system-data1:/tmp/test_file_0VBK22/file/replace-cancel/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/replace-cancel/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/replace-cancel/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/replace-cancel/.dirs/runtime 2141s # Bug Reference: https://bugzilla.gnome.org/629301 2141s ok 10 /file/replace-cancel 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/replace-symlink/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/replace-symlink/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/replace-symlink/.dirs/system-config1:/tmp/test_file_0VBK22/file/replace-symlink/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/replace-symlink/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/replace-symlink/.dirs/system-data1:/tmp/test_file_0VBK22/file/replace-symlink/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/replace-symlink/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/replace-symlink/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/replace-symlink/.dirs/runtime 2141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325 2141s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks 2141s # Using temporary directory /tmp/test_file_0VBK22/g_file_replace_symlink_PBH112 2141s ok 11 /file/replace-symlink 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/async-new-tmp/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/async-new-tmp/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_0VBK22/file/async-new-tmp/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/async-new-tmp/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_0VBK22/file/async-new-tmp/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/async-new-tmp/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/async-new-tmp/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/async-new-tmp/.dirs/runtime 2141s ok 12 /file/async-new-tmp 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/async-new-tmp-dir/.dirs/runtime 2141s ok 13 /file/async-new-tmp-dir 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/async-delete/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/async-delete/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/async-delete/.dirs/system-config1:/tmp/test_file_0VBK22/file/async-delete/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/async-delete/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/async-delete/.dirs/system-data1:/tmp/test_file_0VBK22/file/async-delete/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/async-delete/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/async-delete/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/async-delete/.dirs/runtime 2141s ok 14 /file/async-delete 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/async-make-symlink/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/async-make-symlink/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_0VBK22/file/async-make-symlink/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/async-make-symlink/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_0VBK22/file/async-make-symlink/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/async-make-symlink/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/async-make-symlink/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/async-make-symlink/.dirs/runtime 2141s ok 15 /file/async-make-symlink 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/copy-preserve-mode/.dirs/runtime 2141s # Current umask: 2 2141s # Vector 0 2141s # Vector 1 2141s # Vector 2 2141s # Vector 3 2141s # Vector 4 2141s # Vector 5 2141s # Vector 6 2141s # Vector 7 2141s # Vector 8 2141s # Vector 9 2141s # Vector 10 2141s ok 16 /file/copy-preserve-mode 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/copy-async-with-closures/.dirs/runtime 2141s ok 17 /file/copy-async-with-closures 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/measure/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/measure/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/measure/.dirs/system-config1:/tmp/test_file_0VBK22/file/measure/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/measure/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/measure/.dirs/system-data1:/tmp/test_file_0VBK22/file/measure/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/measure/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/measure/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/measure/.dirs/runtime 2141s ok 18 /file/measure 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/measure-async/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/measure-async/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/measure-async/.dirs/system-config1:/tmp/test_file_0VBK22/file/measure-async/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/measure-async/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/measure-async/.dirs/system-data1:/tmp/test_file_0VBK22/file/measure-async/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/measure-async/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/measure-async/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/measure-async/.dirs/runtime 2141s ok 19 /file/measure-async 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/load-bytes/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/load-bytes/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/load-bytes/.dirs/system-config1:/tmp/test_file_0VBK22/file/load-bytes/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/load-bytes/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/load-bytes/.dirs/system-data1:/tmp/test_file_0VBK22/file/load-bytes/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/load-bytes/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/load-bytes/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/load-bytes/.dirs/runtime 2141s ok 20 /file/load-bytes 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/load-bytes-async/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/load-bytes-async/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_0VBK22/file/load-bytes-async/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/load-bytes-async/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_0VBK22/file/load-bytes-async/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/load-bytes-async/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/load-bytes-async/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/load-bytes-async/.dirs/runtime 2141s ok 21 /file/load-bytes-async 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/load-bytes-4gb/.dirs/runtime 2141s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/load-contents-4gb/.dirs/runtime 2141s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/load-contents-4gb-async/.dirs/runtime 2141s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/.dirs/runtime 2141s ok 25 /file/writev 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/build-attribute-list-for-copy/.dirs/runtime 2141s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::* 2141s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::* 2141s # 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::* 2141s # 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::* 2141s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::* 2141s # Attributes for copy: standard::size,xattr::* 2141s # Attributes for copy: standard::size,unix::mode,xattr::* 2141s ok 26 /file/build-attribute-list-for-copy 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/move_async/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/move_async/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/move_async/.dirs/system-config1:/tmp/test_file_0VBK22/file/move_async/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/move_async/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/move_async/.dirs/system-data1:/tmp/test_file_0VBK22/file/move_async/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/move_async/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/move_async/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/move_async/.dirs/runtime 2141s ok 27 /file/move_async 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/move-async-with-closures/.dirs/runtime 2141s ok 28 /file/move-async-with-closures 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/query-zero-length-content-type/.dirs/runtime 2141s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795 2141s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize 2141s ok 29 /file/query-zero-length-content-type 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/runtime 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/data/applications 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/config 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/config 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/config 2141s ok 30 /file/query-default-handler-file 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/runtime 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/data/applications 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/config 2141s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_0VBK22/file/query-default-handler-file/.dirs/config to /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/config 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/config 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/config 2141s ok 31 /file/query-default-handler-file-async 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/runtime 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/data/applications 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/config 2141s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_0VBK22/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/config 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/config 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/config 2141s ok 32 /file/query-default-handler-uri 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/runtime 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/data/applications 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/config 2141s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_0VBK22/file/query-default-handler-uri/.dirs/config to /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/config 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/config 2141s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_0VBK22/file/query-default-handler-uri-async/.dirs/config 2141s ok 33 /file/query-default-handler-uri-async 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/enumerator-cancellation/.dirs/runtime 2141s ok 34 /file/enumerator-cancellation 2141s # Start of async-create-delete tests 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/async-create-delete/0/.dirs/runtime 2141s ok 35 /file/async-create-delete/0 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/async-create-delete/1/.dirs/runtime 2141s ok 36 /file/async-create-delete/1 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/async-create-delete/10/.dirs/runtime 2141s # Executing: glib/file.test 2141s ok 37 /file/async-create-delete/10 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/async-create-delete/25/.dirs/runtime 2141s ok 38 /file/async-create-delete/25 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/async-create-delete/4096/.dirs/runtime 2141s ok 39 /file/async-create-delete/4096 2141s # End of async-create-delete tests 2141s # Start of replace-symlink tests 2141s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/home 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/cache 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/system-config2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/config 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/system-data2 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/data 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/state 2141s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/replace-symlink/using-etag/.dirs/runtime 2141s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417 2141s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink 2141s # Using temporary directory /tmp/test_file_0VBK22/g_file_replace_symlink_using_etag_II1912 2143s ok 40 /file/replace-symlink/using-etag 2143s # slow test /file/replace-symlink/using-etag executed in 2.00 secs 2143s # End of replace-symlink tests 2143s # Start of replace tests 2143s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/replace/write-only/.dirs/home 2143s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/replace/write-only/.dirs/cache 2143s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/replace/write-only/.dirs/system-config1:/tmp/test_file_0VBK22/file/replace/write-only/.dirs/system-config2 2143s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/replace/write-only/.dirs/config 2143s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/replace/write-only/.dirs/system-data1:/tmp/test_file_0VBK22/file/replace/write-only/.dirs/system-data2 2143s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/replace/write-only/.dirs/data 2143s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/replace/write-only/.dirs/state 2143s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/replace/write-only/.dirs/runtime 2143s # /file/replace/write-only summary: Test various situations for g_file_replace() 2143s # Current umask: 2 2143s # Test 0, using temporary directory /tmp/test_file_0VBK22/g_file_replace_TCR912 2143s # Test 1, using temporary directory /tmp/test_file_0VBK22/g_file_replace_IJR912 2143s # Test 2, using temporary directory /tmp/test_file_0VBK22/g_file_replace_LIT912 2143s # Test 3, using temporary directory /tmp/test_file_0VBK22/g_file_replace_UQI912 2143s # Test 4, using temporary directory /tmp/test_file_0VBK22/g_file_replace_LZI912 2143s # Test 5, using temporary directory /tmp/test_file_0VBK22/g_file_replace_H8I912 2143s # Test 6, using temporary directory /tmp/test_file_0VBK22/g_file_replace_SNK912 2143s # Test 7, using temporary directory /tmp/test_file_0VBK22/g_file_replace_JBM912 2143s # Test 8, using temporary directory /tmp/test_file_0VBK22/g_file_replace_RNM912 2143s # Test 9, using temporary directory /tmp/test_file_0VBK22/g_file_replace_MTM912 2144s # Test 10, using temporary directory /tmp/test_file_0VBK22/g_file_replace_6NO912 2144s # Test 11, using temporary directory /tmp/test_file_0VBK22/g_file_replace_GHSA22 2144s # Test 12, using temporary directory /tmp/test_file_0VBK22/g_file_replace_5RSA22 2144s # Test 13, using temporary directory /tmp/test_file_0VBK22/g_file_replace_P0SA22 2144s # Test 14, using temporary directory /tmp/test_file_0VBK22/g_file_replace_0NUA22 2144s # Test 15, using temporary directory /tmp/test_file_0VBK22/g_file_replace_3SWA22 2144s # Test 16, using temporary directory /tmp/test_file_0VBK22/g_file_replace_CYLA22 2144s # Test 17, using temporary directory /tmp/test_file_0VBK22/g_file_replace_5GNA22 2144s # Test 18, using temporary directory /tmp/test_file_0VBK22/g_file_replace_SSPA22 2144s # Test 19, using temporary directory /tmp/test_file_0VBK22/g_file_replace_6YEA22 2144s # Test 20, using temporary directory /tmp/test_file_0VBK22/g_file_replace_GQGA22 2144s # Test 21, using temporary directory /tmp/test_file_0VBK22/g_file_replace_ZQIA22 2144s # Test 22, using temporary directory /tmp/test_file_0VBK22/g_file_replace_NN8912 2144s # Test 23, using temporary directory /tmp/test_file_0VBK22/g_file_replace_QT8912 2144s # Test 24, using temporary directory /tmp/test_file_0VBK22/g_file_replace_PCBA22 2144s # Test 25, using temporary directory /tmp/test_file_0VBK22/g_file_replace_IHN812 2144s # Test 26, using temporary directory /tmp/test_file_0VBK22/g_file_replace_CSN812 2144s # Test 27, using temporary directory /tmp/test_file_0VBK22/g_file_replace_9ZN812 2144s # Test 28, using temporary directory /tmp/test_file_0VBK22/g_file_replace_13Q812 2144s # Test 29, using temporary directory /tmp/test_file_0VBK22/g_file_replace_ABT812 2144s # Test 30, using temporary directory /tmp/test_file_0VBK22/g_file_replace_UYG812 2144s # Test 31, using temporary directory /tmp/test_file_0VBK22/g_file_replace_85G812 2144s # Test 32, using temporary directory /tmp/test_file_0VBK22/g_file_replace_NYJ812 2144s # Test 33, using temporary directory /tmp/test_file_0VBK22/g_file_replace_Y7L812 2144s # Test 34, using temporary directory /tmp/test_file_0VBK22/g_file_replace_YIM812 2144s # Test 35, using temporary directory /tmp/test_file_0VBK22/g_file_replace_9TM812 2144s # Test 36, using temporary directory /tmp/test_file_0VBK22/g_file_replace_YVVC22 2144s # Test 37, using temporary directory /tmp/test_file_0VBK22/g_file_replace_1K0C22 2144s # Test 38, using temporary directory /tmp/test_file_0VBK22/g_file_replace_VSPC22 2144s # Test 39, using temporary directory /tmp/test_file_0VBK22/g_file_replace_9TRC22 2144s # Test 40, using temporary directory /tmp/test_file_0VBK22/g_file_replace_BZTC22 2144s # Test 41, using temporary directory /tmp/test_file_0VBK22/g_file_replace_FRJC22 2144s # Test 42, using temporary directory /tmp/test_file_0VBK22/g_file_replace_SBMC22 2144s # Test 43, using temporary directory /tmp/test_file_0VBK22/g_file_replace_55NC22 2144s # Test 44, using temporary directory /tmp/test_file_0VBK22/g_file_replace_YUDC22 2144s # Test 45, using temporary directory /tmp/test_file_0VBK22/g_file_replace_T4DC22 2144s # Test 46, using temporary directory /tmp/test_file_0VBK22/g_file_replace_8LFC22 2144s # Test 47, using temporary directory /tmp/test_file_0VBK22/g_file_replace_BVFC22 2144s # Test 48, using temporary directory /tmp/test_file_0VBK22/g_file_replace_6DHC22 2144s # We do not have CAP_DAC_OVERRIDE or equivalent 2144s ok 41 /file/replace/write-only 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/replace/read-write/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/replace/read-write/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/replace/read-write/.dirs/system-config1:/tmp/test_file_0VBK22/file/replace/read-write/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/replace/read-write/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/replace/read-write/.dirs/system-data1:/tmp/test_file_0VBK22/file/replace/read-write/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/replace/read-write/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/replace/read-write/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/replace/read-write/.dirs/runtime 2144s # /file/replace/read-write summary: Test various situations for g_file_replace() 2144s # Current umask: 2 2144s # Test 0, using temporary directory /tmp/test_file_0VBK22/g_file_replace_BUHC22 2144s # Test 1, using temporary directory /tmp/test_file_0VBK22/g_file_replace_RZHC22 2144s # Test 2, using temporary directory /tmp/test_file_0VBK22/g_file_replace_9PLD22 2144s # Test 3, using temporary directory /tmp/test_file_0VBK22/g_file_replace_YBND22 2144s # Test 4, using temporary directory /tmp/test_file_0VBK22/g_file_replace_KKND22 2144s # Test 5, using temporary directory /tmp/test_file_0VBK22/g_file_replace_7TND22 2144s # Test 6, using temporary directory /tmp/test_file_0VBK22/g_file_replace_08OD22 2144s # Test 7, using temporary directory /tmp/test_file_0VBK22/g_file_replace_Z8ED22 2144s # Test 8, using temporary directory /tmp/test_file_0VBK22/g_file_replace_PLFD22 2144s # Test 9, using temporary directory /tmp/test_file_0VBK22/g_file_replace_KPFD22 2144s # Test 10, using temporary directory /tmp/test_file_0VBK22/g_file_replace_NKHD22 2144s # Test 11, using temporary directory /tmp/test_file_0VBK22/g_file_replace_4AJD22 2144s # Test 12, using temporary directory /tmp/test_file_0VBK22/g_file_replace_PJJD22 2144s # Test 13, using temporary directory /tmp/test_file_0VBK22/g_file_replace_OPJD22 2144s # Test 14, using temporary directory /tmp/test_file_0VBK22/g_file_replace_KL8C22 2144s # Test 15, using temporary directory /tmp/test_file_0VBK22/g_file_replace_XJAD22 2144s # Test 16, using temporary directory /tmp/test_file_0VBK22/g_file_replace_E5BD22 2144s # Test 17, using temporary directory /tmp/test_file_0VBK22/g_file_replace_0JDD22 2144s # Test 18, using temporary directory /tmp/test_file_0VBK22/g_file_replace_UH2C22 2144s # Test 19, using temporary directory /tmp/test_file_0VBK22/g_file_replace_3U3C22 2144s # Test 20, using temporary directory /tmp/test_file_0VBK22/g_file_replace_CM5C22 2144s # Test 21, using temporary directory /tmp/test_file_0VBK22/g_file_replace_U96C22 2144s # Test 22, using temporary directory /tmp/test_file_0VBK22/g_file_replace_VOHB22 2144s # Test 23, using temporary directory /tmp/test_file_0VBK22/g_file_replace_PTHB22 2144s # Test 24, using temporary directory /tmp/test_file_0VBK22/g_file_replace_HBJB22 2144s # Test 25, using temporary directory /tmp/test_file_0VBK22/g_file_replace_JUKB22 2144s # Test 26, using temporary directory /tmp/test_file_0VBK22/g_file_replace_Q5KB22 2144s # Test 27, using temporary directory /tmp/test_file_0VBK22/g_file_replace_9BLB22 2144s # Test 28, using temporary directory /tmp/test_file_0VBK22/g_file_replace_T89A22 2144s # Test 29, using temporary directory /tmp/test_file_0VBK22/g_file_replace_2PBB22 2144s # Test 30, using temporary directory /tmp/test_file_0VBK22/g_file_replace_N1BB22 2144s # Test 31, using temporary directory /tmp/test_file_0VBK22/g_file_replace_D6BB22 2144s # Test 32, using temporary directory /tmp/test_file_0VBK22/g_file_replace_DYDB22 2144s # Test 33, using temporary directory /tmp/test_file_0VBK22/g_file_replace_2JFB22 2144s # Test 34, using temporary directory /tmp/test_file_0VBK22/g_file_replace_VSFB22 2144s # Test 35, using temporary directory /tmp/test_file_0VBK22/g_file_replace_4ZFB22 2144s # Test 36, using temporary directory /tmp/test_file_0VBK22/g_file_replace_OT4A22 2144s # Test 37, using temporary directory /tmp/test_file_0VBK22/g_file_replace_DG6A22 2144s # Test 38, using temporary directory /tmp/test_file_0VBK22/g_file_replace_3N7A22 2144s # Test 39, using temporary directory /tmp/test_file_0VBK22/g_file_replace_V98A22 2144s # Test 40, using temporary directory /tmp/test_file_0VBK22/g_file_replace_03XA22 2144s # Test 41, using temporary directory /tmp/test_file_0VBK22/g_file_replace_THZA22 2144s # Test 42, using temporary directory /tmp/test_file_0VBK22/g_file_replace_PL1A22 2144s # Test 43, using temporary directory /tmp/test_file_0VBK22/g_file_replace_NB6B22 2144s # Test 44, using temporary directory /tmp/test_file_0VBK22/g_file_replace_BU7B22 2144s # Test 45, using temporary directory /tmp/test_file_0VBK22/g_file_replace_S27B22 2144s # Test 46, using temporary directory /tmp/test_file_0VBK22/g_file_replace_0W9B22 2144s # Test 47, using temporary directory /tmp/test_file_0VBK22/g_file_replace_I49B22 2144s # Test 48, using temporary directory /tmp/test_file_0VBK22/g_file_replace_WKBC22 2144s # We do not have CAP_DAC_OVERRIDE or equivalent 2144s ok 42 /file/replace/read-write 2144s # End of replace tests 2144s # Start of copy tests 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/copy/progress/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/copy/progress/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/copy/progress/.dirs/system-config1:/tmp/test_file_0VBK22/file/copy/progress/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/copy/progress/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/copy/progress/.dirs/system-data1:/tmp/test_file_0VBK22/file/copy/progress/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/copy/progress/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/copy/progress/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/copy/progress/.dirs/runtime 2144s ok 43 /file/copy/progress 2144s # End of copy tests 2144s # Start of writev tests 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/no-bytes-written/.dirs/runtime 2144s ok 44 /file/writev/no-bytes-written 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/no-vectors/.dirs/runtime 2144s ok 45 /file/writev/no-vectors 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/empty-vectors/.dirs/runtime 2144s ok 46 /file/writev/empty-vectors 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/too-big-vectors/.dirs/runtime 2144s ok 47 /file/writev/too-big-vectors 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/async/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/async/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/async/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/async/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/async/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/async/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/async/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/async/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/async/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/async/.dirs/runtime 2144s ok 48 /file/writev/async 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/async_all/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/async_all/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/async_all/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/async_all/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/async_all/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/async_all/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/async_all/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/async_all/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/async_all/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/async_all/.dirs/runtime 2144s ok 49 /file/writev/async_all 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/async_all-empty-vectors/.dirs/runtime 2144s ok 50 /file/writev/async_all-empty-vectors 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/async_all-no-vectors/.dirs/runtime 2144s ok 51 /file/writev/async_all-no-vectors 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/async_all-to-big-vectors/.dirs/runtime 2144s ok 52 /file/writev/async_all-to-big-vectors 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/writev/async_all-cancellation/.dirs/runtime 2144s ok 53 /file/writev/async_all-cancellation 2144s # End of writev tests 2144s # Start of from-uri tests 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/from-uri/ignores-query-string/.dirs/runtime 2144s ok 54 /file/from-uri/ignores-query-string 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_0VBK22/file/from-uri/ignores-fragment/.dirs/runtime 2144s ok 55 /file/from-uri/ignores-fragment 2144s # End of from-uri tests 2144s # End of file tests 2144s ok - glib/file.test 2144s # Running test: glib/flags.test 2144s TAP version 14 2144s # random seed: R02Sf4d4b1d0705ecbda585c828e6896f3ba 2144s 1..1 2144s # Start of gobject tests 2144s # Start of flags tests 2144s ok 1 /gobject/flags/validate 2144s # End of flags tests 2144s # End of gobject tests 2144s ok - glib/flags.test 2144s # Running test: glib/gdbus-test-codegen-old.test 2144s TAP version 14 2144s # random seed: R02Sc2279ba617d00de3cbba6065714e330f 2144s 1..8 2144s # Start of gdbus tests 2144s # Start of codegen tests 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/annotations/.dirs/runtime 2144s ok 1 /gdbus/codegen/annotations 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/interface_stability/.dirs/runtime 2144s ok 2 /gdbus/codegen/interface_stability 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/object-manager/.dirs/runtime 2144s ok 3 /gdbus/codegen/object-manager 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/property-naming/.dirs/runtime 2144s ok 4 /gdbus/codegen/property-naming 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/autocleanups/.dirs/runtime 2144s ok 5 /gdbus/codegen/autocleanups 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/deprecations/.dirs/runtime 2144s ok 6 /gdbus/codegen/deprecations 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/standalone-interface-info/.dirs/runtime 2144s ok 7 /gdbus/codegen/standalone-interface-info 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_ZGNB22/gdbus/codegen/unix-fd-list/.dirs/runtime 2144s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 2144s ok 8 /gdbus/codegen/unix-fd-list 2144s # End of codegen tests 2144s # End of gdbus tests 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2144s ok - glib/gdbus-test-codegen-old.test 2144s # Running test: glib/signals.test 2144s TAP version 14 2144s # random seed: R02S187140f60509b33c5fb1c2cdfadb4567 2144s 1..31 2144s # Start of gobject tests 2144s # Start of signals tests 2144s ok 1 /gobject/signals/all-types 2144s ok 2 /gobject/signals/variant 2144s ok 3 /gobject/signals/destroy-target-object 2144s ok 4 /gobject/signals/generic-marshaller-1 2144s ok 5 /gobject/signals/generic-marshaller-2 2144s ok 6 /gobject/signals/generic-marshaller-enum-return-signed 2144s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned 2144s ok 8 /gobject/signals/generic-marshaller-int-return 2144s ok 9 /gobject/signals/generic-marshaller-uint-return 2144s ok 10 /gobject/signals/generic-marshaller-interface-return 2144s ok 11 /gobject/signals/custom-marshaller 2144s ok 12 /gobject/signals/connect 2144s ok 13 /gobject/signals/emission-hook 2144s ok 14 /gobject/signals/emitv 2144s ok 15 /gobject/signals/accumulator 2144s # Signal: accumulator-class-first 2144s # Signal: accumulator-class-last 2144s # Signal: accumulator-class-cleanup 2144s # Signal: accumulator-class-first-last 2144s # Signal: accumulator-class-first-last-cleanup 2144s # Signal: accumulator-class-last-cleanup 2144s ok 16 /gobject/signals/accumulator-class 2144s ok 17 /gobject/signals/introspection 2144s ok 18 /gobject/signals/block-handler 2144s ok 19 /gobject/signals/stop-emission 2144s ok 20 /gobject/signals/invocation-hint 2144s ok 21 /gobject/signals/test-disconnection-wrong-object 2144s ok 22 /gobject/signals/clear-signal-handler 2144s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs. 2144s ok 23 /gobject/signals/lookup 2144s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs. 2144s ok 24 /gobject/signals/parse-name 2144s ok 25 /gobject/signals/is-valid-name 2144s ok 26 /gobject/signals/weak-ref-disconnect 2144s # Start of lookup tests 2144s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name. 2144s ok 27 /gobject/signals/lookup/invalid 2144s # End of lookup tests 2144s # Start of parse-name tests 2144s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs. 2144s # Parser input: 2144s # Parser input: 7zip 2144s # Parser input: invalid:signal 2144s # Parser input: simple-detailed:: 2144s # Parser input: simple-detailed: 2144s # Parser input: : 2144s # Parser input: :: 2144s # Parser input: :valid-detail 2144s # Parser input: ::valid-detail 2144s ok 28 /gobject/signals/parse-name/invalid 2144s # End of parse-name tests 2144s # Start of invalid-name tests 2144s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names. 2144s ok 29 /gobject/signals/invalid-name/colon 2144s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names. 2144s ok 30 /gobject/signals/invalid-name/first-char 2144s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names. 2144s ok 31 /gobject/signals/invalid-name/empty 2144s # End of invalid-name tests 2144s # End of signals tests 2144s # End of gobject tests 2144s ok - glib/signals.test 2144s # Running test: glib/hook.test 2144s TAP version 14 2144s # random seed: R02S9a97b164bc1df5cbb8a459c949a90817 2144s 1..2 2144s # Start of hook tests 2144s ok 1 /hook/basics 2144s ok 2 /hook/corner-cases 2144s # End of hook tests 2144s ok - glib/hook.test 2144s # Running test: glib/srvtarget.test 2144s TAP version 14 2144s # random seed: R02S3f74ad7dcb0bfdb59da5df28cac07f6b 2144s 1..1 2144s # Start of srvtarget tests 2144s ok 1 /srvtarget/srv-target-ordering 2144s # slow test /srvtarget/srv-target-ordering executed in 0.60 secs 2144s # End of srvtarget tests 2144s ok - glib/srvtarget.test 2144s # Running test: glib/buffered-output-stream.test 2144s TAP version 14 2144s # random seed: R02S7dd13b6dd12ffc81f611b4eb952489bc 2144s 1..5 2144s # Start of buffered-output-stream tests 2144s ok 1 /buffered-output-stream/write 2144s ok 2 /buffered-output-stream/grow 2144s ok 3 /buffered-output-stream/seek 2144s ok 4 /buffered-output-stream/truncate 2144s # End of buffered-output-stream tests 2144s # Start of filter-output-stream tests 2144s ok 5 /filter-output-stream/close 2144s # End of filter-output-stream tests 2144s ok - glib/buffered-output-stream.test 2144s # Running test: glib/gdbus-sasl.test 2144s TAP version 14 2144s # random seed: R02Sfc09a4881ae688b9462dca5aa9932702 2144s 1..1 2144s # Start of gdbus tests 2144s # Start of sasl tests 2144s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/home 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/cache 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/system-config2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/config 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/system-data2 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/data 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/state 2144s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_D8X612/gdbus/sasl/server/.dirs/runtime 2144s # New handshake: EXTERNAL with incorrect initial response 2144s # C:“AUTH EXTERNAL 30” 2144s # Expect: /^REJECTED.*$/ 2144s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 2144s # New handshake: EXTERNAL without initial response, failing to authenticate 2144s # C:“AUTH EXTERNAL” 2144s # Expect: /^DATA$/ 2144s # S:“DATA” 2144s # C:“DATA 30” 2144s # Expect: /^REJECTED.*$/ 2144s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1” 2144s # New handshake: EXTERNAL with initial response 2144s # C:“AUTH EXTERNAL 31303030” 2144s # Expect: /^OK [0-9a-f]+$/ 2144s # S:“OK 15e8e48788ea9093e1be3e7867b96028” 2144s # New handshake: EXTERNAL without initial response 2144s # C:“AUTH EXTERNAL” 2144s # Expect: /^DATA$/ 2144s # S:“DATA” 2144s # C:“DATA 31303030” 2144s # Expect: /^OK [0-9a-f]+$/ 2144s # S:“OK 15e8e48788ea9093e1be3e7867b96028” 2144s # New handshake: EXTERNAL with empty authorization identity 2144s # C:“AUTH EXTERNAL” 2144s # Expect: /^DATA$/ 2144s # S:“DATA” 2144s # C:“DATA” 2144s # Expect: /^OK [0-9a-f]+$/ 2144s # S:“OK 15e8e48788ea9093e1be3e7867b96028” 2144s # New handshake: EXTERNAL with empty authorization identity and whitespace 2144s # C:“AUTH EXTERNAL” 2144s # Expect: /^DATA$/ 2144s # S:“DATA” 2144s # C:“DATA ” 2144s # Expect: /^OK [0-9a-f]+$/ 2144s # S:“OK 15e8e48788ea9093e1be3e7867b96028” 2144s ok 1 /gdbus/sasl/server 2144s # End of sasl tests 2144s # End of gdbus tests 2144s ok - glib/gdbus-sasl.test 2144s # Running test: glib/power-profile-monitor-portal.test 2145s TAP version 13 2145s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available 2145s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available 2145s 1..2 2145s ok - glib/power-profile-monitor-portal.test 2145s # Running test: glib/sequence.test 2145s TAP version 14 2145s # random seed: R02S43dc7762b8522c62afe0acb0bb460df0 2145s 1..16 2145s # Start of sequence tests 2145s ok 1 /sequence/out-of-range-jump 2145s ok 2 /sequence/iter-move 2145s ok 3 /sequence/insert-sorted-non-pointer 2145s ok 4 /sequence/stable-sort 2145s ok 5 /sequence/is_empty 2145s # Start of random tests 2146s ok 6 /sequence/random/seed:825541564 2146s # slow test /sequence/random/seed:825541564 executed in 0.64 secs 2146s # Executing: glib/sequence.test 2146s ok 7 /sequence/random/seed:801678400 2146s # slow test /sequence/random/seed:801678400 executed in 0.61 secs 2147s ok 8 /sequence/random/seed:1477639090 2147s # slow test /sequence/random/seed:1477639090 executed in 0.63 secs 2148s ok 9 /sequence/random/seed:3369132895 2148s # slow test /sequence/random/seed:3369132895 executed in 0.59 secs 2148s ok 10 /sequence/random/seed:1192944867 2148s # slow test /sequence/random/seed:1192944867 executed in 0.61 secs 2149s ok 11 /sequence/random/seed:770458294 2149s # slow test /sequence/random/seed:770458294 executed in 0.65 secs 2149s ok 12 /sequence/random/seed:1099575817 2149s # slow test /sequence/random/seed:1099575817 executed in 0.61 secs 2150s ok 13 /sequence/random/seed:590523467 2150s # slow test /sequence/random/seed:590523467 executed in 0.63 secs 2151s ok 14 /sequence/random/seed:3583571454 2151s # slow test /sequence/random/seed:3583571454 executed in 0.64 secs 2151s # Executing: glib/sequence.test 2151s ok 15 /sequence/random/seed:579241222 2151s # slow test /sequence/random/seed:579241222 executed in 0.63 secs 2152s ok 16 /sequence/random/seed:555504869 2152s # slow test /sequence/random/seed:555504869 executed in 0.60 secs 2152s # End of random tests 2152s # End of sequence tests 2152s ok - glib/sequence.test 2152s # Running test: glib/bitlock.test 2152s TAP version 14 2152s # random seed: R02S126b7fa7c703eb1554507ba46fb3f5e0 2152s 1..1 2152s # Start of bitlock tests 2152s # Start of performance tests 2152s # max perf: iterations per second 2152s ok 1 /bitlock/performance/uncontended 2152s # End of performance tests 2152s # End of bitlock tests 2152s ok - glib/bitlock.test 2152s # Running test: glib/macros-c-11.test 2152s TAP version 14 2152s # random seed: R02Sc3eb13a38d4b89696e6ca2c9ecd5b6fd 2152s 1..4 2152s # Start of C tests 2152s ok 1 /C/standard-11 2152s # End of C tests 2152s # Start of alignof tests 2152s ok 2 /alignof/fallback 2152s # End of alignof tests 2152s # Start of assert tests 2152s ok 3 /assert/static 2152s # End of assert tests 2152s # Start of struct tests 2152s ok 4 /struct/sizeof_member 2152s # End of struct tests 2152s ok - glib/macros-c-11.test 2152s # Running test: glib/basics-gobject.test 2152s TAP version 14 2152s # random seed: R02S40394fba3b78633d9a45d83f115a2f5c 2152s 1..1 2152s # Start of gobject tests 2152s # private data during initialization: 54321 == 54321 2152s # MAIN: emit test-signal: 2152s # ::test_signal default_handler called 2152s # ::test_signal default_handler called 2152s # ::test_signal default_handler called 2152s # signal return: "" 2152s # MAIN: call iface print-string on test and derived object: 2152s # Iface-FOO: "iface-string-from-test-type" from 0x1304c48 2152s # Iface-BAR: "iface-string-from-derived-type" from 0x1304b28 2152s # chaining: 2152s # Iface-FOO: "iface-string-from-derived-type" from 0x1304b28 2152s # private data after initialization: 54321 == 54321 2152s ok 1 /gobject/basics 2152s # End of gobject tests 2152s ok - glib/basics-gobject.test 2152s # Running test: glib/checksum.test 2152s TAP version 14 2152s # random seed: R02S885be369273e73c3cc8641ce5d760655 2152s 1..1851 2152s # Start of checksum tests 2152s ok 1 /checksum/unsupported 2152s # Start of MD5 tests 2152s ok 2 /checksum/MD5/0 2152s ok 3 /checksum/MD5/1 2152s ok 4 /checksum/MD5/2 2152s ok 5 /checksum/MD5/3 2152s ok 6 /checksum/MD5/4 2152s ok 7 /checksum/MD5/5 2152s ok 8 /checksum/MD5/6 2152s ok 9 /checksum/MD5/7 2152s ok 10 /checksum/MD5/8 2152s ok 11 /checksum/MD5/9 2152s ok 12 /checksum/MD5/10 2152s ok 13 /checksum/MD5/11 2152s ok 14 /checksum/MD5/12 2152s ok 15 /checksum/MD5/13 2152s ok 16 /checksum/MD5/14 2152s ok 17 /checksum/MD5/15 2152s ok 18 /checksum/MD5/16 2152s ok 19 /checksum/MD5/17 2152s ok 20 /checksum/MD5/18 2152s ok 21 /checksum/MD5/19 2152s ok 22 /checksum/MD5/20 2152s ok 23 /checksum/MD5/21 2152s ok 24 /checksum/MD5/22 2152s ok 25 /checksum/MD5/23 2152s ok 26 /checksum/MD5/24 2152s ok 27 /checksum/MD5/25 2152s ok 28 /checksum/MD5/26 2152s ok 29 /checksum/MD5/27 2152s ok 30 /checksum/MD5/28 2152s ok 31 /checksum/MD5/29 2152s ok 32 /checksum/MD5/30 2152s ok 33 /checksum/MD5/31 2152s ok 34 /checksum/MD5/32 2152s ok 35 /checksum/MD5/33 2152s ok 36 /checksum/MD5/34 2152s ok 37 /checksum/MD5/35 2152s ok 38 /checksum/MD5/36 2152s ok 39 /checksum/MD5/37 2152s ok 40 /checksum/MD5/38 2152s ok 41 /checksum/MD5/39 2152s ok 42 /checksum/MD5/40 2152s ok 43 /checksum/MD5/41 2152s ok 44 /checksum/MD5/42 2152s ok 45 /checksum/MD5/43 2152s ok 46 /checksum/MD5/44 2152s ok 47 /checksum/MD5/45 2152s ok 48 /checksum/MD5/46 2152s ok 49 /checksum/MD5/47 2152s ok 50 /checksum/MD5/48 2152s ok 51 /checksum/MD5/49 2152s ok 52 /checksum/MD5/50 2152s ok 53 /checksum/MD5/51 2152s ok 54 /checksum/MD5/52 2152s ok 55 /checksum/MD5/53 2152s ok 56 /checksum/MD5/54 2152s ok 57 /checksum/MD5/55 2152s ok 58 /checksum/MD5/56 2152s ok 59 /checksum/MD5/57 2152s ok 60 /checksum/MD5/58 2152s ok 61 /checksum/MD5/59 2152s ok 62 /checksum/MD5/60 2152s ok 63 /checksum/MD5/61 2152s ok 64 /checksum/MD5/62 2152s ok 65 /checksum/MD5/63 2152s ok 66 /checksum/MD5/64 2152s ok 67 /checksum/MD5/65 2152s ok 68 /checksum/MD5/66 2152s ok 69 /checksum/MD5/67 2152s ok 70 /checksum/MD5/68 2152s ok 71 /checksum/MD5/69 2152s ok 72 /checksum/MD5/70 2152s ok 73 /checksum/MD5/71 2152s ok 74 /checksum/MD5/72 2152s ok 75 /checksum/MD5/73 2152s ok 76 /checksum/MD5/74 2152s ok 77 /checksum/MD5/75 2152s ok 78 /checksum/MD5/76 2152s ok 79 /checksum/MD5/77 2152s ok 80 /checksum/MD5/78 2152s ok 81 /checksum/MD5/79 2152s ok 82 /checksum/MD5/80 2152s ok 83 /checksum/MD5/81 2152s ok 84 /checksum/MD5/82 2152s ok 85 /checksum/MD5/83 2152s ok 86 /checksum/MD5/84 2152s ok 87 /checksum/MD5/85 2152s ok 88 /checksum/MD5/86 2152s ok 89 /checksum/MD5/87 2152s ok 90 /checksum/MD5/88 2152s ok 91 /checksum/MD5/89 2152s ok 92 /checksum/MD5/90 2152s ok 93 /checksum/MD5/91 2152s ok 94 /checksum/MD5/92 2152s ok 95 /checksum/MD5/93 2152s ok 96 /checksum/MD5/94 2152s ok 97 /checksum/MD5/95 2152s ok 98 /checksum/MD5/96 2152s ok 99 /checksum/MD5/97 2152s ok 100 /checksum/MD5/98 2152s ok 101 /checksum/MD5/99 2152s ok 102 /checksum/MD5/100 2152s ok 103 /checksum/MD5/101 2152s ok 104 /checksum/MD5/102 2152s ok 105 /checksum/MD5/103 2152s ok 106 /checksum/MD5/104 2152s ok 107 /checksum/MD5/105 2152s ok 108 /checksum/MD5/106 2152s ok 109 /checksum/MD5/107 2152s ok 110 /checksum/MD5/108 2152s ok 111 /checksum/MD5/109 2152s ok 112 /checksum/MD5/110 2152s ok 113 /checksum/MD5/111 2152s ok 114 /checksum/MD5/112 2152s ok 115 /checksum/MD5/113 2152s ok 116 /checksum/MD5/114 2152s ok 117 /checksum/MD5/115 2152s ok 118 /checksum/MD5/116 2152s ok 119 /checksum/MD5/117 2152s ok 120 /checksum/MD5/118 2152s ok 121 /checksum/MD5/119 2152s ok 122 /checksum/MD5/120 2152s ok 123 /checksum/MD5/121 2152s ok 124 /checksum/MD5/122 2152s ok 125 /checksum/MD5/123 2152s ok 126 /checksum/MD5/124 2152s ok 127 /checksum/MD5/125 2152s ok 128 /checksum/MD5/126 2152s ok 129 /checksum/MD5/127 2152s ok 130 /checksum/MD5/128 2152s ok 131 /checksum/MD5/129 2152s ok 132 /checksum/MD5/130 2152s ok 133 /checksum/MD5/131 2152s ok 134 /checksum/MD5/132 2152s ok 135 /checksum/MD5/133 2152s ok 136 /checksum/MD5/134 2152s ok 137 /checksum/MD5/135 2152s ok 138 /checksum/MD5/136 2152s ok 139 /checksum/MD5/137 2152s ok 140 /checksum/MD5/138 2152s ok 141 /checksum/MD5/139 2152s ok 142 /checksum/MD5/140 2152s ok 143 /checksum/MD5/141 2152s ok 144 /checksum/MD5/142 2152s ok 145 /checksum/MD5/143 2152s ok 146 /checksum/MD5/144 2152s ok 147 /checksum/MD5/145 2152s ok 148 /checksum/MD5/146 2152s ok 149 /checksum/MD5/147 2152s ok 150 /checksum/MD5/148 2152s ok 151 /checksum/MD5/149 2152s ok 152 /checksum/MD5/150 2152s ok 153 /checksum/MD5/151 2152s ok 154 /checksum/MD5/152 2152s ok 155 /checksum/MD5/153 2152s ok 156 /checksum/MD5/154 2152s ok 157 /checksum/MD5/155 2152s ok 158 /checksum/MD5/156 2152s ok 159 /checksum/MD5/157 2152s ok 160 /checksum/MD5/158 2152s ok 161 /checksum/MD5/159 2152s ok 162 /checksum/MD5/160 2152s ok 163 /checksum/MD5/161 2152s ok 164 /checksum/MD5/162 2152s ok 165 /checksum/MD5/163 2152s ok 166 /checksum/MD5/164 2152s ok 167 /checksum/MD5/165 2152s ok 168 /checksum/MD5/166 2152s ok 169 /checksum/MD5/167 2152s ok 170 /checksum/MD5/168 2152s ok 171 /checksum/MD5/169 2152s ok 172 /checksum/MD5/170 2152s ok 173 /checksum/MD5/171 2152s ok 174 /checksum/MD5/172 2152s ok 175 /checksum/MD5/173 2152s ok 176 /checksum/MD5/174 2152s ok 177 /checksum/MD5/175 2152s ok 178 /checksum/MD5/176 2152s ok 179 /checksum/MD5/177 2152s ok 180 /checksum/MD5/178 2152s ok 181 /checksum/MD5/179 2152s ok 182 /checksum/MD5/180 2152s ok 183 /checksum/MD5/181 2152s ok 184 /checksum/MD5/182 2152s ok 185 /checksum/MD5/183 2152s ok 186 /checksum/MD5/string 2152s ok 187 /checksum/MD5/bytes 2152s # Start of reset tests 2152s ok 188 /checksum/MD5/reset/0 2152s ok 189 /checksum/MD5/reset/1 2152s ok 190 /checksum/MD5/reset/2 2152s ok 191 /checksum/MD5/reset/3 2152s ok 192 /checksum/MD5/reset/4 2152s ok 193 /checksum/MD5/reset/5 2152s ok 194 /checksum/MD5/reset/6 2152s ok 195 /checksum/MD5/reset/7 2152s ok 196 /checksum/MD5/reset/8 2152s ok 197 /checksum/MD5/reset/9 2152s ok 198 /checksum/MD5/reset/10 2152s ok 199 /checksum/MD5/reset/11 2152s ok 200 /checksum/MD5/reset/12 2152s ok 201 /checksum/MD5/reset/13 2152s ok 202 /checksum/MD5/reset/14 2152s ok 203 /checksum/MD5/reset/15 2152s ok 204 /checksum/MD5/reset/16 2152s ok 205 /checksum/MD5/reset/17 2152s ok 206 /checksum/MD5/reset/18 2152s ok 207 /checksum/MD5/reset/19 2152s ok 208 /checksum/MD5/reset/20 2152s ok 209 /checksum/MD5/reset/21 2152s ok 210 /checksum/MD5/reset/22 2152s ok 211 /checksum/MD5/reset/23 2152s ok 212 /checksum/MD5/reset/24 2152s ok 213 /checksum/MD5/reset/25 2152s ok 214 /checksum/MD5/reset/26 2152s ok 215 /checksum/MD5/reset/27 2152s ok 216 /checksum/MD5/reset/28 2152s ok 217 /checksum/MD5/reset/29 2152s ok 218 /checksum/MD5/reset/30 2152s ok 219 /checksum/MD5/reset/31 2152s ok 220 /checksum/MD5/reset/32 2152s ok 221 /checksum/MD5/reset/33 2152s ok 222 /checksum/MD5/reset/34 2152s ok 223 /checksum/MD5/reset/35 2152s ok 224 /checksum/MD5/reset/36 2152s ok 225 /checksum/MD5/reset/37 2152s ok 226 /checksum/MD5/reset/38 2152s ok 227 /checksum/MD5/reset/39 2152s ok 228 /checksum/MD5/reset/40 2152s ok 229 /checksum/MD5/reset/41 2152s ok 230 /checksum/MD5/reset/42 2152s ok 231 /checksum/MD5/reset/43 2152s ok 232 /checksum/MD5/reset/44 2152s ok 233 /checksum/MD5/reset/45 2152s ok 234 /checksum/MD5/reset/46 2152s ok 235 /checksum/MD5/reset/47 2152s ok 236 /checksum/MD5/reset/48 2152s ok 237 /checksum/MD5/reset/49 2152s ok 238 /checksum/MD5/reset/50 2152s ok 239 /checksum/MD5/reset/51 2152s ok 240 /checksum/MD5/reset/52 2152s ok 241 /checksum/MD5/reset/53 2152s ok 242 /checksum/MD5/reset/54 2152s ok 243 /checksum/MD5/reset/55 2152s ok 244 /checksum/MD5/reset/56 2152s ok 245 /checksum/MD5/reset/57 2152s ok 246 /checksum/MD5/reset/58 2152s ok 247 /checksum/MD5/reset/59 2152s ok 248 /checksum/MD5/reset/60 2152s ok 249 /checksum/MD5/reset/61 2152s ok 250 /checksum/MD5/reset/62 2152s ok 251 /checksum/MD5/reset/63 2152s ok 252 /checksum/MD5/reset/64 2152s ok 253 /checksum/MD5/reset/65 2152s ok 254 /checksum/MD5/reset/66 2152s ok 255 /checksum/MD5/reset/67 2152s ok 256 /checksum/MD5/reset/68 2152s ok 257 /checksum/MD5/reset/69 2152s ok 258 /checksum/MD5/reset/70 2152s ok 259 /checksum/MD5/reset/71 2152s ok 260 /checksum/MD5/reset/72 2152s ok 261 /checksum/MD5/reset/73 2152s ok 262 /checksum/MD5/reset/74 2152s ok 263 /checksum/MD5/reset/75 2152s ok 264 /checksum/MD5/reset/76 2152s ok 265 /checksum/MD5/reset/77 2152s ok 266 /checksum/MD5/reset/78 2152s ok 267 /checksum/MD5/reset/79 2152s ok 268 /checksum/MD5/reset/80 2152s ok 269 /checksum/MD5/reset/81 2152s ok 270 /checksum/MD5/reset/82 2152s ok 271 /checksum/MD5/reset/83 2152s ok 272 /checksum/MD5/reset/84 2152s ok 273 /checksum/MD5/reset/85 2152s ok 274 /checksum/MD5/reset/86 2152s ok 275 /checksum/MD5/reset/87 2152s ok 276 /checksum/MD5/reset/88 2152s ok 277 /checksum/MD5/reset/89 2152s ok 278 /checksum/MD5/reset/90 2152s ok 279 /checksum/MD5/reset/91 2152s ok 280 /checksum/MD5/reset/92 2152s ok 281 /checksum/MD5/reset/93 2152s ok 282 /checksum/MD5/reset/94 2152s ok 283 /checksum/MD5/reset/95 2152s ok 284 /checksum/MD5/reset/96 2152s ok 285 /checksum/MD5/reset/97 2152s ok 286 /checksum/MD5/reset/98 2152s ok 287 /checksum/MD5/reset/99 2152s ok 288 /checksum/MD5/reset/100 2152s ok 289 /checksum/MD5/reset/101 2152s ok 290 /checksum/MD5/reset/102 2152s ok 291 /checksum/MD5/reset/103 2152s ok 292 /checksum/MD5/reset/104 2152s ok 293 /checksum/MD5/reset/105 2152s ok 294 /checksum/MD5/reset/106 2152s ok 295 /checksum/MD5/reset/107 2152s ok 296 /checksum/MD5/reset/108 2152s ok 297 /checksum/MD5/reset/109 2152s ok 298 /checksum/MD5/reset/110 2152s ok 299 /checksum/MD5/reset/111 2152s ok 300 /checksum/MD5/reset/112 2152s ok 301 /checksum/MD5/reset/113 2152s ok 302 /checksum/MD5/reset/114 2152s ok 303 /checksum/MD5/reset/115 2152s ok 304 /checksum/MD5/reset/116 2152s ok 305 /checksum/MD5/reset/117 2152s ok 306 /checksum/MD5/reset/118 2152s ok 307 /checksum/MD5/reset/119 2152s ok 308 /checksum/MD5/reset/120 2152s ok 309 /checksum/MD5/reset/121 2152s ok 310 /checksum/MD5/reset/122 2152s ok 311 /checksum/MD5/reset/123 2152s ok 312 /checksum/MD5/reset/124 2152s ok 313 /checksum/MD5/reset/125 2152s ok 314 /checksum/MD5/reset/126 2152s ok 315 /checksum/MD5/reset/127 2152s ok 316 /checksum/MD5/reset/128 2152s ok 317 /checksum/MD5/reset/129 2152s ok 318 /checksum/MD5/reset/130 2152s ok 319 /checksum/MD5/reset/131 2152s ok 320 /checksum/MD5/reset/132 2152s ok 321 /checksum/MD5/reset/133 2152s ok 322 /checksum/MD5/reset/134 2152s ok 323 /checksum/MD5/reset/135 2152s ok 324 /checksum/MD5/reset/136 2152s ok 325 /checksum/MD5/reset/137 2152s ok 326 /checksum/MD5/reset/138 2152s ok 327 /checksum/MD5/reset/139 2152s ok 328 /checksum/MD5/reset/140 2152s ok 329 /checksum/MD5/reset/141 2152s ok 330 /checksum/MD5/reset/142 2152s ok 331 /checksum/MD5/reset/143 2152s ok 332 /checksum/MD5/reset/144 2152s ok 333 /checksum/MD5/reset/145 2152s ok 334 /checksum/MD5/reset/146 2152s ok 335 /checksum/MD5/reset/147 2152s ok 336 /checksum/MD5/reset/148 2152s ok 337 /checksum/MD5/reset/149 2152s ok 338 /checksum/MD5/reset/150 2152s ok 339 /checksum/MD5/reset/151 2152s ok 340 /checksum/MD5/reset/152 2152s ok 341 /checksum/MD5/reset/153 2152s ok 342 /checksum/MD5/reset/154 2152s ok 343 /checksum/MD5/reset/155 2152s ok 344 /checksum/MD5/reset/156 2152s ok 345 /checksum/MD5/reset/157 2152s ok 346 /checksum/MD5/reset/158 2152s ok 347 /checksum/MD5/reset/159 2152s ok 348 /checksum/MD5/reset/160 2152s ok 349 /checksum/MD5/reset/161 2152s ok 350 /checksum/MD5/reset/162 2152s ok 351 /checksum/MD5/reset/163 2152s ok 352 /checksum/MD5/reset/164 2152s ok 353 /checksum/MD5/reset/165 2152s ok 354 /checksum/MD5/reset/166 2152s ok 355 /checksum/MD5/reset/167 2152s ok 356 /checksum/MD5/reset/168 2152s ok 357 /checksum/MD5/reset/169 2152s ok 358 /checksum/MD5/reset/170 2152s ok 359 /checksum/MD5/reset/171 2152s ok 360 /checksum/MD5/reset/172 2152s ok 361 /checksum/MD5/reset/173 2152s ok 362 /checksum/MD5/reset/174 2152s ok 363 /checksum/MD5/reset/175 2152s ok 364 /checksum/MD5/reset/176 2152s ok 365 /checksum/MD5/reset/177 2152s ok 366 /checksum/MD5/reset/178 2152s ok 367 /checksum/MD5/reset/179 2152s ok 368 /checksum/MD5/reset/180 2152s ok 369 /checksum/MD5/reset/181 2152s ok 370 /checksum/MD5/reset/182 2152s ok 371 /checksum/MD5/reset/183 2152s # End of reset tests 2152s # End of MD5 tests 2152s # Start of SHA1 tests 2152s ok 372 /checksum/SHA1/0 2152s ok 373 /checksum/SHA1/1 2152s ok 374 /checksum/SHA1/2 2152s ok 375 /checksum/SHA1/3 2152s ok 376 /checksum/SHA1/4 2152s ok 377 /checksum/SHA1/5 2152s ok 378 /checksum/SHA1/6 2152s ok 379 /checksum/SHA1/7 2152s ok 380 /checksum/SHA1/8 2152s ok 381 /checksum/SHA1/9 2152s ok 382 /checksum/SHA1/10 2152s ok 383 /checksum/SHA1/11 2152s ok 384 /checksum/SHA1/12 2152s ok 385 /checksum/SHA1/13 2152s ok 386 /checksum/SHA1/14 2152s ok 387 /checksum/SHA1/15 2152s ok 388 /checksum/SHA1/16 2152s ok 389 /checksum/SHA1/17 2152s ok 390 /checksum/SHA1/18 2152s ok 391 /checksum/SHA1/19 2152s ok 392 /checksum/SHA1/20 2152s ok 393 /checksum/SHA1/21 2152s ok 394 /checksum/SHA1/22 2152s ok 395 /checksum/SHA1/23 2152s ok 396 /checksum/SHA1/24 2152s ok 397 /checksum/SHA1/25 2152s ok 398 /checksum/SHA1/26 2152s ok 399 /checksum/SHA1/27 2152s ok 400 /checksum/SHA1/28 2152s ok 401 /checksum/SHA1/29 2152s ok 402 /checksum/SHA1/30 2152s ok 403 /checksum/SHA1/31 2152s ok 404 /checksum/SHA1/32 2152s ok 405 /checksum/SHA1/33 2152s ok 406 /checksum/SHA1/34 2152s ok 407 /checksum/SHA1/35 2152s ok 408 /checksum/SHA1/36 2152s ok 409 /checksum/SHA1/37 2152s ok 410 /checksum/SHA1/38 2152s ok 411 /checksum/SHA1/39 2152s ok 412 /checksum/SHA1/40 2152s ok 413 /checksum/SHA1/41 2152s ok 414 /checksum/SHA1/42 2152s ok 415 /checksum/SHA1/43 2152s ok 416 /checksum/SHA1/44 2152s ok 417 /checksum/SHA1/45 2152s ok 418 /checksum/SHA1/46 2152s ok 419 /checksum/SHA1/47 2152s ok 420 /checksum/SHA1/48 2152s ok 421 /checksum/SHA1/49 2152s ok 422 /checksum/SHA1/50 2152s ok 423 /checksum/SHA1/51 2152s ok 424 /checksum/SHA1/52 2152s ok 425 /checksum/SHA1/53 2152s ok 426 /checksum/SHA1/54 2152s ok 427 /checksum/SHA1/55 2152s ok 428 /checksum/SHA1/56 2152s ok 429 /checksum/SHA1/57 2152s ok 430 /checksum/SHA1/58 2152s ok 431 /checksum/SHA1/59 2152s ok 432 /checksum/SHA1/60 2152s ok 433 /checksum/SHA1/61 2152s ok 434 /checksum/SHA1/62 2152s ok 435 /checksum/SHA1/63 2152s ok 436 /checksum/SHA1/64 2152s ok 437 /checksum/SHA1/65 2152s ok 438 /checksum/SHA1/66 2152s ok 439 /checksum/SHA1/67 2152s ok 440 /checksum/SHA1/68 2152s ok 441 /checksum/SHA1/69 2152s ok 442 /checksum/SHA1/70 2152s ok 443 /checksum/SHA1/71 2152s ok 444 /checksum/SHA1/72 2152s ok 445 /checksum/SHA1/73 2152s ok 446 /checksum/SHA1/74 2152s ok 447 /checksum/SHA1/75 2152s ok 448 /checksum/SHA1/76 2152s ok 449 /checksum/SHA1/77 2152s ok 450 /checksum/SHA1/78 2152s ok 451 /checksum/SHA1/79 2152s ok 452 /checksum/SHA1/80 2152s ok 453 /checksum/SHA1/81 2152s ok 454 /checksum/SHA1/82 2152s ok 455 /checksum/SHA1/83 2152s ok 456 /checksum/SHA1/84 2152s ok 457 /checksum/SHA1/85 2152s ok 458 /checksum/SHA1/86 2152s ok 459 /checksum/SHA1/87 2152s ok 460 /checksum/SHA1/88 2152s ok 461 /checksum/SHA1/89 2152s ok 462 /checksum/SHA1/90 2152s ok 463 /checksum/SHA1/91 2152s ok 464 /checksum/SHA1/92 2152s ok 465 /checksum/SHA1/93 2152s ok 466 /checksum/SHA1/94 2152s ok 467 /checksum/SHA1/95 2152s ok 468 /checksum/SHA1/96 2152s ok 469 /checksum/SHA1/97 2152s ok 470 /checksum/SHA1/98 2152s ok 471 /checksum/SHA1/99 2152s ok 472 /checksum/SHA1/100 2152s ok 473 /checksum/SHA1/101 2152s ok 474 /checksum/SHA1/102 2152s ok 475 /checksum/SHA1/103 2152s ok 476 /checksum/SHA1/104 2152s ok 477 /checksum/SHA1/105 2152s ok 478 /checksum/SHA1/106 2152s ok 479 /checksum/SHA1/107 2152s ok 480 /checksum/SHA1/108 2152s ok 481 /checksum/SHA1/109 2152s ok 482 /checksum/SHA1/110 2152s ok 483 /checksum/SHA1/111 2152s ok 484 /checksum/SHA1/112 2152s ok 485 /checksum/SHA1/113 2152s ok 486 /checksum/SHA1/114 2152s ok 487 /checksum/SHA1/115 2152s ok 488 /checksum/SHA1/116 2152s ok 489 /checksum/SHA1/117 2152s ok 490 /checksum/SHA1/118 2152s ok 491 /checksum/SHA1/119 2152s ok 492 /checksum/SHA1/120 2152s ok 493 /checksum/SHA1/121 2152s ok 494 /checksum/SHA1/122 2152s ok 495 /checksum/SHA1/123 2152s ok 496 /checksum/SHA1/124 2152s ok 497 /checksum/SHA1/125 2152s ok 498 /checksum/SHA1/126 2152s ok 499 /checksum/SHA1/127 2152s ok 500 /checksum/SHA1/128 2152s ok 501 /checksum/SHA1/129 2152s ok 502 /checksum/SHA1/130 2152s ok 503 /checksum/SHA1/131 2152s ok 504 /checksum/SHA1/132 2152s ok 505 /checksum/SHA1/133 2152s ok 506 /checksum/SHA1/134 2152s ok 507 /checksum/SHA1/135 2152s ok 508 /checksum/SHA1/136 2152s ok 509 /checksum/SHA1/137 2152s ok 510 /checksum/SHA1/138 2152s ok 511 /checksum/SHA1/139 2152s ok 512 /checksum/SHA1/140 2152s ok 513 /checksum/SHA1/141 2152s ok 514 /checksum/SHA1/142 2152s ok 515 /checksum/SHA1/143 2152s ok 516 /checksum/SHA1/144 2152s ok 517 /checksum/SHA1/145 2152s ok 518 /checksum/SHA1/146 2152s ok 519 /checksum/SHA1/147 2152s ok 520 /checksum/SHA1/148 2152s ok 521 /checksum/SHA1/149 2152s ok 522 /checksum/SHA1/150 2152s ok 523 /checksum/SHA1/151 2152s ok 524 /checksum/SHA1/152 2152s ok 525 /checksum/SHA1/153 2152s ok 526 /checksum/SHA1/154 2152s ok 527 /checksum/SHA1/155 2152s ok 528 /checksum/SHA1/156 2152s ok 529 /checksum/SHA1/157 2152s ok 530 /checksum/SHA1/158 2152s ok 531 /checksum/SHA1/159 2152s ok 532 /checksum/SHA1/160 2152s ok 533 /checksum/SHA1/161 2152s ok 534 /checksum/SHA1/162 2152s ok 535 /checksum/SHA1/163 2152s ok 536 /checksum/SHA1/164 2152s ok 537 /checksum/SHA1/165 2152s ok 538 /checksum/SHA1/166 2152s ok 539 /checksum/SHA1/167 2152s ok 540 /checksum/SHA1/168 2152s ok 541 /checksum/SHA1/169 2152s ok 542 /checksum/SHA1/170 2152s ok 543 /checksum/SHA1/171 2152s ok 544 /checksum/SHA1/172 2152s ok 545 /checksum/SHA1/173 2152s ok 546 /checksum/SHA1/174 2152s ok 547 /checksum/SHA1/175 2152s ok 548 /checksum/SHA1/176 2152s ok 549 /checksum/SHA1/177 2152s ok 550 /checksum/SHA1/178 2152s ok 551 /checksum/SHA1/179 2152s ok 552 /checksum/SHA1/180 2152s ok 553 /checksum/SHA1/181 2152s ok 554 /checksum/SHA1/182 2152s ok 555 /checksum/SHA1/183 2152s ok 556 /checksum/SHA1/string 2152s ok 557 /checksum/SHA1/bytes 2152s # Start of reset tests 2152s ok 558 /checksum/SHA1/reset/0 2152s ok 559 /checksum/SHA1/reset/1 2152s ok 560 /checksum/SHA1/reset/2 2152s ok 561 /checksum/SHA1/reset/3 2152s ok 562 /checksum/SHA1/reset/4 2152s ok 563 /checksum/SHA1/reset/5 2152s ok 564 /checksum/SHA1/reset/6 2152s ok 565 /checksum/SHA1/reset/7 2152s ok 566 /checksum/SHA1/reset/8 2152s ok 567 /checksum/SHA1/reset/9 2152s ok 568 /checksum/SHA1/reset/10 2152s ok 569 /checksum/SHA1/reset/11 2152s ok 570 /checksum/SHA1/reset/12 2152s ok 571 /checksum/SHA1/reset/13 2152s ok 572 /checksum/SHA1/reset/14 2152s ok 573 /checksum/SHA1/reset/15 2152s ok 574 /checksum/SHA1/reset/16 2152s ok 575 /checksum/SHA1/reset/17 2152s ok 576 /checksum/SHA1/reset/18 2152s ok 577 /checksum/SHA1/reset/19 2152s ok 578 /checksum/SHA1/reset/20 2152s ok 579 /checksum/SHA1/reset/21 2152s ok 580 /checksum/SHA1/reset/22 2152s ok 581 /checksum/SHA1/reset/23 2152s ok 582 /checksum/SHA1/reset/24 2152s ok 583 /checksum/SHA1/reset/25 2152s ok 584 /checksum/SHA1/reset/26 2152s ok 585 /checksum/SHA1/reset/27 2152s ok 586 /checksum/SHA1/reset/28 2152s ok 587 /checksum/SHA1/reset/29 2152s ok 588 /checksum/SHA1/reset/30 2152s ok 589 /checksum/SHA1/reset/31 2152s ok 590 /checksum/SHA1/reset/32 2152s ok 591 /checksum/SHA1/reset/33 2152s ok 592 /checksum/SHA1/reset/34 2152s ok 593 /checksum/SHA1/reset/35 2152s ok 594 /checksum/SHA1/reset/36 2152s ok 595 /checksum/SHA1/reset/37 2152s ok 596 /checksum/SHA1/reset/38 2152s ok 597 /checksum/SHA1/reset/39 2152s ok 598 /checksum/SHA1/reset/40 2152s ok 599 /checksum/SHA1/reset/41 2152s ok 600 /checksum/SHA1/reset/42 2152s ok 601 /checksum/SHA1/reset/43 2152s ok 602 /checksum/SHA1/reset/44 2152s ok 603 /checksum/SHA1/reset/45 2152s ok 604 /checksum/SHA1/reset/46 2152s ok 605 /checksum/SHA1/reset/47 2152s ok 606 /checksum/SHA1/reset/48 2152s ok 607 /checksum/SHA1/reset/49 2152s ok 608 /checksum/SHA1/reset/50 2152s ok 609 /checksum/SHA1/reset/51 2152s ok 610 /checksum/SHA1/reset/52 2152s ok 611 /checksum/SHA1/reset/53 2152s ok 612 /checksum/SHA1/reset/54 2152s ok 613 /checksum/SHA1/reset/55 2152s ok 614 /checksum/SHA1/reset/56 2152s ok 615 /checksum/SHA1/reset/57 2152s ok 616 /checksum/SHA1/reset/58 2152s ok 617 /checksum/SHA1/reset/59 2152s ok 618 /checksum/SHA1/reset/60 2152s ok 619 /checksum/SHA1/reset/61 2152s ok 620 /checksum/SHA1/reset/62 2152s ok 621 /checksum/SHA1/reset/63 2152s ok 622 /checksum/SHA1/reset/64 2152s ok 623 /checksum/SHA1/reset/65 2152s ok 624 /checksum/SHA1/reset/66 2152s ok 625 /checksum/SHA1/reset/67 2152s ok 626 /checksum/SHA1/reset/68 2152s ok 627 /checksum/SHA1/reset/69 2152s ok 628 /checksum/SHA1/reset/70 2152s ok 629 /checksum/SHA1/reset/71 2152s ok 630 /checksum/SHA1/reset/72 2152s ok 631 /checksum/SHA1/reset/73 2152s ok 632 /checksum/SHA1/reset/74 2152s ok 633 /checksum/SHA1/reset/75 2152s ok 634 /checksum/SHA1/reset/76 2152s ok 635 /checksum/SHA1/reset/77 2152s ok 636 /checksum/SHA1/reset/78 2152s ok 637 /checksum/SHA1/reset/79 2152s ok 638 /checksum/SHA1/reset/80 2152s ok 639 /checksum/SHA1/reset/81 2152s ok 640 /checksum/SHA1/reset/82 2152s ok 641 /checksum/SHA1/reset/83 2152s ok 642 /checksum/SHA1/reset/84 2152s ok 643 /checksum/SHA1/reset/85 2152s ok 644 /checksum/SHA1/reset/86 2152s ok 645 /checksum/SHA1/reset/87 2152s ok 646 /checksum/SHA1/reset/88 2152s ok 647 /checksum/SHA1/reset/89 2152s ok 648 /checksum/SHA1/reset/90 2152s ok 649 /checksum/SHA1/reset/91 2152s ok 650 /checksum/SHA1/reset/92 2152s ok 651 /checksum/SHA1/reset/93 2152s ok 652 /checksum/SHA1/reset/94 2152s ok 653 /checksum/SHA1/reset/95 2152s ok 654 /checksum/SHA1/reset/96 2152s ok 655 /checksum/SHA1/reset/97 2152s ok 656 /checksum/SHA1/reset/98 2152s ok 657 /checksum/SHA1/reset/99 2152s ok 658 /checksum/SHA1/reset/100 2152s ok 659 /checksum/SHA1/reset/101 2152s ok 660 /checksum/SHA1/reset/102 2152s ok 661 /checksum/SHA1/reset/103 2152s ok 662 /checksum/SHA1/reset/104 2152s ok 663 /checksum/SHA1/reset/105 2152s ok 664 /checksum/SHA1/reset/106 2152s ok 665 /checksum/SHA1/reset/107 2152s ok 666 /checksum/SHA1/reset/108 2152s ok 667 /checksum/SHA1/reset/109 2152s ok 668 /checksum/SHA1/reset/110 2152s ok 669 /checksum/SHA1/reset/111 2152s ok 670 /checksum/SHA1/reset/112 2152s ok 671 /checksum/SHA1/reset/113 2152s ok 672 /checksum/SHA1/reset/114 2152s ok 673 /checksum/SHA1/reset/115 2152s ok 674 /checksum/SHA1/reset/116 2152s ok 675 /checksum/SHA1/reset/117 2152s ok 676 /checksum/SHA1/reset/118 2152s ok 677 /checksum/SHA1/reset/119 2152s ok 678 /checksum/SHA1/reset/120 2152s ok 679 /checksum/SHA1/reset/121 2152s ok 680 /checksum/SHA1/reset/122 2152s ok 681 /checksum/SHA1/reset/123 2152s ok 682 /checksum/SHA1/reset/124 2152s ok 683 /checksum/SHA1/reset/125 2152s ok 684 /checksum/SHA1/reset/126 2152s ok 685 /checksum/SHA1/reset/127 2152s ok 686 /checksum/SHA1/reset/128 2152s ok 687 /checksum/SHA1/reset/129 2152s ok 688 /checksum/SHA1/reset/130 2152s ok 689 /checksum/SHA1/reset/131 2152s ok 690 /checksum/SHA1/reset/132 2152s ok 691 /checksum/SHA1/reset/133 2152s ok 692 /checksum/SHA1/reset/134 2152s ok 693 /checksum/SHA1/reset/135 2152s ok 694 /checksum/SHA1/reset/136 2152s ok 695 /checksum/SHA1/reset/137 2152s ok 696 /checksum/SHA1/reset/138 2152s ok 697 /checksum/SHA1/reset/139 2152s ok 698 /checksum/SHA1/reset/140 2152s ok 699 /checksum/SHA1/reset/141 2152s ok 700 /checksum/SHA1/reset/142 2152s ok 701 /checksum/SHA1/reset/143 2152s ok 702 /checksum/SHA1/reset/144 2152s ok 703 /checksum/SHA1/reset/145 2152s ok 704 /checksum/SHA1/reset/146 2152s ok 705 /checksum/SHA1/reset/147 2152s ok 706 /checksum/SHA1/reset/148 2152s ok 707 /checksum/SHA1/reset/149 2152s ok 708 /checksum/SHA1/reset/150 2152s ok 709 /checksum/SHA1/reset/151 2152s ok 710 /checksum/SHA1/reset/152 2152s ok 711 /checksum/SHA1/reset/153 2152s ok 712 /checksum/SHA1/reset/154 2152s ok 713 /checksum/SHA1/reset/155 2152s ok 714 /checksum/SHA1/reset/156 2152s ok 715 /checksum/SHA1/reset/157 2152s ok 716 /checksum/SHA1/reset/158 2152s ok 717 /checksum/SHA1/reset/159 2152s ok 718 /checksum/SHA1/reset/160 2152s ok 719 /checksum/SHA1/reset/161 2152s ok 720 /checksum/SHA1/reset/162 2152s ok 721 /checksum/SHA1/reset/163 2152s ok 722 /checksum/SHA1/reset/164 2152s ok 723 /checksum/SHA1/reset/165 2152s ok 724 /checksum/SHA1/reset/166 2152s ok 725 /checksum/SHA1/reset/167 2152s ok 726 /checksum/SHA1/reset/168 2152s ok 727 /checksum/SHA1/reset/169 2152s ok 728 /checksum/SHA1/reset/170 2152s ok 729 /checksum/SHA1/reset/171 2152s ok 730 /checksum/SHA1/reset/172 2152s ok 731 /checksum/SHA1/reset/173 2152s ok 732 /checksum/SHA1/reset/174 2152s ok 733 /checksum/SHA1/reset/175 2152s ok 734 /checksum/SHA1/reset/176 2152s ok 735 /checksum/SHA1/reset/177 2152s ok 736 /checksum/SHA1/reset/178 2152s ok 737 /checksum/SHA1/reset/179 2152s ok 738 /checksum/SHA1/reset/180 2152s ok 739 /checksum/SHA1/reset/181 2152s ok 740 /checksum/SHA1/reset/182 2152s ok 741 /checksum/SHA1/reset/183 2152s # End of reset tests 2152s # End of SHA1 tests 2152s # Start of SHA256 tests 2152s ok 742 /checksum/SHA256/0 2152s ok 743 /checksum/SHA256/1 2152s ok 744 /checksum/SHA256/2 2152s ok 745 /checksum/SHA256/3 2152s ok 746 /checksum/SHA256/4 2152s ok 747 /checksum/SHA256/5 2152s ok 748 /checksum/SHA256/6 2152s ok 749 /checksum/SHA256/7 2152s ok 750 /checksum/SHA256/8 2152s ok 751 /checksum/SHA256/9 2152s ok 752 /checksum/SHA256/10 2152s ok 753 /checksum/SHA256/11 2152s ok 754 /checksum/SHA256/12 2152s ok 755 /checksum/SHA256/13 2152s ok 756 /checksum/SHA256/14 2152s ok 757 /checksum/SHA256/15 2152s ok 758 /checksum/SHA256/16 2152s ok 759 /checksum/SHA256/17 2152s ok 760 /checksum/SHA256/18 2152s ok 761 /checksum/SHA256/19 2152s ok 762 /checksum/SHA256/20 2152s ok 763 /checksum/SHA256/21 2152s ok 764 /checksum/SHA256/22 2152s ok 765 /checksum/SHA256/23 2152s ok 766 /checksum/SHA256/24 2152s ok 767 /checksum/SHA256/25 2152s ok 768 /checksum/SHA256/26 2152s ok 769 /checksum/SHA256/27 2152s ok 770 /checksum/SHA256/28 2152s ok 771 /checksum/SHA256/29 2152s ok 772 /checksum/SHA256/30 2152s ok 773 /checksum/SHA256/31 2152s ok 774 /checksum/SHA256/32 2152s ok 775 /checksum/SHA256/33 2152s ok 776 /checksum/SHA256/34 2152s ok 777 /checksum/SHA256/35 2152s ok 778 /checksum/SHA256/36 2152s ok 779 /checksum/SHA256/37 2152s ok 780 /checksum/SHA256/38 2152s ok 781 /checksum/SHA256/39 2152s ok 782 /checksum/SHA256/40 2152s ok 783 /checksum/SHA256/41 2152s ok 784 /checksum/SHA256/42 2152s ok 785 /checksum/SHA256/43 2152s ok 786 /checksum/SHA256/44 2152s ok 787 /checksum/SHA256/45 2152s ok 788 /checksum/SHA256/46 2152s ok 789 /checksum/SHA256/47 2152s ok 790 /checksum/SHA256/48 2152s ok 791 /checksum/SHA256/49 2152s ok 792 /checksum/SHA256/50 2152s ok 793 /checksum/SHA256/51 2152s ok 794 /checksum/SHA256/52 2152s ok 795 /checksum/SHA256/53 2152s ok 796 /checksum/SHA256/54 2152s ok 797 /checksum/SHA256/55 2152s ok 798 /checksum/SHA256/56 2152s ok 799 /checksum/SHA256/57 2152s ok 800 /checksum/SHA256/58 2152s ok 801 /checksum/SHA256/59 2152s ok 802 /checksum/SHA256/60 2152s ok 803 /checksum/SHA256/61 2152s ok 804 /checksum/SHA256/62 2152s ok 805 /checksum/SHA256/63 2152s ok 806 /checksum/SHA256/64 2152s ok 807 /checksum/SHA256/65 2152s ok 808 /checksum/SHA256/66 2152s ok 809 /checksum/SHA256/67 2152s ok 810 /checksum/SHA256/68 2152s ok 811 /checksum/SHA256/69 2152s ok 812 /checksum/SHA256/70 2152s ok 813 /checksum/SHA256/71 2152s ok 814 /checksum/SHA256/72 2152s ok 815 /checksum/SHA256/73 2152s ok 816 /checksum/SHA256/74 2152s ok 817 /checksum/SHA256/75 2152s ok 818 /checksum/SHA256/76 2152s ok 819 /checksum/SHA256/77 2152s ok 820 /checksum/SHA256/78 2152s ok 821 /checksum/SHA256/79 2152s ok 822 /checksum/SHA256/80 2152s ok 823 /checksum/SHA256/81 2152s ok 824 /checksum/SHA256/82 2152s ok 825 /checksum/SHA256/83 2152s ok 826 /checksum/SHA256/84 2152s ok 827 /checksum/SHA256/85 2152s ok 828 /checksum/SHA256/86 2152s ok 829 /checksum/SHA256/87 2152s ok 830 /checksum/SHA256/88 2152s ok 831 /checksum/SHA256/89 2152s ok 832 /checksum/SHA256/90 2152s ok 833 /checksum/SHA256/91 2152s ok 834 /checksum/SHA256/92 2152s ok 835 /checksum/SHA256/93 2152s ok 836 /checksum/SHA256/94 2152s ok 837 /checksum/SHA256/95 2152s ok 838 /checksum/SHA256/96 2152s ok 839 /checksum/SHA256/97 2152s ok 840 /checksum/SHA256/98 2152s ok 841 /checksum/SHA256/99 2152s ok 842 /checksum/SHA256/100 2152s ok 843 /checksum/SHA256/101 2152s ok 844 /checksum/SHA256/102 2152s ok 845 /checksum/SHA256/103 2152s ok 846 /checksum/SHA256/104 2152s ok 847 /checksum/SHA256/105 2152s ok 848 /checksum/SHA256/106 2152s ok 849 /checksum/SHA256/107 2152s ok 850 /checksum/SHA256/108 2152s ok 851 /checksum/SHA256/109 2152s ok 852 /checksum/SHA256/110 2152s ok 853 /checksum/SHA256/111 2152s ok 854 /checksum/SHA256/112 2152s ok 855 /checksum/SHA256/113 2152s ok 856 /checksum/SHA256/114 2152s ok 857 /checksum/SHA256/115 2152s ok 858 /checksum/SHA256/116 2152s ok 859 /checksum/SHA256/117 2152s ok 860 /checksum/SHA256/118 2152s ok 861 /checksum/SHA256/119 2152s ok 862 /checksum/SHA256/120 2152s ok 863 /checksum/SHA256/121 2152s ok 864 /checksum/SHA256/122 2152s ok 865 /checksum/SHA256/123 2152s ok 866 /checksum/SHA256/124 2152s ok 867 /checksum/SHA256/125 2152s ok 868 /checksum/SHA256/126 2152s ok 869 /checksum/SHA256/127 2152s ok 870 /checksum/SHA256/128 2152s ok 871 /checksum/SHA256/129 2152s ok 872 /checksum/SHA256/130 2152s ok 873 /checksum/SHA256/131 2152s ok 874 /checksum/SHA256/132 2152s ok 875 /checksum/SHA256/133 2152s ok 876 /checksum/SHA256/134 2152s ok 877 /checksum/SHA256/135 2152s ok 878 /checksum/SHA256/136 2152s ok 879 /checksum/SHA256/137 2152s ok 880 /checksum/SHA256/138 2152s ok 881 /checksum/SHA256/139 2152s ok 882 /checksum/SHA256/140 2152s ok 883 /checksum/SHA256/141 2152s ok 884 /checksum/SHA256/142 2152s ok 885 /checksum/SHA256/143 2152s ok 886 /checksum/SHA256/144 2152s ok 887 /checksum/SHA256/145 2152s ok 888 /checksum/SHA256/146 2152s ok 889 /checksum/SHA256/147 2152s ok 890 /checksum/SHA256/148 2152s ok 891 /checksum/SHA256/149 2152s ok 892 /checksum/SHA256/150 2152s ok 893 /checksum/SHA256/151 2152s ok 894 /checksum/SHA256/152 2152s ok 895 /checksum/SHA256/153 2152s ok 896 /checksum/SHA256/154 2152s ok 897 /checksum/SHA256/155 2152s ok 898 /checksum/SHA256/156 2152s ok 899 /checksum/SHA256/157 2152s ok 900 /checksum/SHA256/158 2152s ok 901 /checksum/SHA256/159 2152s ok 902 /checksum/SHA256/160 2152s ok 903 /checksum/SHA256/161 2152s ok 904 /checksum/SHA256/162 2152s ok 905 /checksum/SHA256/163 2152s ok 906 /checksum/SHA256/164 2152s ok 907 /checksum/SHA256/165 2152s ok 908 /checksum/SHA256/166 2152s ok 909 /checksum/SHA256/167 2152s ok 910 /checksum/SHA256/168 2152s ok 911 /checksum/SHA256/169 2152s ok 912 /checksum/SHA256/170 2152s ok 913 /checksum/SHA256/171 2152s ok 914 /checksum/SHA256/172 2152s ok 915 /checksum/SHA256/173 2152s ok 916 /checksum/SHA256/174 2152s ok 917 /checksum/SHA256/175 2152s ok 918 /checksum/SHA256/176 2152s ok 919 /checksum/SHA256/177 2152s ok 920 /checksum/SHA256/178 2152s ok 921 /checksum/SHA256/179 2152s ok 922 /checksum/SHA256/180 2152s ok 923 /checksum/SHA256/181 2152s ok 924 /checksum/SHA256/182 2152s ok 925 /checksum/SHA256/183 2152s ok 926 /checksum/SHA256/string 2152s ok 927 /checksum/SHA256/bytes 2152s # Start of reset tests 2152s ok 928 /checksum/SHA256/reset/0 2152s ok 929 /checksum/SHA256/reset/1 2152s ok 930 /checksum/SHA256/reset/2 2152s ok 931 /checksum/SHA256/reset/3 2152s ok 932 /checksum/SHA256/reset/4 2152s ok 933 /checksum/SHA256/reset/5 2152s ok 934 /checksum/SHA256/reset/6 2152s ok 935 /checksum/SHA256/reset/7 2152s ok 936 /checksum/SHA256/reset/8 2152s ok 937 /checksum/SHA256/reset/9 2152s ok 938 /checksum/SHA256/reset/10 2152s ok 939 /checksum/SHA256/reset/11 2152s ok 940 /checksum/SHA256/reset/12 2152s ok 941 /checksum/SHA256/reset/13 2152s ok 942 /checksum/SHA256/reset/14 2152s ok 943 /checksum/SHA256/reset/15 2152s ok 944 /checksum/SHA256/reset/16 2152s ok 945 /checksum/SHA256/reset/17 2152s ok 946 /checksum/SHA256/reset/18 2152s ok 947 /checksum/SHA256/reset/19 2152s ok 948 /checksum/SHA256/reset/20 2152s ok 949 /checksum/SHA256/reset/21 2152s ok 950 /checksum/SHA256/reset/22 2152s ok 951 /checksum/SHA256/reset/23 2152s ok 952 /checksum/SHA256/reset/24 2152s ok 953 /checksum/SHA256/reset/25 2152s ok 954 /checksum/SHA256/reset/26 2152s ok 955 /checksum/SHA256/reset/27 2152s ok 956 /checksum/SHA256/reset/28 2152s ok 957 /checksum/SHA256/reset/29 2152s ok 958 /checksum/SHA256/reset/30 2152s ok 959 /checksum/SHA256/reset/31 2152s ok 960 /checksum/SHA256/reset/32 2152s ok 961 /checksum/SHA256/reset/33 2152s ok 962 /checksum/SHA256/reset/34 2152s ok 963 /checksum/SHA256/reset/35 2152s ok 964 /checksum/SHA256/reset/36 2152s ok 965 /checksum/SHA256/reset/37 2152s ok 966 /checksum/SHA256/reset/38 2152s ok 967 /checksum/SHA256/reset/39 2152s ok 968 /checksum/SHA256/reset/40 2152s ok 969 /checksum/SHA256/reset/41 2152s ok 970 /checksum/SHA256/reset/42 2152s ok 971 /checksum/SHA256/reset/43 2152s ok 972 /checksum/SHA256/reset/44 2152s ok 973 /checksum/SHA256/reset/45 2152s ok 974 /checksum/SHA256/reset/46 2152s ok 975 /checksum/SHA256/reset/47 2152s ok 976 /checksum/SHA256/reset/48 2152s ok 977 /checksum/SHA256/reset/49 2152s ok 978 /checksum/SHA256/reset/50 2152s ok 979 /checksum/SHA256/reset/51 2152s ok 980 /checksum/SHA256/reset/52 2152s ok 981 /checksum/SHA256/reset/53 2152s ok 982 /checksum/SHA256/reset/54 2152s ok 983 /checksum/SHA256/reset/55 2152s ok 984 /checksum/SHA256/reset/56 2152s ok 985 /checksum/SHA256/reset/57 2152s ok 986 /checksum/SHA256/reset/58 2152s ok 987 /checksum/SHA256/reset/59 2152s ok 988 /checksum/SHA256/reset/60 2152s ok 989 /checksum/SHA256/reset/61 2152s ok 990 /checksum/SHA256/reset/62 2152s ok 991 /checksum/SHA256/reset/63 2152s ok 992 /checksum/SHA256/reset/64 2152s ok 993 /checksum/SHA256/reset/65 2152s ok 994 /checksum/SHA256/reset/66 2152s ok 995 /checksum/SHA256/reset/67 2152s ok 996 /checksum/SHA256/reset/68 2152s ok 997 /checksum/SHA256/reset/69 2152s ok 998 /checksum/SHA256/reset/70 2152s ok 999 /checksum/SHA256/reset/71 2152s ok 1000 /checksum/SHA256/reset/72 2152s ok 1001 /checksum/SHA256/reset/73 2152s ok 1002 /checksum/SHA256/reset/74 2152s ok 1003 /checksum/SHA256/reset/75 2152s ok 1004 /checksum/SHA256/reset/76 2152s ok 1005 /checksum/SHA256/reset/77 2152s ok 1006 /checksum/SHA256/reset/78 2152s ok 1007 /checksum/SHA256/reset/79 2152s ok 1008 /checksum/SHA256/reset/80 2152s ok 1009 /checksum/SHA256/reset/81 2152s ok 1010 /checksum/SHA256/reset/82 2152s ok 1011 /checksum/SHA256/reset/83 2152s ok 1012 /checksum/SHA256/reset/84 2152s ok 1013 /checksum/SHA256/reset/85 2152s ok 1014 /checksum/SHA256/reset/86 2152s ok 1015 /checksum/SHA256/reset/87 2152s ok 1016 /checksum/SHA256/reset/88 2152s ok 1017 /checksum/SHA256/reset/89 2152s ok 1018 /checksum/SHA256/reset/90 2152s ok 1019 /checksum/SHA256/reset/91 2152s ok 1020 /checksum/SHA256/reset/92 2152s ok 1021 /checksum/SHA256/reset/93 2152s ok 1022 /checksum/SHA256/reset/94 2152s ok 1023 /checksum/SHA256/reset/95 2152s ok 1024 /checksum/SHA256/reset/96 2152s ok 1025 /checksum/SHA256/reset/97 2152s ok 1026 /checksum/SHA256/reset/98 2152s ok 1027 /checksum/SHA256/reset/99 2152s ok 1028 /checksum/SHA256/reset/100 2152s ok 1029 /checksum/SHA256/reset/101 2152s ok 1030 /checksum/SHA256/reset/102 2152s ok 1031 /checksum/SHA256/reset/103 2152s ok 1032 /checksum/SHA256/reset/104 2152s ok 1033 /checksum/SHA256/reset/105 2152s ok 1034 /checksum/SHA256/reset/106 2152s ok 1035 /checksum/SHA256/reset/107 2152s ok 1036 /checksum/SHA256/reset/108 2152s ok 1037 /checksum/SHA256/reset/109 2152s ok 1038 /checksum/SHA256/reset/110 2152s ok 1039 /checksum/SHA256/reset/111 2152s ok 1040 /checksum/SHA256/reset/112 2152s ok 1041 /checksum/SHA256/reset/113 2152s ok 1042 /checksum/SHA256/reset/114 2152s ok 1043 /checksum/SHA256/reset/115 2152s ok 1044 /checksum/SHA256/reset/116 2152s ok 1045 /checksum/SHA256/reset/117 2152s ok 1046 /checksum/SHA256/reset/118 2152s ok 1047 /checksum/SHA256/reset/119 2152s ok 1048 /checksum/SHA256/reset/120 2152s ok 1049 /checksum/SHA256/reset/121 2152s ok 1050 /checksum/SHA256/reset/122 2152s ok 1051 /checksum/SHA256/reset/123 2152s ok 1052 /checksum/SHA256/reset/124 2152s ok 1053 /checksum/SHA256/reset/125 2152s ok 1054 /checksum/SHA256/reset/126 2152s ok 1055 /checksum/SHA256/reset/127 2152s ok 1056 /checksum/SHA256/reset/128 2152s ok 1057 /checksum/SHA256/reset/129 2152s ok 1058 /checksum/SHA256/reset/130 2152s ok 1059 /checksum/SHA256/reset/131 2152s ok 1060 /checksum/SHA256/reset/132 2152s ok 1061 /checksum/SHA256/reset/133 2152s ok 1062 /checksum/SHA256/reset/134 2152s ok 1063 /checksum/SHA256/reset/135 2152s ok 1064 /checksum/SHA256/reset/136 2152s ok 1065 /checksum/SHA256/reset/137 2152s ok 1066 /checksum/SHA256/reset/138 2152s ok 1067 /checksum/SHA256/reset/139 2152s ok 1068 /checksum/SHA256/reset/140 2152s ok 1069 /checksum/SHA256/reset/141 2152s ok 1070 /checksum/SHA256/reset/142 2152s ok 1071 /checksum/SHA256/reset/143 2152s ok 1072 /checksum/SHA256/reset/144 2152s ok 1073 /checksum/SHA256/reset/145 2152s ok 1074 /checksum/SHA256/reset/146 2152s ok 1075 /checksum/SHA256/reset/147 2152s ok 1076 /checksum/SHA256/reset/148 2152s ok 1077 /checksum/SHA256/reset/149 2152s ok 1078 /checksum/SHA256/reset/150 2152s ok 1079 /checksum/SHA256/reset/151 2152s ok 1080 /checksum/SHA256/reset/152 2152s ok 1081 /checksum/SHA256/reset/153 2152s ok 1082 /checksum/SHA256/reset/154 2152s ok 1083 /checksum/SHA256/reset/155 2152s ok 1084 /checksum/SHA256/reset/156 2152s ok 1085 /checksum/SHA256/reset/157 2152s ok 1086 /checksum/SHA256/reset/158 2152s ok 1087 /checksum/SHA256/reset/159 2152s ok 1088 /checksum/SHA256/reset/160 2152s ok 1089 /checksum/SHA256/reset/161 2152s ok 1090 /checksum/SHA256/reset/162 2152s ok 1091 /checksum/SHA256/reset/163 2152s ok 1092 /checksum/SHA256/reset/164 2152s ok 1093 /checksum/SHA256/reset/165 2152s ok 1094 /checksum/SHA256/reset/166 2152s ok 1095 /checksum/SHA256/reset/167 2152s ok 1096 /checksum/SHA256/reset/168 2152s ok 1097 /checksum/SHA256/reset/169 2152s ok 1098 /checksum/SHA256/reset/170 2152s ok 1099 /checksum/SHA256/reset/171 2152s ok 1100 /checksum/SHA256/reset/172 2152s ok 1101 /checksum/SHA256/reset/173 2152s ok 1102 /checksum/SHA256/reset/174 2152s ok 1103 /checksum/SHA256/reset/175 2152s ok 1104 /checksum/SHA256/reset/176 2152s ok 1105 /checksum/SHA256/reset/177 2152s ok 1106 /checksum/SHA256/reset/178 2152s ok 1107 /checksum/SHA256/reset/179 2152s ok 1108 /checksum/SHA256/reset/180 2152s ok 1109 /checksum/SHA256/reset/181 2152s ok 1110 /checksum/SHA256/reset/182 2152s ok 1111 /checksum/SHA256/reset/183 2152s # End of reset tests 2152s # End of SHA256 tests 2152s # Start of SHA384 tests 2152s ok 1112 /checksum/SHA384/0 2152s ok 1113 /checksum/SHA384/1 2152s ok 1114 /checksum/SHA384/2 2152s ok 1115 /checksum/SHA384/3 2152s ok 1116 /checksum/SHA384/4 2152s ok 1117 /checksum/SHA384/5 2152s ok 1118 /checksum/SHA384/6 2152s ok 1119 /checksum/SHA384/7 2152s ok 1120 /checksum/SHA384/8 2152s ok 1121 /checksum/SHA384/9 2152s ok 1122 /checksum/SHA384/10 2152s ok 1123 /checksum/SHA384/11 2152s ok 1124 /checksum/SHA384/12 2152s ok 1125 /checksum/SHA384/13 2152s ok 1126 /checksum/SHA384/14 2152s ok 1127 /checksum/SHA384/15 2152s ok 1128 /checksum/SHA384/16 2152s ok 1129 /checksum/SHA384/17 2152s ok 1130 /checksum/SHA384/18 2152s ok 1131 /checksum/SHA384/19 2152s ok 1132 /checksum/SHA384/20 2152s ok 1133 /checksum/SHA384/21 2152s ok 1134 /checksum/SHA384/22 2152s ok 1135 /checksum/SHA384/23 2152s ok 1136 /checksum/SHA384/24 2152s ok 1137 /checksum/SHA384/25 2152s ok 1138 /checksum/SHA384/26 2152s ok 1139 /checksum/SHA384/27 2152s ok 1140 /checksum/SHA384/28 2152s ok 1141 /checksum/SHA384/29 2152s ok 1142 /checksum/SHA384/30 2152s ok 1143 /checksum/SHA384/31 2152s ok 1144 /checksum/SHA384/32 2152s ok 1145 /checksum/SHA384/33 2152s ok 1146 /checksum/SHA384/34 2152s ok 1147 /checksum/SHA384/35 2152s ok 1148 /checksum/SHA384/36 2152s ok 1149 /checksum/SHA384/37 2152s ok 1150 /checksum/SHA384/38 2152s ok 1151 /checksum/SHA384/39 2152s ok 1152 /checksum/SHA384/40 2152s ok 1153 /checksum/SHA384/41 2152s ok 1154 /checksum/SHA384/42 2152s ok 1155 /checksum/SHA384/43 2152s ok 1156 /checksum/SHA384/44 2152s ok 1157 /checksum/SHA384/45 2152s ok 1158 /checksum/SHA384/46 2152s ok 1159 /checksum/SHA384/47 2152s ok 1160 /checksum/SHA384/48 2152s ok 1161 /checksum/SHA384/49 2152s ok 1162 /checksum/SHA384/50 2152s ok 1163 /checksum/SHA384/51 2152s ok 1164 /checksum/SHA384/52 2152s ok 1165 /checksum/SHA384/53 2152s ok 1166 /checksum/SHA384/54 2152s ok 1167 /checksum/SHA384/55 2152s ok 1168 /checksum/SHA384/56 2152s ok 1169 /checksum/SHA384/57 2152s ok 1170 /checksum/SHA384/58 2152s ok 1171 /checksum/SHA384/59 2152s ok 1172 /checksum/SHA384/60 2152s ok 1173 /checksum/SHA384/61 2152s ok 1174 /checksum/SHA384/62 2152s ok 1175 /checksum/SHA384/63 2152s ok 1176 /checksum/SHA384/64 2152s ok 1177 /checksum/SHA384/65 2152s ok 1178 /checksum/SHA384/66 2152s ok 1179 /checksum/SHA384/67 2152s ok 1180 /checksum/SHA384/68 2152s ok 1181 /checksum/SHA384/69 2152s ok 1182 /checksum/SHA384/70 2152s ok 1183 /checksum/SHA384/71 2152s ok 1184 /checksum/SHA384/72 2152s ok 1185 /checksum/SHA384/73 2152s ok 1186 /checksum/SHA384/74 2152s ok 1187 /checksum/SHA384/75 2152s ok 1188 /checksum/SHA384/76 2152s ok 1189 /checksum/SHA384/77 2152s ok 1190 /checksum/SHA384/78 2152s ok 1191 /checksum/SHA384/79 2152s ok 1192 /checksum/SHA384/80 2152s ok 1193 /checksum/SHA384/81 2152s ok 1194 /checksum/SHA384/82 2152s ok 1195 /checksum/SHA384/83 2152s ok 1196 /checksum/SHA384/84 2152s ok 1197 /checksum/SHA384/85 2152s ok 1198 /checksum/SHA384/86 2152s ok 1199 /checksum/SHA384/87 2152s ok 1200 /checksum/SHA384/88 2152s ok 1201 /checksum/SHA384/89 2152s ok 1202 /checksum/SHA384/90 2152s ok 1203 /checksum/SHA384/91 2152s ok 1204 /checksum/SHA384/92 2152s ok 1205 /checksum/SHA384/93 2152s ok 1206 /checksum/SHA384/94 2152s ok 1207 /checksum/SHA384/95 2152s ok 1208 /checksum/SHA384/96 2152s ok 1209 /checksum/SHA384/97 2152s ok 1210 /checksum/SHA384/98 2152s ok 1211 /checksum/SHA384/99 2152s ok 1212 /checksum/SHA384/100 2152s ok 1213 /checksum/SHA384/101 2152s ok 1214 /checksum/SHA384/102 2152s ok 1215 /checksum/SHA384/103 2152s ok 1216 /checksum/SHA384/104 2152s ok 1217 /checksum/SHA384/105 2152s ok 1218 /checksum/SHA384/106 2152s ok 1219 /checksum/SHA384/107 2152s ok 1220 /checksum/SHA384/108 2152s ok 1221 /checksum/SHA384/109 2152s ok 1222 /checksum/SHA384/110 2152s ok 1223 /checksum/SHA384/111 2152s ok 1224 /checksum/SHA384/112 2152s ok 1225 /checksum/SHA384/113 2152s ok 1226 /checksum/SHA384/114 2152s ok 1227 /checksum/SHA384/115 2152s ok 1228 /checksum/SHA384/116 2152s ok 1229 /checksum/SHA384/117 2152s ok 1230 /checksum/SHA384/118 2152s ok 1231 /checksum/SHA384/119 2152s ok 1232 /checksum/SHA384/120 2152s ok 1233 /checksum/SHA384/121 2152s ok 1234 /checksum/SHA384/122 2152s ok 1235 /checksum/SHA384/123 2152s ok 1236 /checksum/SHA384/124 2152s ok 1237 /checksum/SHA384/125 2152s ok 1238 /checksum/SHA384/126 2152s ok 1239 /checksum/SHA384/127 2152s ok 1240 /checksum/SHA384/128 2152s ok 1241 /checksum/SHA384/129 2152s ok 1242 /checksum/SHA384/130 2152s ok 1243 /checksum/SHA384/131 2152s ok 1244 /checksum/SHA384/132 2152s ok 1245 /checksum/SHA384/133 2152s ok 1246 /checksum/SHA384/134 2152s ok 1247 /checksum/SHA384/135 2152s ok 1248 /checksum/SHA384/136 2152s ok 1249 /checksum/SHA384/137 2152s ok 1250 /checksum/SHA384/138 2152s ok 1251 /checksum/SHA384/139 2152s ok 1252 /checksum/SHA384/140 2152s ok 1253 /checksum/SHA384/141 2152s ok 1254 /checksum/SHA384/142 2152s ok 1255 /checksum/SHA384/143 2152s ok 1256 /checksum/SHA384/144 2152s ok 1257 /checksum/SHA384/145 2152s ok 1258 /checksum/SHA384/146 2152s ok 1259 /checksum/SHA384/147 2152s ok 1260 /checksum/SHA384/148 2152s ok 1261 /checksum/SHA384/149 2152s ok 1262 /checksum/SHA384/150 2152s ok 1263 /checksum/SHA384/151 2152s ok 1264 /checksum/SHA384/152 2152s ok 1265 /checksum/SHA384/153 2152s ok 1266 /checksum/SHA384/154 2152s ok 1267 /checksum/SHA384/155 2152s ok 1268 /checksum/SHA384/156 2152s ok 1269 /checksum/SHA384/157 2152s ok 1270 /checksum/SHA384/158 2152s ok 1271 /checksum/SHA384/159 2152s ok 1272 /checksum/SHA384/160 2152s ok 1273 /checksum/SHA384/161 2152s ok 1274 /checksum/SHA384/162 2152s ok 1275 /checksum/SHA384/163 2152s ok 1276 /checksum/SHA384/164 2152s ok 1277 /checksum/SHA384/165 2152s ok 1278 /checksum/SHA384/166 2152s ok 1279 /checksum/SHA384/167 2152s ok 1280 /checksum/SHA384/168 2152s ok 1281 /checksum/SHA384/169 2152s ok 1282 /checksum/SHA384/170 2152s ok 1283 /checksum/SHA384/171 2152s ok 1284 /checksum/SHA384/172 2152s ok 1285 /checksum/SHA384/173 2152s ok 1286 /checksum/SHA384/174 2152s ok 1287 /checksum/SHA384/175 2152s ok 1288 /checksum/SHA384/176 2152s ok 1289 /checksum/SHA384/177 2152s ok 1290 /checksum/SHA384/178 2152s ok 1291 /checksum/SHA384/179 2152s ok 1292 /checksum/SHA384/180 2152s ok 1293 /checksum/SHA384/181 2152s ok 1294 /checksum/SHA384/182 2152s ok 1295 /checksum/SHA384/183 2152s ok 1296 /checksum/SHA384/string 2152s ok 1297 /checksum/SHA384/bytes 2152s # Start of reset tests 2152s ok 1298 /checksum/SHA384/reset/0 2152s ok 1299 /checksum/SHA384/reset/1 2152s ok 1300 /checksum/SHA384/reset/2 2152s ok 1301 /checksum/SHA384/reset/3 2152s ok 1302 /checksum/SHA384/reset/4 2152s ok 1303 /checksum/SHA384/reset/5 2152s ok 1304 /checksum/SHA384/reset/6 2152s ok 1305 /checksum/SHA384/reset/7 2152s ok 1306 /checksum/SHA384/reset/8 2152s ok 1307 /checksum/SHA384/reset/9 2152s ok 1308 /checksum/SHA384/reset/10 2152s ok 1309 /checksum/SHA384/reset/11 2152s ok 1310 /checksum/SHA384/reset/12 2152s ok 1311 /checksum/SHA384/reset/13 2152s ok 1312 /checksum/SHA384/reset/14 2152s ok 1313 /checksum/SHA384/reset/15 2152s ok 1314 /checksum/SHA384/reset/16 2152s ok 1315 /checksum/SHA384/reset/17 2152s ok 1316 /checksum/SHA384/reset/18 2152s ok 1317 /checksum/SHA384/reset/19 2152s ok 1318 /checksum/SHA384/reset/20 2152s ok 1319 /checksum/SHA384/reset/21 2152s ok 1320 /checksum/SHA384/reset/22 2152s ok 1321 /checksum/SHA384/reset/23 2152s ok 1322 /checksum/SHA384/reset/24 2152s ok 1323 /checksum/SHA384/reset/25 2152s ok 1324 /checksum/SHA384/reset/26 2152s ok 1325 /checksum/SHA384/reset/27 2152s ok 1326 /checksum/SHA384/reset/28 2152s ok 1327 /checksum/SHA384/reset/29 2152s ok 1328 /checksum/SHA384/reset/30 2152s ok 1329 /checksum/SHA384/reset/31 2152s ok 1330 /checksum/SHA384/reset/32 2152s ok 1331 /checksum/SHA384/reset/33 2152s ok 1332 /checksum/SHA384/reset/34 2152s ok 1333 /checksum/SHA384/reset/35 2152s ok 1334 /checksum/SHA384/reset/36 2152s ok 1335 /checksum/SHA384/reset/37 2152s ok 1336 /checksum/SHA384/reset/38 2152s ok 1337 /checksum/SHA384/reset/39 2152s ok 1338 /checksum/SHA384/reset/40 2152s ok 1339 /checksum/SHA384/reset/41 2152s ok 1340 /checksum/SHA384/reset/42 2152s ok 1341 /checksum/SHA384/reset/43 2152s ok 1342 /checksum/SHA384/reset/44 2152s ok 1343 /checksum/SHA384/reset/45 2152s ok 1344 /checksum/SHA384/reset/46 2152s ok 1345 /checksum/SHA384/reset/47 2152s ok 1346 /checksum/SHA384/reset/48 2152s ok 1347 /checksum/SHA384/reset/49 2152s ok 1348 /checksum/SHA384/reset/50 2152s ok 1349 /checksum/SHA384/reset/51 2152s ok 1350 /checksum/SHA384/reset/52 2152s ok 1351 /checksum/SHA384/reset/53 2152s ok 1352 /checksum/SHA384/reset/54 2152s ok 1353 /checksum/SHA384/reset/55 2152s ok 1354 /checksum/SHA384/reset/56 2152s ok 1355 /checksum/SHA384/reset/57 2152s ok 1356 /checksum/SHA384/reset/58 2152s ok 1357 /checksum/SHA384/reset/59 2152s ok 1358 /checksum/SHA384/reset/60 2152s ok 1359 /checksum/SHA384/reset/61 2152s ok 1360 /checksum/SHA384/reset/62 2152s ok 1361 /checksum/SHA384/reset/63 2152s ok 1362 /checksum/SHA384/reset/64 2152s ok 1363 /checksum/SHA384/reset/65 2152s ok 1364 /checksum/SHA384/reset/66 2152s ok 1365 /checksum/SHA384/reset/67 2152s ok 1366 /checksum/SHA384/reset/68 2152s ok 1367 /checksum/SHA384/reset/69 2152s ok 1368 /checksum/SHA384/reset/70 2152s ok 1369 /checksum/SHA384/reset/71 2152s ok 1370 /checksum/SHA384/reset/72 2152s ok 1371 /checksum/SHA384/reset/73 2152s ok 1372 /checksum/SHA384/reset/74 2152s ok 1373 /checksum/SHA384/reset/75 2152s ok 1374 /checksum/SHA384/reset/76 2152s ok 1375 /checksum/SHA384/reset/77 2152s ok 1376 /checksum/SHA384/reset/78 2152s ok 1377 /checksum/SHA384/reset/79 2152s ok 1378 /checksum/SHA384/reset/80 2152s ok 1379 /checksum/SHA384/reset/81 2152s ok 1380 /checksum/SHA384/reset/82 2152s ok 1381 /checksum/SHA384/reset/83 2152s ok 1382 /checksum/SHA384/reset/84 2152s ok 1383 /checksum/SHA384/reset/85 2152s ok 1384 /checksum/SHA384/reset/86 2152s ok 1385 /checksum/SHA384/reset/87 2152s ok 1386 /checksum/SHA384/reset/88 2152s ok 1387 /checksum/SHA384/reset/89 2152s ok 1388 /checksum/SHA384/reset/90 2152s ok 1389 /checksum/SHA384/reset/91 2152s ok 1390 /checksum/SHA384/reset/92 2152s ok 1391 /checksum/SHA384/reset/93 2152s ok 1392 /checksum/SHA384/reset/94 2152s ok 1393 /checksum/SHA384/reset/95 2152s ok 1394 /checksum/SHA384/reset/96 2152s ok 1395 /checksum/SHA384/reset/97 2152s ok 1396 /checksum/SHA384/reset/98 2152s ok 1397 /checksum/SHA384/reset/99 2152s ok 1398 /checksum/SHA384/reset/100 2152s ok 1399 /checksum/SHA384/reset/101 2152s ok 1400 /checksum/SHA384/reset/102 2152s ok 1401 /checksum/SHA384/reset/103 2152s ok 1402 /checksum/SHA384/reset/104 2152s ok 1403 /checksum/SHA384/reset/105 2152s ok 1404 /checksum/SHA384/reset/106 2152s ok 1405 /checksum/SHA384/reset/107 2152s ok 1406 /checksum/SHA384/reset/108 2152s ok 1407 /checksum/SHA384/reset/109 2152s ok 1408 /checksum/SHA384/reset/110 2152s ok 1409 /checksum/SHA384/reset/111 2152s ok 1410 /checksum/SHA384/reset/112 2152s ok 1411 /checksum/SHA384/reset/113 2152s ok 1412 /checksum/SHA384/reset/114 2152s ok 1413 /checksum/SHA384/reset/115 2152s ok 1414 /checksum/SHA384/reset/116 2152s ok 1415 /checksum/SHA384/reset/117 2152s ok 1416 /checksum/SHA384/reset/118 2152s ok 1417 /checksum/SHA384/reset/119 2152s ok 1418 /checksum/SHA384/reset/120 2152s ok 1419 /checksum/SHA384/reset/121 2152s ok 1420 /checksum/SHA384/reset/122 2152s ok 1421 /checksum/SHA384/reset/123 2152s ok 1422 /checksum/SHA384/reset/124 2152s ok 1423 /checksum/SHA384/reset/125 2152s ok 1424 /checksum/SHA384/reset/126 2152s ok 1425 /checksum/SHA384/reset/127 2152s ok 1426 /checksum/SHA384/reset/128 2152s ok 1427 /checksum/SHA384/reset/129 2152s ok 1428 /checksum/SHA384/reset/130 2152s ok 1429 /checksum/SHA384/reset/131 2152s ok 1430 /checksum/SHA384/reset/132 2152s ok 1431 /checksum/SHA384/reset/133 2152s ok 1432 /checksum/SHA384/reset/134 2152s ok 1433 /checksum/SHA384/reset/135 2152s ok 1434 /checksum/SHA384/reset/136 2152s ok 1435 /checksum/SHA384/reset/137 2152s ok 1436 /checksum/SHA384/reset/138 2152s ok 1437 /checksum/SHA384/reset/139 2152s ok 1438 /checksum/SHA384/reset/140 2152s ok 1439 /checksum/SHA384/reset/141 2152s ok 1440 /checksum/SHA384/reset/142 2152s ok 1441 /checksum/SHA384/reset/143 2152s ok 1442 /checksum/SHA384/reset/144 2152s ok 1443 /checksum/SHA384/reset/145 2152s ok 1444 /checksum/SHA384/reset/146 2152s ok 1445 /checksum/SHA384/reset/147 2152s ok 1446 /checksum/SHA384/reset/148 2152s ok 1447 /checksum/SHA384/reset/149 2152s ok 1448 /checksum/SHA384/reset/150 2152s ok 1449 /checksum/SHA384/reset/151 2152s ok 1450 /checksum/SHA384/reset/152 2152s ok 1451 /checksum/SHA384/reset/153 2152s ok 1452 /checksum/SHA384/reset/154 2152s ok 1453 /checksum/SHA384/reset/155 2152s ok 1454 /checksum/SHA384/reset/156 2152s ok 1455 /checksum/SHA384/reset/157 2152s ok 1456 /checksum/SHA384/reset/158 2152s ok 1457 /checksum/SHA384/reset/159 2152s ok 1458 /checksum/SHA384/reset/160 2152s ok 1459 /checksum/SHA384/reset/161 2152s ok 1460 /checksum/SHA384/reset/162 2152s ok 1461 /checksum/SHA384/reset/163 2152s ok 1462 /checksum/SHA384/reset/164 2152s ok 1463 /checksum/SHA384/reset/165 2152s ok 1464 /checksum/SHA384/reset/166 2152s ok 1465 /checksum/SHA384/reset/167 2152s ok 1466 /checksum/SHA384/reset/168 2152s ok 1467 /checksum/SHA384/reset/169 2152s ok 1468 /checksum/SHA384/reset/170 2152s ok 1469 /checksum/SHA384/reset/171 2152s ok 1470 /checksum/SHA384/reset/172 2152s ok 1471 /checksum/SHA384/reset/173 2152s ok 1472 /checksum/SHA384/reset/174 2152s ok 1473 /checksum/SHA384/reset/175 2152s ok 1474 /checksum/SHA384/reset/176 2152s ok 1475 /checksum/SHA384/reset/177 2152s ok 1476 /checksum/SHA384/reset/178 2152s ok 1477 /checksum/SHA384/reset/179 2152s ok 1478 /checksum/SHA384/reset/180 2152s ok 1479 /checksum/SHA384/reset/181 2152s ok 1480 /checksum/SHA384/reset/182 2152s ok 1481 /checksum/SHA384/reset/183 2152s # End of reset tests 2152s # End of SHA384 tests 2152s # Start of SHA512 tests 2152s ok 1482 /checksum/SHA512/0 2152s ok 1483 /checksum/SHA512/1 2152s ok 1484 /checksum/SHA512/2 2152s ok 1485 /checksum/SHA512/3 2152s ok 1486 /checksum/SHA512/4 2152s ok 1487 /checksum/SHA512/5 2152s ok 1488 /checksum/SHA512/6 2152s ok 1489 /checksum/SHA512/7 2152s ok 1490 /checksum/SHA512/8 2152s ok 1491 /checksum/SHA512/9 2152s ok 1492 /checksum/SHA512/10 2152s ok 1493 /checksum/SHA512/11 2152s ok 1494 /checksum/SHA512/12 2152s ok 1495 /checksum/SHA512/13 2152s ok 1496 /checksum/SHA512/14 2152s ok 1497 /checksum/SHA512/15 2152s ok 1498 /checksum/SHA512/16 2152s ok 1499 /checksum/SHA512/17 2152s ok 1500 /checksum/SHA512/18 2152s ok 1501 /checksum/SHA512/19 2152s ok 1502 /checksum/SHA512/20 2152s ok 1503 /checksum/SHA512/21 2152s ok 1504 /checksum/SHA512/22 2152s ok 1505 /checksum/SHA512/23 2152s ok 1506 /checksum/SHA512/24 2152s ok 1507 /checksum/SHA512/25 2152s ok 1508 /checksum/SHA512/26 2152s ok 1509 /checksum/SHA512/27 2152s ok 1510 /checksum/SHA512/28 2152s ok 1511 /checksum/SHA512/29 2152s ok 1512 /checksum/SHA512/30 2152s ok 1513 /checksum/SHA512/31 2152s ok 1514 /checksum/SHA512/32 2152s ok 1515 /checksum/SHA512/33 2152s ok 1516 /checksum/SHA512/34 2152s ok 1517 /checksum/SHA512/35 2152s ok 1518 /checksum/SHA512/36 2152s ok 1519 /checksum/SHA512/37 2152s ok 1520 /checksum/SHA512/38 2152s ok 1521 /checksum/SHA512/39 2152s ok 1522 /checksum/SHA512/40 2152s ok 1523 /checksum/SHA512/41 2152s ok 1524 /checksum/SHA512/42 2152s ok 1525 /checksum/SHA512/43 2152s ok 1526 /checksum/SHA512/44 2152s ok 1527 /checksum/SHA512/45 2152s ok 1528 /checksum/SHA512/46 2152s ok 1529 /checksum/SHA512/47 2152s ok 1530 /checksum/SHA512/48 2152s ok 1531 /checksum/SHA512/49 2152s ok 1532 /checksum/SHA512/50 2152s ok 1533 /checksum/SHA512/51 2152s ok 1534 /checksum/SHA512/52 2152s ok 1535 /checksum/SHA512/53 2152s ok 1536 /checksum/SHA512/54 2152s ok 1537 /checksum/SHA512/55 2152s ok 1538 /checksum/SHA512/56 2152s ok 1539 /checksum/SHA512/57 2152s ok 1540 /checksum/SHA512/58 2152s ok 1541 /checksum/SHA512/59 2152s ok 1542 /checksum/SHA512/60 2152s ok 1543 /checksum/SHA512/61 2152s ok 1544 /checksum/SHA512/62 2152s ok 1545 /checksum/SHA512/63 2152s ok 1546 /checksum/SHA512/64 2152s ok 1547 /checksum/SHA512/65 2152s ok 1548 /checksum/SHA512/66 2152s ok 1549 /checksum/SHA512/67 2152s ok 1550 /checksum/SHA512/68 2152s ok 1551 /checksum/SHA512/69 2152s ok 1552 /checksum/SHA512/70 2152s ok 1553 /checksum/SHA512/71 2152s ok 1554 /checksum/SHA512/72 2152s ok 1555 /checksum/SHA512/73 2152s ok 1556 /checksum/SHA512/74 2152s ok 1557 /checksum/SHA512/75 2152s ok 1558 /checksum/SHA512/76 2152s ok 1559 /checksum/SHA512/77 2152s ok 1560 /checksum/SHA512/78 2152s ok 1561 /checksum/SHA512/79 2152s ok 1562 /checksum/SHA512/80 2152s ok 1563 /checksum/SHA512/81 2152s ok 1564 /checksum/SHA512/82 2152s ok 1565 /checksum/SHA512/83 2152s ok 1566 /checksum/SHA512/84 2152s ok 1567 /checksum/SHA512/85 2152s ok 1568 /checksum/SHA512/86 2152s ok 1569 /checksum/SHA512/87 2152s ok 1570 /checksum/SHA512/88 2152s ok 1571 /checksum/SHA512/89 2152s ok 1572 /checksum/SHA512/90 2152s ok 1573 /checksum/SHA512/91 2152s ok 1574 /checksum/SHA512/92 2152s ok 1575 /checksum/SHA512/93 2152s ok 1576 /checksum/SHA512/94 2152s ok 1577 /checksum/SHA512/95 2152s ok 1578 /checksum/SHA512/96 2152s ok 1579 /checksum/SHA512/97 2152s ok 1580 /checksum/SHA512/98 2152s ok 1581 /checksum/SHA512/99 2152s ok 1582 /checksum/SHA512/100 2152s ok 1583 /checksum/SHA512/101 2152s ok 1584 /checksum/SHA512/102 2152s ok 1585 /checksum/SHA512/103 2152s ok 1586 /checksum/SHA512/104 2152s ok 1587 /checksum/SHA512/105 2152s ok 1588 /checksum/SHA512/106 2152s ok 1589 /checksum/SHA512/107 2152s ok 1590 /checksum/SHA512/108 2152s ok 1591 /checksum/SHA512/109 2152s ok 1592 /checksum/SHA512/110 2152s ok 1593 /checksum/SHA512/111 2152s ok 1594 /checksum/SHA512/112 2152s ok 1595 /checksum/SHA512/113 2152s ok 1596 /checksum/SHA512/114 2152s ok 1597 /checksum/SHA512/115 2152s ok 1598 /checksum/SHA512/116 2152s ok 1599 /checksum/SHA512/117 2152s ok 1600 /checksum/SHA512/118 2152s ok 1601 /checksum/SHA512/119 2152s ok 1602 /checksum/SHA512/120 2152s ok 1603 /checksum/SHA512/121 2152s ok 1604 /checksum/SHA512/122 2152s ok 1605 /checksum/SHA512/123 2152s ok 1606 /checksum/SHA512/124 2152s ok 1607 /checksum/SHA512/125 2152s ok 1608 /checksum/SHA512/126 2152s ok 1609 /checksum/SHA512/127 2152s ok 1610 /checksum/SHA512/128 2152s ok 1611 /checksum/SHA512/129 2152s ok 1612 /checksum/SHA512/130 2152s ok 1613 /checksum/SHA512/131 2152s ok 1614 /checksum/SHA512/132 2152s ok 1615 /checksum/SHA512/133 2152s ok 1616 /checksum/SHA512/134 2152s ok 1617 /checksum/SHA512/135 2152s ok 1618 /checksum/SHA512/136 2152s ok 1619 /checksum/SHA512/137 2152s ok 1620 /checksum/SHA512/138 2152s ok 1621 /checksum/SHA512/139 2152s ok 1622 /checksum/SHA512/140 2152s ok 1623 /checksum/SHA512/141 2152s ok 1624 /checksum/SHA512/142 2152s ok 1625 /checksum/SHA512/143 2152s ok 1626 /checksum/SHA512/144 2152s ok 1627 /checksum/SHA512/145 2152s ok 1628 /checksum/SHA512/146 2152s ok 1629 /checksum/SHA512/147 2152s ok 1630 /checksum/SHA512/148 2152s ok 1631 /checksum/SHA512/149 2152s ok 1632 /checksum/SHA512/150 2152s ok 1633 /checksum/SHA512/151 2152s ok 1634 /checksum/SHA512/152 2152s ok 1635 /checksum/SHA512/153 2152s ok 1636 /checksum/SHA512/154 2152s ok 1637 /checksum/SHA512/155 2152s ok 1638 /checksum/SHA512/156 2152s ok 1639 /checksum/SHA512/157 2152s ok 1640 /checksum/SHA512/158 2152s ok 1641 /checksum/SHA512/159 2152s ok 1642 /checksum/SHA512/160 2152s ok 1643 /checksum/SHA512/161 2152s ok 1644 /checksum/SHA512/162 2152s ok 1645 /checksum/SHA512/163 2152s ok 1646 /checksum/SHA512/164 2152s ok 1647 /checksum/SHA512/165 2152s ok 1648 /checksum/SHA512/166 2152s ok 1649 /checksum/SHA512/167 2152s ok 1650 /checksum/SHA512/168 2152s ok 1651 /checksum/SHA512/169 2152s ok 1652 /checksum/SHA512/170 2152s ok 1653 /checksum/SHA512/171 2152s ok 1654 /checksum/SHA512/172 2152s ok 1655 /checksum/SHA512/173 2152s ok 1656 /checksum/SHA512/174 2152s ok 1657 /checksum/SHA512/175 2152s ok 1658 /checksum/SHA512/176 2152s ok 1659 /checksum/SHA512/177 2152s ok 1660 /checksum/SHA512/178 2152s ok 1661 /checksum/SHA512/179 2152s ok 1662 /checksum/SHA512/180 2152s ok 1663 /checksum/SHA512/181 2152s ok 1664 /checksum/SHA512/182 2152s ok 1665 /checksum/SHA512/183 2152s ok 1666 /checksum/SHA512/string 2152s ok 1667 /checksum/SHA512/bytes 2152s # Start of reset tests 2152s ok 1668 /checksum/SHA512/reset/0 2152s ok 1669 /checksum/SHA512/reset/1 2152s ok 1670 /checksum/SHA512/reset/2 2152s ok 1671 /checksum/SHA512/reset/3 2152s ok 1672 /checksum/SHA512/reset/4 2152s ok 1673 /checksum/SHA512/reset/5 2152s ok 1674 /checksum/SHA512/reset/6 2152s ok 1675 /checksum/SHA512/reset/7 2152s ok 1676 /checksum/SHA512/reset/8 2152s ok 1677 /checksum/SHA512/reset/9 2152s ok 1678 /checksum/SHA512/reset/10 2152s ok 1679 /checksum/SHA512/reset/11 2152s ok 1680 /checksum/SHA512/reset/12 2152s ok 1681 /checksum/SHA512/reset/13 2152s ok 1682 /checksum/SHA512/reset/14 2152s ok 1683 /checksum/SHA512/reset/15 2152s ok 1684 /checksum/SHA512/reset/16 2152s ok 1685 /checksum/SHA512/reset/17 2152s ok 1686 /checksum/SHA512/reset/18 2152s ok 1687 /checksum/SHA512/reset/19 2152s ok 1688 /checksum/SHA512/reset/20 2152s ok 1689 /checksum/SHA512/reset/21 2152s ok 1690 /checksum/SHA512/reset/22 2152s ok 1691 /checksum/SHA512/reset/23 2152s ok 1692 /checksum/SHA512/reset/24 2152s ok 1693 /checksum/SHA512/reset/25 2152s ok 1694 /checksum/SHA512/reset/26 2152s ok 1695 /checksum/SHA512/reset/27 2152s ok 1696 /checksum/SHA512/reset/28 2152s ok 1697 /checksum/SHA512/reset/29 2152s ok 1698 /checksum/SHA512/reset/30 2152s ok 1699 /checksum/SHA512/reset/31 2152s ok 1700 /checksum/SHA512/reset/32 2152s ok 1701 /checksum/SHA512/reset/33 2152s ok 1702 /checksum/SHA512/reset/34 2152s ok 1703 /checksum/SHA512/reset/35 2152s ok 1704 /checksum/SHA512/reset/36 2152s ok 1705 /checksum/SHA512/reset/37 2152s ok 1706 /checksum/SHA512/reset/38 2152s ok 1707 /checksum/SHA512/reset/39 2152s ok 1708 /checksum/SHA512/reset/40 2152s ok 1709 /checksum/SHA512/reset/41 2152s ok 1710 /checksum/SHA512/reset/42 2152s ok 1711 /checksum/SHA512/reset/43 2152s ok 1712 /checksum/SHA512/reset/44 2152s ok 1713 /checksum/SHA512/reset/45 2152s ok 1714 /checksum/SHA512/reset/46 2152s ok 1715 /checksum/SHA512/reset/47 2152s ok 1716 /checksum/SHA512/reset/48 2152s ok 1717 /checksum/SHA512/reset/49 2152s ok 1718 /checksum/SHA512/reset/50 2152s ok 1719 /checksum/SHA512/reset/51 2152s ok 1720 /checksum/SHA512/reset/52 2152s ok 1721 /checksum/SHA512/reset/53 2152s ok 1722 /checksum/SHA512/reset/54 2152s ok 1723 /checksum/SHA512/reset/55 2152s ok 1724 /checksum/SHA512/reset/56 2152s ok 1725 /checksum/SHA512/reset/57 2152s ok 1726 /checksum/SHA512/reset/58 2152s ok 1727 /checksum/SHA512/reset/59 2152s ok 1728 /checksum/SHA512/reset/60 2152s ok 1729 /checksum/SHA512/reset/61 2152s ok 1730 /checksum/SHA512/reset/62 2152s ok 1731 /checksum/SHA512/reset/63 2152s ok 1732 /checksum/SHA512/reset/64 2152s ok 1733 /checksum/SHA512/reset/65 2152s ok 1734 /checksum/SHA512/reset/66 2152s ok 1735 /checksum/SHA512/reset/67 2152s ok 1736 /checksum/SHA512/reset/68 2152s ok 1737 /checksum/SHA512/reset/69 2152s ok 1738 /checksum/SHA512/reset/70 2152s ok 1739 /checksum/SHA512/reset/71 2152s ok 1740 /checksum/SHA512/reset/72 2152s ok 1741 /checksum/SHA512/reset/73 2152s ok 1742 /checksum/SHA512/reset/74 2152s ok 1743 /checksum/SHA512/reset/75 2152s ok 1744 /checksum/SHA512/reset/76 2152s ok 1745 /checksum/SHA512/reset/77 2152s ok 1746 /checksum/SHA512/reset/78 2152s ok 1747 /checksum/SHA512/reset/79 2152s ok 1748 /checksum/SHA512/reset/80 2152s ok 1749 /checksum/SHA512/reset/81 2152s ok 1750 /checksum/SHA512/reset/82 2152s ok 1751 /checksum/SHA512/reset/83 2152s ok 1752 /checksum/SHA512/reset/84 2152s ok 1753 /checksum/SHA512/reset/85 2152s ok 1754 /checksum/SHA512/reset/86 2152s ok 1755 /checksum/SHA512/reset/87 2152s ok 1756 /checksum/SHA512/reset/88 2152s ok 1757 /checksum/SHA512/reset/89 2152s ok 1758 /checksum/SHA512/reset/90 2152s ok 1759 /checksum/SHA512/reset/91 2152s ok 1760 /checksum/SHA512/reset/92 2152s ok 1761 /checksum/SHA512/reset/93 2152s ok 1762 /checksum/SHA512/reset/94 2152s ok 1763 /checksum/SHA512/reset/95 2152s ok 1764 /checksum/SHA512/reset/96 2152s ok 1765 /checksum/SHA512/reset/97 2152s ok 1766 /checksum/SHA512/reset/98 2152s ok 1767 /checksum/SHA512/reset/99 2152s ok 1768 /checksum/SHA512/reset/100 2152s ok 1769 /checksum/SHA512/reset/101 2152s ok 1770 /checksum/SHA512/reset/102 2152s ok 1771 /checksum/SHA512/reset/103 2152s ok 1772 /checksum/SHA512/reset/104 2152s ok 1773 /checksum/SHA512/reset/105 2152s ok 1774 /checksum/SHA512/reset/106 2152s ok 1775 /checksum/SHA512/reset/107 2152s ok 1776 /checksum/SHA512/reset/108 2152s ok 1777 /checksum/SHA512/reset/109 2152s ok 1778 /checksum/SHA512/reset/110 2152s ok 1779 /checksum/SHA512/reset/111 2152s ok 1780 /checksum/SHA512/reset/112 2152s ok 1781 /checksum/SHA512/reset/113 2152s ok 1782 /checksum/SHA512/reset/114 2152s ok 1783 /checksum/SHA512/reset/115 2152s ok 1784 /checksum/SHA512/reset/116 2152s ok 1785 /checksum/SHA512/reset/117 2152s ok 1786 /checksum/SHA512/reset/118 2152s ok 1787 /checksum/SHA512/reset/119 2152s ok 1788 /checksum/SHA512/reset/120 2152s ok 1789 /checksum/SHA512/reset/121 2152s ok 1790 /checksum/SHA512/reset/122 2152s ok 1791 /checksum/SHA512/reset/123 2152s ok 1792 /checksum/SHA512/reset/124 2152s ok 1793 /checksum/SHA512/reset/125 2152s ok 1794 /checksum/SHA512/reset/126 2152s ok 1795 /checksum/SHA512/reset/127 2152s ok 1796 /checksum/SHA512/reset/128 2152s ok 1797 /checksum/SHA512/reset/129 2152s ok 1798 /checksum/SHA512/reset/130 2152s ok 1799 /checksum/SHA512/reset/131 2152s ok 1800 /checksum/SHA512/reset/132 2152s ok 1801 /checksum/SHA512/reset/133 2152s ok 1802 /checksum/SHA512/reset/134 2152s ok 1803 /checksum/SHA512/reset/135 2152s ok 1804 /checksum/SHA512/reset/136 2152s ok 1805 /checksum/SHA512/reset/137 2152s ok 1806 /checksum/SHA512/reset/138 2152s ok 1807 /checksum/SHA512/reset/139 2152s ok 1808 /checksum/SHA512/reset/140 2152s ok 1809 /checksum/SHA512/reset/141 2152s ok 1810 /checksum/SHA512/reset/142 2152s ok 1811 /checksum/SHA512/reset/143 2152s ok 1812 /checksum/SHA512/reset/144 2152s ok 1813 /checksum/SHA512/reset/145 2152s ok 1814 /checksum/SHA512/reset/146 2152s ok 1815 /checksum/SHA512/reset/147 2152s ok 1816 /checksum/SHA512/reset/148 2152s ok 1817 /checksum/SHA512/reset/149 2152s ok 1818 /checksum/SHA512/reset/150 2152s ok 1819 /checksum/SHA512/reset/151 2152s ok 1820 /checksum/SHA512/reset/152 2152s ok 1821 /checksum/SHA512/reset/153 2152s ok 1822 /checksum/SHA512/reset/154 2152s ok 1823 /checksum/SHA512/reset/155 2152s ok 1824 /checksum/SHA512/reset/156 2152s ok 1825 /checksum/SHA512/reset/157 2152s ok 1826 /checksum/SHA512/reset/158 2152s ok 1827 /checksum/SHA512/reset/159 2152s ok 1828 /checksum/SHA512/reset/160 2152s ok 1829 /checksum/SHA512/reset/161 2152s ok 1830 /checksum/SHA512/reset/162 2152s ok 1831 /checksum/SHA512/reset/163 2152s ok 1832 /checksum/SHA512/reset/164 2152s ok 1833 /checksum/SHA512/reset/165 2152s ok 1834 /checksum/SHA512/reset/166 2152s ok 1835 /checksum/SHA512/reset/167 2152s ok 1836 /checksum/SHA512/reset/168 2152s ok 1837 /checksum/SHA512/reset/169 2152s ok 1838 /checksum/SHA512/reset/170 2152s ok 1839 /checksum/SHA512/reset/171 2152s ok 1840 /checksum/SHA512/reset/172 2152s ok 1841 /checksum/SHA512/reset/173 2152s ok 1842 /checksum/SHA512/reset/174 2152s ok 1843 /checksum/SHA512/reset/175 2152s ok 1844 /checksum/SHA512/reset/176 2152s ok 1845 /checksum/SHA512/reset/177 2152s ok 1846 /checksum/SHA512/reset/178 2152s ok 1847 /checksum/SHA512/reset/179 2152s ok 1848 /checksum/SHA512/reset/180 2152s ok 1849 /checksum/SHA512/reset/181 2152s ok 1850 /checksum/SHA512/reset/182 2152s ok 1851 /checksum/SHA512/reset/183 2152s # End of reset tests 2152s # End of SHA512 tests 2152s # End of checksum tests 2152s ok - glib/checksum.test 2152s # Running test: glib/autoptr.test 2152s TAP version 14 2152s # random seed: R02Sfce78d1b75a013e21f2e2b18b64def6e 2152s 1..6 2152s # Start of autoptr tests 2152s ok 1 /autoptr/autoptr 2152s ok 2 /autoptr/autoptr_steal 2152s ok 3 /autoptr/autolist 2152s ok 4 /autoptr/autoslist 2152s ok 5 /autoptr/autoqueue 2152s ok 6 /autoptr/autoclass 2152s # End of autoptr tests 2152s ok - glib/autoptr.test 2152s # Running test: glib/642026.test 2152s TAP version 14 2152s # random seed: R02S72c63b347ae11208666c98b64b095813 2152s 1..1 2152s # Start of glib tests 2152s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 2152s ok 1 /glib/642026 2152s # End of glib tests 2152s ok - glib/642026.test 2152s # Running test: glib/utf8-pointer.test 2152s TAP version 14 2152s # random seed: R02S35f3d185397783315103d45a7ca7c974 2152s 1..3 2152s # Start of utf8 tests 2153s ok 1 /utf8/offsets 2153s # slow test /utf8/offsets executed in 1.00 secs 2153s ok 2 /utf8/lengths 2153s ok 3 /utf8/find 2153s # End of utf8 tests 2153s ok - glib/utf8-pointer.test 2153s # Running test: glib/network-address.test 2153s TAP version 14 2153s # random seed: R02S268930d050eca0cce58b891f483b59f2 2153s 1..72 2153s # Start of network-address tests 2153s ok 1 /network-address/basic 2153s ok 2 /network-address/scope-id 2153s ok 3 /network-address/uri-scope-id 2153s ok 4 /network-address/to-string 2153s # Start of parse-host tests 2153s ok 5 /network-address/parse-host/0 2153s ok 6 /network-address/parse-host/1 2153s ok 7 /network-address/parse-host/2 2153s ok 8 /network-address/parse-host/3 2153s ok 9 /network-address/parse-host/4 2153s ok 10 /network-address/parse-host/5 2153s ok 11 /network-address/parse-host/6 2153s ok 12 /network-address/parse-host/7 2153s ok 13 /network-address/parse-host/8 2153s ok 14 /network-address/parse-host/9 2153s ok 15 /network-address/parse-host/10 2153s ok 16 /network-address/parse-host/11 2153s ok 17 /network-address/parse-host/12 2153s ok 18 /network-address/parse-host/13 2153s # End of parse-host tests 2153s # Start of parse-uri tests 2153s ok 19 /network-address/parse-uri/0 2153s ok 20 /network-address/parse-uri/1 2153s ok 21 /network-address/parse-uri/2 2153s ok 22 /network-address/parse-uri/3 2153s ok 23 /network-address/parse-uri/4 2153s ok 24 /network-address/parse-uri/5 2153s ok 25 /network-address/parse-uri/6 2153s ok 26 /network-address/parse-uri/7 2153s ok 27 /network-address/parse-uri/8 2153s ok 28 /network-address/parse-uri/9 2153s # End of parse-uri tests 2153s # Start of resolve-address tests 2153s # Input: 192.168.1.2 2153s ok 29 /network-address/resolve-address/0 2153s # Input: fe80::42 2153s ok 30 /network-address/resolve-address/1 2153s # Input: 192.168.1.2:80 2153s ok 31 /network-address/resolve-address/2 2153s # Input: [fe80::42] 2153s ok 32 /network-address/resolve-address/3 2153s # Input: [fe80::42]:80 2153s ok 33 /network-address/resolve-address/4 2153s # Input: 192.168.258 2153s ok 34 /network-address/resolve-address/5 2153s # Input: 192.11010306 2153s ok 35 /network-address/resolve-address/6 2153s # Input: 3232235778 2153s ok 36 /network-address/resolve-address/7 2153s # Input: 0300.0250.0001.0001 2153s ok 37 /network-address/resolve-address/8 2153s # Input: 0xC0.0xA8.0x01.0x02 2153s ok 38 /network-address/resolve-address/9 2153s # Input: 0xc0.0xa8.0x01.0x02 2153s ok 39 /network-address/resolve-address/10 2153s # Input: 0xc0a80102 2153s ok 40 /network-address/resolve-address/11 2153s # End of resolve-address tests 2153s # Start of loopback tests 2153s ok 41 /network-address/loopback/basic 2153s ok 42 /network-address/loopback/sync 2153s ok 43 /network-address/loopback/async 2153s # End of loopback tests 2153s # Start of localhost tests 2153s ok 44 /network-address/localhost/async 2153s ok 45 /network-address/localhost/sync 2153s # End of localhost tests 2153s # Start of happy-eyeballs tests 2153s ok 46 /network-address/happy-eyeballs/basic 2154s ok 47 /network-address/happy-eyeballs/parallel 2154s ok 48 /network-address/happy-eyeballs/slow-ipv4 2154s ok 49 /network-address/happy-eyeballs/slow-ipv6 2154s ok 50 /network-address/happy-eyeballs/very-slow-ipv6 2155s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4 2155s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.80 secs 2155s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2155s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first 2155s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2155s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first 2155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865 2155s # /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. 2155s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2155s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow 2155s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2155s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first 2155s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2155s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first 2155s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2155s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2155s ok 57 /network-address/happy-eyeballs/both-error 2155s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2155s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2155s ok 58 /network-address/happy-eyeballs/both-error-delays-1 2155s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2155s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken 2155s ok 59 /network-address/happy-eyeballs/both-error-delays-2 2155s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken 2155s ok 60 /network-address/happy-eyeballs/both-error-delays-3 2155s # End of happy-eyeballs tests 2155s # End of network-address tests 2155s # Start of gresolver tests 2155s # Start of resolve-address tests 2155s # Input: 192.168.1.2 2155s ok 61 /gresolver/resolve-address/0 2155s # Input: fe80::42 2155s ok 62 /gresolver/resolve-address/1 2155s # Input: 192.168.1.2:80 2155s # Error: Error resolving ?192.168.1.2:80?: Name or service not known 2155s ok 63 /gresolver/resolve-address/2 2155s # Input: [fe80::42] 2155s # Error: Error resolving ?[fe80::42]?: Name or service not known 2155s ok 64 /gresolver/resolve-address/3 2155s # Input: [fe80::42]:80 2155s # Error: Error resolving ?[fe80::42]:80?: Name or service not known 2155s ok 65 /gresolver/resolve-address/4 2155s # Input: 192.168.258 2155s # Error: Error resolving ?192.168.258?: Name or service not known 2155s ok 66 /gresolver/resolve-address/5 2155s # Input: 192.11010306 2155s # Error: Error resolving ?192.11010306?: Name or service not known 2155s ok 67 /gresolver/resolve-address/6 2155s # Input: 3232235778 2155s # Error: Error resolving ?3232235778?: Name or service not known 2155s ok 68 /gresolver/resolve-address/7 2155s # Input: 0300.0250.0001.0001 2155s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known 2155s ok 69 /gresolver/resolve-address/8 2155s # Input: 0xC0.0xA8.0x01.0x02 2155s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known 2155s ok 70 /gresolver/resolve-address/9 2155s # Input: 0xc0.0xa8.0x01.0x02 2155s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known 2155s ok 71 /gresolver/resolve-address/10 2155s # Input: 0xc0a80102 2155s # Error: Error resolving ?0xc0a80102?: Name or service not known 2155s ok 72 /gresolver/resolve-address/11 2155s # End of resolve-address tests 2155s # End of gresolver tests 2155s ok - glib/network-address.test 2155s # Running test: glib/rcbox.test 2155s TAP version 14 2155s # random seed: R02S1bbf78c387067da7304b1cf81145bfab 2155s 1..8 2155s # Start of rcbox tests 2155s ok 1 /rcbox/new 2155s # global_point = 0xf78b0b8 2155s ok 2 /rcbox/release-full 2155s # global_point_a = 0xf78b0b8 2155s # global_point_b = 0xf792fb8 2155s ok 3 /rcbox/dup 2155s ok 4 /rcbox/alignment 2155s # End of rcbox tests 2155s # Start of atomic-rcbox tests 2155s ok 5 /atomic-rcbox/new 2155s # global_point = 0xf78b1e8 2155s ok 6 /atomic-rcbox/release-full 2155s # global_point_a = 0xf78b1e8 2155s # global_point_b = 0xf78b1c8 2155s ok 7 /atomic-rcbox/dup 2155s ok 8 /atomic-rcbox/alignment 2155s # End of atomic-rcbox tests 2155s ok - glib/rcbox.test 2155s # Running test: glib/gdbus-connection-loss.test 2155s TAP version 14 2155s # random seed: R02S7aadb0f05a5d42106a2f0f22622e6914 2155s 1..1 2155s # Start of gdbus tests 2155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/home 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/cache 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/system-config2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/config 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/system-data2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/data 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/state 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_JJ2K22/gdbus/connection-loss/.dirs/runtime 2155s ok 1 /gdbus/connection-loss 2155s # End of gdbus tests 2155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2155s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2155s ok - glib/gdbus-connection-loss.test 2155s # Running test: glib/union-info.test 2155s TAP version 14 2155s # random seed: R02S7a412f5d27f2b1c6e69993c84f28dd88 2155s 1..2 2155s # Start of union-info tests 2155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_PII112/union-info/basic/.dirs/home 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_PII112/union-info/basic/.dirs/cache 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_PII112/union-info/basic/.dirs/system-config1:/tmp/test_union-info_PII112/union-info/basic/.dirs/system-config2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_PII112/union-info/basic/.dirs/config 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_PII112/union-info/basic/.dirs/system-data1:/tmp/test_union-info_PII112/union-info/basic/.dirs/system-data2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_PII112/union-info/basic/.dirs/data 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_PII112/union-info/basic/.dirs/state 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_PII112/union-info/basic/.dirs/runtime 2155s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2155s # /union-info/basic summary: Test basic properties of GIUnionInfo 2155s ok 1 /union-info/basic 2155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_PII112/union-info/methods/.dirs/home 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_PII112/union-info/methods/.dirs/cache 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_PII112/union-info/methods/.dirs/system-config1:/tmp/test_union-info_PII112/union-info/methods/.dirs/system-config2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_PII112/union-info/methods/.dirs/config 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_PII112/union-info/methods/.dirs/system-data1:/tmp/test_union-info_PII112/union-info/methods/.dirs/system-data2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_PII112/union-info/methods/.dirs/data 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_PII112/union-info/methods/.dirs/state 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_PII112/union-info/methods/.dirs/runtime 2155s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2155s # /union-info/methods summary: Test retrieving methods from GIUnionInfo 2155s ok 2 /union-info/methods 2155s # End of union-info tests 2155s ok - glib/union-info.test 2155s # Running test: glib/queue.test 2155s TAP version 14 2155s # random seed: R02S2ed46700dc06594c7d359f1ec6833a1e 2155s 1..12 2155s # Start of queue tests 2155s ok 1 /queue/basic 2155s ok 2 /queue/copy 2155s ok 3 /queue/off-by-one 2155s ok 4 /queue/find-custom 2155s ok 5 /queue/static 2155s ok 6 /queue/clear 2155s ok 7 /queue/free-full 2155s ok 8 /queue/clear-full 2155s ok 9 /queue/insert-sibling-link 2155s ok 10 /queue/push-nth-link 2155s # Start of clear-full tests 2155s ok 11 /queue/clear-full/noop 2155s # End of clear-full tests 2155s # Start of random tests 2155s ok 12 /queue/random/seed:389685527 2155s # End of random tests 2155s # End of queue tests 2155s ok - glib/queue.test 2155s # Running test: glib/struct-info.test 2155s TAP version 14 2155s # random seed: R02S9cdb5795d58a8717ae298b3a574b477a 2155s 1..4 2155s # Start of struct-info tests 2155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/home 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/cache 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/system-config2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/config 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/system-data2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/data 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/state 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_2CY212/struct-info/field-iterators/.dirs/runtime 2155s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2155s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field() 2155s ok 1 /struct-info/field-iterators 2155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/home 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/cache 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/system-config2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/config 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/system-data2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/data 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/state 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_2CY212/struct-info/sizeof-gvalue/.dirs/runtime 2155s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2155s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue 2155s ok 2 /struct-info/sizeof-gvalue 2155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/home 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/cache 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/config 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/data 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/state 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_2CY212/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime 2155s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2155s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer() 2155s ok 3 /struct-info/is-pointer-for-struct-method-arg 2155s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/home 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/cache 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/system-config2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/config 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/system-data2 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/data 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/state 2155s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_2CY212/struct-info/boxed/.dirs/runtime 2155s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2155s # /struct-info/boxed summary: Test that a boxed struct is recognised as such 2155s ok 4 /struct-info/boxed 2155s # End of struct-info tests 2155s ok - glib/struct-info.test 2155s # Running test: glib/bytes.test 2155s TAP version 14 2155s # random seed: R02S8fece40e006eee85216678c3a0e849d5 2155s 1..21 2155s # Start of bytes tests 2155s ok 1 /bytes/new 2155s ok 2 /bytes/new-take 2155s ok 3 /bytes/new-static 2155s ok 4 /bytes/new-with-free-func 2155s ok 5 /bytes/new-from-bytes 2155s ok 6 /bytes/new-from-bytes-slice 2155s ok 7 /bytes/new-from-bytes-shared-ref 2155s ok 8 /bytes/hash 2155s ok 9 /bytes/equal 2155s ok 10 /bytes/compare 2155s ok 11 /bytes/null 2155s ok 12 /bytes/get-region 2155s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op 2155s ok 13 /bytes/unref-null 2155s # Start of to-data tests 2155s ok 14 /bytes/to-data/transferred 2155s ok 15 /bytes/to-data/two-refs 2155s ok 16 /bytes/to-data/non-malloc 2155s ok 17 /bytes/to-data/different-free-func 2155s # End of to-data tests 2155s # Start of to-array tests 2155s ok 18 /bytes/to-array/transferred 2155s ok 19 /bytes/to-array/two-refs 2155s ok 20 /bytes/to-array/non-malloc 2155s # Start of transferred tests 2155s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected 2155s ok 21 /bytes/to-array/transferred/oversize # SKIP Skipping test as guint is not smaller than gsize 2155s # End of transferred tests 2155s # End of to-array tests 2155s # End of bytes tests 2155s ok - glib/bytes.test 2155s # Running test: glib/dynamictype.test 2155s TAP version 14 2155s # random seed: R02S406505be63dfac4320f9a1594ab11f0c 2155s 1..2 2155s # Start of gobject tests 2155s ok 1 /gobject/dynamic-type 2155s # Start of dynamic-type tests 2155s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623 2155s ok 2 /gobject/dynamic-type/query 2155s # End of dynamic-type tests 2155s # End of gobject tests 2155s ok - glib/dynamictype.test 2155s # Running test: glib/cxx-17.test 2155s TAP version 14 2155s # random seed: R02S2ea7fafef25799a2560b3640bf230068 2155s 1..2 2155s # Start of gtask tests 2155s # 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. 2155s ok 1 /gtask/name 2155s # Start of name tests 2155s # 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. 2155s ok 2 /gtask/name/macro-wrapper 2155s # End of name tests 2155s # End of gtask tests 2155s ok - glib/cxx-17.test 2155s # Running test: glib/asyncqueue.test 2155s TAP version 14 2155s # random seed: R02Sc325d9e12569d5076c9ce903d65a907b 2155s 1..7 2155s # Start of asyncqueue tests 2155s ok 1 /asyncqueue/basics 2155s ok 2 /asyncqueue/sort 2155s ok 3 /asyncqueue/destroy 2155s ok 4 /asyncqueue/threads 2156s ok 5 /asyncqueue/timed 2156s ok 6 /asyncqueue/remove 2156s ok 7 /asyncqueue/push_front 2156s # End of asyncqueue tests 2156s ok - glib/asyncqueue.test 2156s # Running test: glib/autoptr-girepository.test 2156s TAP version 14 2156s # random seed: R02S5dcff333e2c1338a5761bb2e4c2c20f8 2156s 1..24 2156s # Start of autoptr tests 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/repository/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 1 /autoptr/repository 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/typelib/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 2 /autoptr/typelib 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/base-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 3 /autoptr/base-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/arg-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 4 /autoptr/arg-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/callable-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 5 /autoptr/callable-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/callback-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 6 /autoptr/callback-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/constant-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 7 /autoptr/constant-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/enum-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 8 /autoptr/enum-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/field-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 9 /autoptr/field-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/flags-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 10 /autoptr/flags-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/function-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 11 /autoptr/function-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/interface-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 12 /autoptr/interface-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/object-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 13 /autoptr/object-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/property-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 14 /autoptr/property-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/registered-type-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 15 /autoptr/registered-type-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/signal-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 16 /autoptr/signal-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/struct-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 17 /autoptr/struct-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/type-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 18 /autoptr/type-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/union-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 19 /autoptr/union-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/value-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 20 /autoptr/value-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/autoptr/vfunc-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 21 /autoptr/vfunc-info 2156s # End of autoptr tests 2156s # Start of auto tests 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/auto/arg-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 22 /auto/arg-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/auto/type-info/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 23 /auto/type-info 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_VKBG22/auto/function-invoker/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s ok 24 /auto/function-invoker 2156s # End of auto tests 2156s ok - glib/autoptr-girepository.test 2156s # Running test: glib/throws.test 2156s TAP version 14 2156s # random seed: R02Sdea3161cb246b0bc95fc7f19aee95b85 2156s 1..3 2156s # Start of throws tests 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_Z4YF22/throws/invoke-gerror/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s # /throws/invoke-gerror summary: Test invoking a function that throws a GError 2156s ok 1 /throws/invoke-gerror 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_Z4YF22/throws/vfunc-can-throw-gerror/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc 2156s ok 2 /throws/vfunc-can-throw-gerror 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_Z4YF22/throws/callback-can-throw-gerror/.dirs/runtime 2156s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2156s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback 2156s ok 3 /throws/callback-can-throw-gerror 2156s # End of throws tests 2156s ok - glib/throws.test 2156s # Running test: glib/mount-operation.test 2156s TAP version 14 2156s # random seed: R02S926261eff6dff25fcfb16786c8161d6a 2156s 1..2 2156s # Start of mount-operation tests 2156s ok 1 /mount-operation/construction 2156s ok 2 /mount-operation/properties 2156s # End of mount-operation tests 2156s ok - glib/mount-operation.test 2156s # Running test: glib/unicode.test 2156s TAP version 14 2156s # random seed: R02Sfc37cca520493164dcc1f4ae8d0298e1 2156s 1..39 2156s # Start of unicode tests 2156s ok 1 /unicode/alnum 2156s ok 2 /unicode/alpha 2156s ok 3 /unicode/break-type 2156s ok 4 /unicode/canonical-decomposition 2156s ok 5 /unicode/casefold 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s # Cannot set locale to lt_LT, skipping 2156s ok 6 /unicode/casemap_and_casefold 2156s ok 7 /unicode/cases 2156s ok 8 /unicode/character-type 2156s ok 9 /unicode/cntrl 2156s ok 10 /unicode/combining-class 2156s # Composing U+000041 and U+000042; expecting U+000000 2156s # Composing U+000041 and U+000000; expecting U+000000 2156s # Composing U+000066 and U+000069; expecting U+000000 2156s # Composing U+000308 and U+000301; expecting U+000000 2156s # Composing U+000f71 and U+000f72; expecting U+000000 2156s # Composing U+00212b and U+000000; expecting U+000000 2156s # Composing U+0000c5 and U+000000; expecting U+000000 2156s # Composing U+002126 and U+000000; expecting U+000000 2156s # Composing U+0003a9 and U+000000; expecting U+000000 2156s # Composing U+000041 and U+00030a; expecting U+0000c5 2156s # Composing U+00006f and U+000302; expecting U+0000f4 2156s # Composing U+001e63 and U+000307; expecting U+001e69 2156s # Composing U+000073 and U+000323; expecting U+001e63 2156s # Composing U+000064 and U+000307; expecting U+001e0b 2156s # Composing U+000064 and U+000323; expecting U+001e0d 2156s # Composing U+00d4cc and U+0011b6; expecting U+00d4db 2156s # Composing U+001111 and U+001171; expecting U+00d4cc 2156s # Composing U+00ce20 and U+0011b8; expecting U+00ce31 2156s # Composing U+00110e and U+001173; expecting U+00ce20 2156s # Composing U+001100 and U+001160; expecting U+000000 2156s # Composing U+001100 and U+001177; expecting U+000000 2156s # Composing U+00abff and U+0011b6; expecting U+000000 2156s # Composing U+00d7a5 and U+0011b6; expecting U+000000 2156s # Composing U+00ac01 and U+0011b6; expecting U+000000 2156s # Composing U+00d4cc and U+0011a6; expecting U+000000 2156s # Composing U+00d4cc and U+0011c4; expecting U+000000 2156s # Composing U+01611e and U+01611e; expecting U+016121 2156s # Composing U+01611e and U+01611f; expecting U+016123 2156s # Composing U+0000f6 and U+000304; expecting U+00022b 2156s # Composing U+000b47 and U+000b57; expecting U+000b4c 2156s # Composing U+0000a0 and U+000b57; expecting U+000000 2156s # Composing U+016e00 and U+00030a; expecting U+000000 2156s # Composing U+00212b and U+016e00; expecting U+000000 2156s # Composing U+001e63 and U+000306; expecting U+000000 2156s # Composing U+001e63 and U+000304; expecting U+000000 2156s # Composing U+001e63 and U+000b57; expecting U+000000 2156s # Composing U+001e63 and U+000000; expecting U+000000 2156s # Composing U+001e63 and U+0113c2; expecting U+000000 2156s # Composing U+001f01 and U+0113c2; expecting U+000000 2156s # Composing U+00006e and U+000302; expecting U+000000 2156s # Composing U+001e63 and U+01611f; expecting U+000000 2156s # Composing U+01138e and U+0113b8; expecting U+000000 2156s # Composing U+01611e and U+000000; expecting U+000000 2156s # Composing U+000000 and U+01611f; expecting U+000000 2156s # Composing U+011390 and U+0113c2; expecting U+000000 2156s ok 11 /unicode/compose 2156s ok 12 /unicode/decompose 2156s ok 13 /unicode/decompose-tail 2156s ok 14 /unicode/defined 2156s ok 15 /unicode/digit 2156s ok 16 /unicode/digit-value 2156s # Fully decomposing U+000041; expecting 1 codepoints 2156s # Fully decomposing U+00fb01; expecting 1 codepoints 2156s # Fully decomposing U+00212b; expecting 2 codepoints 2156s # Fully decomposing U+002126; expecting 1 codepoints 2156s # Fully decomposing U+000344; expecting 2 codepoints 2156s # Fully decomposing U+000f73; expecting 2 codepoints 2156s # Fully decomposing U+0000c5; expecting 2 codepoints 2156s # Fully decomposing U+0000f4; expecting 2 codepoints 2156s # Fully decomposing U+001e69; expecting 3 codepoints 2156s # Fully decomposing U+001e63; expecting 2 codepoints 2156s # Fully decomposing U+001e0b; expecting 2 codepoints 2156s # Fully decomposing U+001e0d; expecting 2 codepoints 2156s # Fully decomposing U+00d4db; expecting 3 codepoints 2156s # Fully decomposing U+00d4cc; expecting 2 codepoints 2156s # Fully decomposing U+00ce31; expecting 3 codepoints 2156s # Fully decomposing U+00ce20; expecting 2 codepoints 2156s ok 17 /unicode/fully-decompose-canonical 2156s ok 18 /unicode/fully-decompose-len 2156s ok 19 /unicode/normalization 2156s ok 20 /unicode/graph 2156s # Testing script Zyyy (code 1517910393) 2156s # Testing script Zinh (code 1516858984) 2156s # Testing script Zmth (code 1517122664) 2156s # Testing script Arab (code 1098015074) 2156s # Testing script Armn (code 1098018158) 2156s # Testing script Beng (code 1113943655) 2156s # Testing script Bopo (code 1114599535) 2156s # Testing script Cher (code 1130915186) 2156s # Testing script Copt (code 1131376756) 2156s # Testing script Cyrl (code 1132032620) 2156s # Testing script Dsrt (code 1148416628) 2156s # Testing script Deva (code 1147500129) 2156s # Testing script Ethi (code 1165256809) 2156s # Testing script Geor (code 1197830002) 2156s # Testing script Goth (code 1198486632) 2156s # Testing script Grek (code 1198679403) 2156s # Testing script Gujr (code 1198877298) 2156s # Testing script Guru (code 1198879349) 2156s # Testing script Hani (code 1214344809) 2156s # Testing script Hang (code 1214344807) 2156s # Testing script Hebr (code 1214603890) 2156s # Testing script Hira (code 1214870113) 2156s # Testing script Knda (code 1265525857) 2156s # Testing script Kana (code 1264676449) 2156s # Testing script Khmr (code 1265134962) 2156s # Testing script Laoo (code 1281453935) 2156s # Testing script Latn (code 1281455214) 2156s # Testing script Mlym (code 1298954605) 2156s # Testing script Mong (code 1299148391) 2156s # Testing script Mymr (code 1299803506) 2156s # Testing script Ogam (code 1332175213) 2156s # Testing script Ital (code 1232363884) 2156s # Testing script Orya (code 1332902241) 2156s # Testing script Runr (code 1383427698) 2156s # Testing script Sinh (code 1399418472) 2156s # Testing script Syrc (code 1400468067) 2156s # Testing script Taml (code 1415671148) 2156s # Testing script Telu (code 1415933045) 2156s # Testing script Thaa (code 1416126817) 2156s # Testing script Thai (code 1416126825) 2156s # Testing script Tibt (code 1416192628) 2156s # Testing script Cans (code 1130458739) 2156s # Testing script Yiii (code 1500080489) 2156s # Testing script Tglg (code 1416064103) 2156s # Testing script Hano (code 1214344815) 2156s # Testing script Buhd (code 1114990692) 2156s # Testing script Tagb (code 1415669602) 2156s # Testing script Brai (code 1114792297) 2156s # Testing script Cprt (code 1131442804) 2156s # Testing script Limb (code 1281977698) 2156s # Testing script Osma (code 1332964705) 2156s # Testing script Shaw (code 1399349623) 2156s # Testing script Linb (code 1281977954) 2156s # Testing script Tale (code 1415670885) 2156s # Testing script Ugar (code 1432838514) 2156s # Testing script Talu (code 1415670901) 2156s # Testing script Bugi (code 1114990441) 2156s # Testing script Glag (code 1198285159) 2156s # Testing script Tfng (code 1415999079) 2156s # Testing script Sylo (code 1400466543) 2156s # Testing script Xpeo (code 1483761007) 2156s # Testing script Khar (code 1265131890) 2156s # Testing script Zzzz (code 1517976186) 2156s # Testing script Bali (code 1113681001) 2156s # Testing script Xsux (code 1483961720) 2156s # Testing script Phnx (code 1349021304) 2156s # Testing script Phag (code 1349017959) 2156s # Testing script Nkoo (code 1315663727) 2156s # Testing script Kali (code 1264675945) 2156s # Testing script Lepc (code 1281716323) 2156s # Testing script Rjng (code 1382706791) 2156s # Testing script Sund (code 1400204900) 2156s # Testing script Saur (code 1398895986) 2156s # Testing script Cham (code 1130914157) 2156s # Testing script Olck (code 1332503403) 2156s # Testing script Vaii (code 1449224553) 2156s # Testing script Cari (code 1130459753) 2156s # Testing script Lyci (code 1283023721) 2156s # Testing script Lydi (code 1283023977) 2156s # Testing script Avst (code 1098281844) 2156s # Testing script Bamu (code 1113681269) 2156s # Testing script Egyp (code 1164409200) 2156s # Testing script Armi (code 1098018153) 2156s # Testing script Phli (code 1349020777) 2156s # Testing script Prti (code 1349678185) 2156s # Testing script Java (code 1247901281) 2156s # Testing script Kthi (code 1265920105) 2156s # Testing script Lisu (code 1281979253) 2156s # Testing script Mtei (code 1299473769) 2156s # Testing script Sarb (code 1398895202) 2156s # Testing script Orkh (code 1332898664) 2156s # Testing script Samr (code 1398893938) 2156s # Testing script Lana (code 1281453665) 2156s # Testing script Tavt (code 1415673460) 2156s # Testing script Batk (code 1113683051) 2156s # Testing script Brah (code 1114792296) 2156s # Testing script Mand (code 1298230884) 2156s # Testing script Cakm (code 1130457965) 2156s # Testing script Merc (code 1298494051) 2156s # Testing script Mero (code 1298494063) 2156s # Testing script Plrd (code 1349284452) 2156s # Testing script Shrd (code 1399353956) 2156s # Testing script Sora (code 1399812705) 2156s # Testing script Takr (code 1415670642) 2156s # Testing script Bass (code 1113682803) 2156s # Testing script Aghb (code 1097295970) 2156s # Testing script Dupl (code 1148547180) 2156s # Testing script Elba (code 1164730977) 2156s # Testing script Gran (code 1198678382) 2156s # Testing script Khoj (code 1265135466) 2156s # Testing script Sind (code 1399418468) 2156s # Testing script Lina (code 1281977953) 2156s # Testing script Mahj (code 1298229354) 2156s # Testing script Mani (code 1298230889) 2156s # Testing script Mend (code 1298493028) 2156s # Testing script Modi (code 1299145833) 2156s # Testing script Mroo (code 1299345263) 2156s # Testing script Nbat (code 1315070324) 2156s # Testing script Narb (code 1315009122) 2156s # Testing script Perm (code 1348825709) 2156s # Testing script Hmng (code 1215131239) 2156s # Testing script Palm (code 1348562029) 2156s # Testing script Pauc (code 1348564323) 2156s # Testing script Phlp (code 1349020784) 2156s # Testing script Sidd (code 1399415908) 2156s # Testing script Tirh (code 1416196712) 2156s # Testing script Wara (code 1466004065) 2156s # Testing script Ahom (code 1097363309) 2156s # Testing script Hluw (code 1215067511) 2156s # Testing script Hatr (code 1214346354) 2156s # Testing script Mult (code 1299541108) 2156s # Testing script Hung (code 1215655527) 2156s # Testing script Sgnw (code 1399287415) 2156s # Testing script Adlm (code 1097100397) 2156s # Testing script Bhks (code 1114139507) 2156s # Testing script Marc (code 1298231907) 2156s # Testing script Newa (code 1315272545) 2156s # Testing script Osge (code 1332963173) 2156s # Testing script Tang (code 1415671399) 2156s # Testing script Gonm (code 1198485101) 2156s # Testing script Nshu (code 1316186229) 2156s # Testing script Soyo (code 1399814511) 2156s # Testing script Zanb (code 1516334690) 2156s # Testing script Dogr (code 1148151666) 2156s # Testing script Gong (code 1198485095) 2156s # Testing script Rohg (code 1383032935) 2156s # Testing script Maka (code 1298230113) 2156s # Testing script Medf (code 1298490470) 2156s # Testing script Sogo (code 1399809903) 2156s # Testing script Sogd (code 1399809892) 2156s # Testing script Elym (code 1164736877) 2156s # Testing script Nand (code 1315008100) 2156s # Testing script Hmnp (code 1215131248) 2156s # Testing script Wcho (code 1466132591) 2156s # Testing script Chrs (code 1130918515) 2156s # Testing script Diak (code 1147756907) 2156s # Testing script Kits (code 1265202291) 2156s # Testing script Yezi (code 1499822697) 2156s # Testing script Cpmn (code 1131441518) 2156s # Testing script Ougr (code 1333094258) 2156s # Testing script Tnsa (code 1416524641) 2156s # Testing script Toto (code 1416590447) 2156s # Testing script Vith (code 1449751656) 2156s # Testing script Kawi (code 1264678761) 2156s # Testing script Nagm (code 1315006317) 2156s # Testing script Todr (code 1416586354) 2156s # Testing script Gara (code 1197568609) 2156s # Testing script Tutg (code 1416983655) 2156s # Testing script Sunu (code 1400204917) 2156s # Testing script Gukh (code 1198877544) 2156s # Testing script Krai (code 1265787241) 2156s # Testing script Onao (code 1332633967) 2156s ok 21 /unicode/iso15924 2156s ok 22 /unicode/lower 2156s ok 23 /unicode/mark 2156s ok 24 /unicode/mirror 2156s ok 25 /unicode/print 2156s ok 26 /unicode/punctuation 2156s ok 27 /unicode/script 2156s ok 28 /unicode/space 2156s ok 29 /unicode/strdown 2156s ok 30 /unicode/strup 2156s ok 31 /unicode/turkish-strupdown 2156s ok 32 /unicode/title 2156s ok 33 /unicode/upper 2156s ok 34 /unicode/validate 2156s ok 35 /unicode/wide 2156s ok 36 /unicode/xdigit 2156s ok 37 /unicode/xdigit-value 2156s ok 38 /unicode/zero-width 2156s ok 39 /unicode/normalize 2156s # End of unicode tests 2156s ok - glib/unicode.test 2156s # Running test: glib/contenttype.test 2156s TAP version 14 2156s # random seed: R02S090940b8f65d2585863505b867bb5c2b 2156s 1..14 2156s # Start of contenttype tests 2156s ok 1 /contenttype/guess 2156s ok 2 /contenttype/guess_svg_from_data 2156s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX 2156s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX 2156s ok 5 /contenttype/unknown 2156s ok 6 /contenttype/subtype 2156s ok 7 /contenttype/list 2156s ok 8 /contenttype/executable 2156s ok 9 /contenttype/description 2156s ok 10 /contenttype/icon 2156s ok 11 /contenttype/symbolic-icon 2156s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2156s ok 12 /contenttype/tree 2156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168 2156s ok 13 /contenttype/tree_invalid_encoding 2156s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311 2156s ok 14 /contenttype/test_type_is_a_special_case 2156s # End of contenttype tests 2156s ok - glib/contenttype.test 2156s # Running test: glib/deftype.test 2156s ok - glib/deftype.test 2156s # Running test: glib/defaultiface.test 2156s TAP version 14 2156s # random seed: R02Sddf87cf15bc044ed0e65cf36f473d479 2156s 1..2 2156s # Start of gobject tests 2156s ok 1 /gobject/static-iface 2156s ok 2 /gobject/dynamic-iface 2156s # End of gobject tests 2156s ok - glib/defaultiface.test 2156s # Running test: glib/data-output-stream.test 2156s TAP version 14 2156s # random seed: R02S7595f439b88daf6f299f848d10f9af25 2156s 1..7 2156s # Start of data-output-stream tests 2156s ok 1 /data-output-stream/basic 2156s ok 2 /data-output-stream/write-lines-LF 2156s ok 3 /data-output-stream/write-lines-CR 2156s ok 4 /data-output-stream/write-lines-CR-LF 2156s ok 5 /data-output-stream/write-int 2156s ok 6 /data-output-stream/seek 2156s ok 7 /data-output-stream/truncate 2156s # End of data-output-stream tests 2156s ok - glib/data-output-stream.test 2156s # Running test: glib/types.test 2156s TAP version 14 2156s # random seed: R02Se46c931b395fae7cd5f34181b30bf3ba 2156s 1..1 2156s # Start of types tests 2156s ok 1 /types/basic_types 2156s # End of types tests 2156s ok - glib/types.test 2156s # Running test: glib/bookmarkfile.test 2156s TAP version 14 2156s # random seed: R02Sbad66270943212d57985ea157dd6164c 2156s 1..96 2156s # Start of bookmarks tests 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/load-from-data-dirs/.dirs/runtime 2156s ok 1 /bookmarks/load-from-data-dirs 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/to-file/.dirs/runtime 2156s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_HQZH22/bookmarkfile-test-WC0H22.xbel 2156s # Roundtrip from a valid bookmark file 2156s ok 2 /bookmarks/to-file 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/move-item/.dirs/runtime 2156s ok 3 /bookmarks/move-item 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/corner-cases/.dirs/runtime 2156s ok 4 /bookmarks/corner-cases 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/misc/.dirs/runtime 2156s ok 5 /bookmarks/misc 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/deprecated/.dirs/runtime 2156s ok 6 /bookmarks/deprecated 2156s # Start of parse tests 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-01.xbel/.dirs/runtime 2156s ok 7 /bookmarks/parse/fail-01.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-02.xbel/.dirs/runtime 2156s ok 8 /bookmarks/parse/fail-02.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-03.xbel/.dirs/runtime 2156s ok 9 /bookmarks/parse/fail-03.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-04.xbel/.dirs/runtime 2156s ok 10 /bookmarks/parse/fail-04.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-05.xbel/.dirs/runtime 2156s ok 11 /bookmarks/parse/fail-05.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-06.xbel/.dirs/runtime 2156s ok 12 /bookmarks/parse/fail-06.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-07.xbel/.dirs/runtime 2156s ok 13 /bookmarks/parse/fail-07.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-08.xbel/.dirs/runtime 2156s ok 14 /bookmarks/parse/fail-08.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-09.xbel/.dirs/runtime 2156s ok 15 /bookmarks/parse/fail-09.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-10.xbel/.dirs/runtime 2156s ok 16 /bookmarks/parse/fail-10.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-11.xbel/.dirs/runtime 2156s ok 17 /bookmarks/parse/fail-11.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-12.xbel/.dirs/runtime 2156s ok 18 /bookmarks/parse/fail-12.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-13.xbel/.dirs/runtime 2156s ok 19 /bookmarks/parse/fail-13.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-14.xbel/.dirs/runtime 2156s ok 20 /bookmarks/parse/fail-14.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-15.xbel/.dirs/runtime 2156s ok 21 /bookmarks/parse/fail-15.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-16.xbel/.dirs/runtime 2156s ok 22 /bookmarks/parse/fail-16.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-17.xbel/.dirs/runtime 2156s ok 23 /bookmarks/parse/fail-17.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-18.xbel/.dirs/runtime 2156s ok 24 /bookmarks/parse/fail-18.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-19.xbel/.dirs/runtime 2156s ok 25 /bookmarks/parse/fail-19.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-20.xbel/.dirs/runtime 2156s ok 26 /bookmarks/parse/fail-20.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-21.xbel/.dirs/runtime 2156s ok 27 /bookmarks/parse/fail-21.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-22.xbel/.dirs/runtime 2156s ok 28 /bookmarks/parse/fail-22.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-23.xbel/.dirs/runtime 2156s ok 29 /bookmarks/parse/fail-23.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-24.xbel/.dirs/runtime 2156s ok 30 /bookmarks/parse/fail-24.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-25.xbel/.dirs/runtime 2156s ok 31 /bookmarks/parse/fail-25.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-26.xbel/.dirs/runtime 2156s ok 32 /bookmarks/parse/fail-26.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-27.xbel/.dirs/runtime 2156s ok 33 /bookmarks/parse/fail-27.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-28.xbel/.dirs/runtime 2156s ok 34 /bookmarks/parse/fail-28.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-29.xbel/.dirs/runtime 2156s ok 35 /bookmarks/parse/fail-29.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-30.xbel/.dirs/runtime 2156s ok 36 /bookmarks/parse/fail-30.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-31.xbel/.dirs/runtime 2156s ok 37 /bookmarks/parse/fail-31.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-32.xbel/.dirs/runtime 2156s ok 38 /bookmarks/parse/fail-32.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-33.xbel/.dirs/runtime 2156s ok 39 /bookmarks/parse/fail-33.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-34.xbel/.dirs/runtime 2156s ok 40 /bookmarks/parse/fail-34.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-35.xbel/.dirs/runtime 2156s ok 41 /bookmarks/parse/fail-35.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-36.xbel/.dirs/runtime 2156s ok 42 /bookmarks/parse/fail-36.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-37.xbel/.dirs/runtime 2156s ok 43 /bookmarks/parse/fail-37.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-38.xbel/.dirs/runtime 2156s ok 44 /bookmarks/parse/fail-38.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-39.xbel/.dirs/runtime 2156s ok 45 /bookmarks/parse/fail-39.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-40.xbel/.dirs/runtime 2156s ok 46 /bookmarks/parse/fail-40.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-41.xbel/.dirs/runtime 2156s ok 47 /bookmarks/parse/fail-41.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/fail-42.xbel/.dirs/runtime 2156s ok 48 /bookmarks/parse/fail-42.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-01.xbel/.dirs/runtime 2156s ok 49 /bookmarks/parse/valid-01.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-02.xbel/.dirs/runtime 2156s ok 50 /bookmarks/parse/valid-02.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/parse/valid-03.xbel/.dirs/runtime 2156s ok 51 /bookmarks/parse/valid-03.xbel 2156s # End of parse tests 2156s # Start of copy tests 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-01.xbel/.dirs/runtime 2156s ok 52 /bookmarks/copy/fail-01.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-02.xbel/.dirs/runtime 2156s ok 53 /bookmarks/copy/fail-02.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-03.xbel/.dirs/runtime 2156s ok 54 /bookmarks/copy/fail-03.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-04.xbel/.dirs/runtime 2156s ok 55 /bookmarks/copy/fail-04.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-05.xbel/.dirs/runtime 2156s ok 56 /bookmarks/copy/fail-05.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-06.xbel/.dirs/runtime 2156s ok 57 /bookmarks/copy/fail-06.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-07.xbel/.dirs/runtime 2156s ok 58 /bookmarks/copy/fail-07.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-08.xbel/.dirs/runtime 2156s ok 59 /bookmarks/copy/fail-08.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-09.xbel/.dirs/runtime 2156s ok 60 /bookmarks/copy/fail-09.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-10.xbel/.dirs/runtime 2156s ok 61 /bookmarks/copy/fail-10.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-11.xbel/.dirs/runtime 2156s ok 62 /bookmarks/copy/fail-11.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-12.xbel/.dirs/runtime 2156s ok 63 /bookmarks/copy/fail-12.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-13.xbel/.dirs/runtime 2156s ok 64 /bookmarks/copy/fail-13.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-14.xbel/.dirs/runtime 2156s ok 65 /bookmarks/copy/fail-14.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-15.xbel/.dirs/runtime 2156s ok 66 /bookmarks/copy/fail-15.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-16.xbel/.dirs/runtime 2156s ok 67 /bookmarks/copy/fail-16.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-17.xbel/.dirs/runtime 2156s ok 68 /bookmarks/copy/fail-17.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-18.xbel/.dirs/runtime 2156s ok 69 /bookmarks/copy/fail-18.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-19.xbel/.dirs/runtime 2156s ok 70 /bookmarks/copy/fail-19.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-20.xbel/.dirs/runtime 2156s ok 71 /bookmarks/copy/fail-20.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-21.xbel/.dirs/runtime 2156s ok 72 /bookmarks/copy/fail-21.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-22.xbel/.dirs/runtime 2156s ok 73 /bookmarks/copy/fail-22.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-23.xbel/.dirs/runtime 2156s ok 74 /bookmarks/copy/fail-23.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-24.xbel/.dirs/runtime 2156s ok 75 /bookmarks/copy/fail-24.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-25.xbel/.dirs/runtime 2156s ok 76 /bookmarks/copy/fail-25.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-26.xbel/.dirs/runtime 2156s ok 77 /bookmarks/copy/fail-26.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-27.xbel/.dirs/runtime 2156s ok 78 /bookmarks/copy/fail-27.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-28.xbel/.dirs/runtime 2156s ok 79 /bookmarks/copy/fail-28.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-29.xbel/.dirs/runtime 2156s ok 80 /bookmarks/copy/fail-29.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-30.xbel/.dirs/runtime 2156s ok 81 /bookmarks/copy/fail-30.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-31.xbel/.dirs/runtime 2156s ok 82 /bookmarks/copy/fail-31.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-32.xbel/.dirs/runtime 2156s ok 83 /bookmarks/copy/fail-32.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-33.xbel/.dirs/runtime 2156s ok 84 /bookmarks/copy/fail-33.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-34.xbel/.dirs/runtime 2156s ok 85 /bookmarks/copy/fail-34.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-35.xbel/.dirs/runtime 2156s ok 86 /bookmarks/copy/fail-35.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-36.xbel/.dirs/runtime 2156s ok 87 /bookmarks/copy/fail-36.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-37.xbel/.dirs/runtime 2156s ok 88 /bookmarks/copy/fail-37.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-38.xbel/.dirs/runtime 2156s ok 89 /bookmarks/copy/fail-38.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-39.xbel/.dirs/runtime 2156s ok 90 /bookmarks/copy/fail-39.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-40.xbel/.dirs/runtime 2156s ok 91 /bookmarks/copy/fail-40.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-41.xbel/.dirs/runtime 2156s ok 92 /bookmarks/copy/fail-41.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/fail-42.xbel/.dirs/runtime 2156s ok 93 /bookmarks/copy/fail-42.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-01.xbel/.dirs/runtime 2156s ok 94 /bookmarks/copy/valid-01.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-02.xbel/.dirs/runtime 2156s ok 95 /bookmarks/copy/valid-02.xbel 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_HQZH22/bookmarks/copy/valid-03.xbel/.dirs/runtime 2156s ok 96 /bookmarks/copy/valid-03.xbel 2156s # End of copy tests 2156s # End of bookmarks tests 2156s ok - glib/bookmarkfile.test 2156s # Running test: glib/autoptr-gio.test 2156s TAP version 14 2156s # random seed: R02S620e81d403defa7a0a6471b98e0e0ba2 2156s 1..1 2156s # Start of autoptr tests 2156s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2156s ok 1 /autoptr/autoptr 2156s # End of autoptr tests 2156s ok - glib/autoptr-gio.test 2156s # Running test: glib/gdbus-export.test 2156s TAP version 14 2156s # random seed: R02Sddf4b9107edff878a7c3abf0d340154e 2156s 1..7 2156s # Start of gdbus tests 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration/.dirs/runtime 2156s ok 1 /gdbus/object-registration 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures/.dirs/runtime 2156s ok 2 /gdbus/object-registration-with-closures 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_OKSI22/gdbus/object-registration-with-closures2/.dirs/runtime 2156s ok 3 /gdbus/object-registration-with-closures2 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_OKSI22/gdbus/registered-interfaces/.dirs/runtime 2156s ok 4 /gdbus/registered-interfaces 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_OKSI22/gdbus/async-properties/.dirs/runtime 2156s ok 5 /gdbus/async-properties 2156s # Start of threaded-unregistration tests 2156s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/home 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/cache 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/system-config2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/config 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/system-data2 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/data 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/state 2156s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/object/.dirs/runtime 2156s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 2156s # /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 2156s # Executing: glib/gdbus-export.test 2157s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (4 iterations with unregistration first, 996 with call first); skipping test 2157s # slow test /gdbus/threaded-unregistration/object executed in 1.35 secs 2157s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/home 2157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/cache 2157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/system-config2 2157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/config 2157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/system-data2 2157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/data 2157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/state 2157s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_OKSI22/gdbus/threaded-unregistration/subtree/.dirs/runtime 2157s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400 2157s # /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 2159s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (5 iterations with unregistration first, 995 with call first); skipping test 2159s # slow test /gdbus/threaded-unregistration/subtree executed in 1.38 secs 2159s # End of threaded-unregistration tests 2159s # End of gdbus tests 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s ok - glib/gdbus-export.test 2159s # Running test: glib/gdbus-bz627724.test 2159s TAP version 14 2159s # random seed: R02S898514568a3031f66cb0e26b1ae7abab 2159s 1..1 2159s # Start of gdbus tests 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_LNMB22/gdbus/bz627724/.dirs/runtime 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s ok 1 /gdbus/bz627724 2159s # End of gdbus tests 2159s ok - glib/gdbus-bz627724.test 2159s # Running test: glib/properties-refcount4.test 2159s TAP version 14 2159s # random seed: R02S0d1a880c4179a74f5a5bbf8abb4fcaa3 2159s 1..1 2159s # Start of gobject tests 2159s # Start of refcount tests 2159s ok 1 /gobject/refcount/properties-4 2159s # End of refcount tests 2159s # End of gobject tests 2159s ok - glib/properties-refcount4.test 2159s # Running test: glib/tls-certificate.test 2159s TAP version 14 2159s # random seed: R02Sdb345dab754940ce62b994d4d4dcdbaa 2159s 1..19 2159s # Start of tls-certificate tests 2159s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend? 2159s ok 1 /tls-certificate/pem-parser 2159s ok 2 /tls-certificate/pem-parser-handles-chain 2159s ok 3 /tls-certificate/from_file 2159s ok 4 /tls-certificate/from_files 2159s ok 5 /tls-certificate/from_files_crlf 2159s ok 6 /tls-certificate/from_files_pkcs8 2159s ok 7 /tls-certificate/from_files_pkcs8enc 2159s ok 8 /tls-certificate/list_from_file 2159s ok 9 /tls-certificate/pkcs11-uri 2159s ok 10 /tls-certificate/pkcs11-uri-unsupported 2159s ok 11 /tls-certificate/from_pkcs12 2159s ok 12 /tls-certificate/from_pkcs12_file 2159s ok 13 /tls-certificate/not-valid-before 2159s ok 14 /tls-certificate/not-valid-after 2159s ok 15 /tls-certificate/subject-name 2159s ok 16 /tls-certificate/issuer-name 2159s ok 17 /tls-certificate/dns-names 2159s ok 18 /tls-certificate/ip-addresses 2159s ok 19 /tls-certificate/pem-parser-no-sentinel 2159s # End of tls-certificate tests 2159s ok - glib/tls-certificate.test 2159s # Running test: glib/fileutils.test 2159s TAP version 14 2159s # random seed: R02S6833c4bb01e62e1fd4db7b5fd4d808ee 2159s 1..27 2159s # Start of fileutils tests 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/paths/.dirs/runtime 2159s ok 1 /fileutils/paths 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/build-path/.dirs/runtime 2159s ok 2 /fileutils/build-path 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/build-pathv/.dirs/runtime 2159s ok 3 /fileutils/build-pathv 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/build-filename/.dirs/runtime 2159s ok 4 /fileutils/build-filename 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/build-filenamev/.dirs/runtime 2159s ok 5 /fileutils/build-filenamev 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents/.dirs/runtime 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s ok 6 /fileutils/mkdir-with-parents 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/mkdir-with-parents-permission/.dirs/runtime 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s ok 7 /fileutils/mkdir-with-parents-permission 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/format-size-for-display/.dirs/runtime 2159s ok 8 /fileutils/format-size-for-display 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/errors/.dirs/runtime 2159s ok 9 /fileutils/errors 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/basename/.dirs/runtime 2159s ok 10 /fileutils/basename 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/get-basename/.dirs/runtime 2159s ok 11 /fileutils/get-basename 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/dirname/.dirs/runtime 2159s ok 12 /fileutils/dirname 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/dir-make-tmp/.dirs/runtime 2159s ok 13 /fileutils/dir-make-tmp 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/file-open-tmp/.dirs/runtime 2159s ok 14 /fileutils/file-open-tmp 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/file-test/.dirs/runtime 2159s ok 15 /fileutils/file-test 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/mkstemp/.dirs/runtime 2159s ok 16 /fileutils/mkstemp 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/mkdtemp/.dirs/runtime 2159s ok 17 /fileutils/mkdtemp 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/get-contents/.dirs/runtime 2159s ok 18 /fileutils/get-contents 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/get-contents-large-file/.dirs/runtime 2159s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/set-contents/.dirs/runtime 2159s ok 20 /fileutils/set-contents 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/.dirs/runtime 2159s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags 2159s # Flags 0 and test 0 2159s # Flags 0 and test 1 2159s # Flags 0 and test 2 2159s # Flags 0 and test 3 2159s # Flags 0 and test 4 2159s # Flags 0 and test 5 2159s # Flags 1 and test 0 2159s # Flags 1 and test 1 2159s # Flags 1 and test 2 2159s # Flags 1 and test 3 2159s # Flags 1 and test 4 2159s # Flags 1 and test 5 2159s # Flags 2 and test 0 2159s # Flags 2 and test 1 2159s # Flags 2 and test 2 2159s # Flags 2 and test 3 2159s # Flags 2 and test 4 2159s # Flags 2 and test 5 2159s # Flags 3 and test 0 2159s # Flags 3 and test 1 2159s # Flags 3 and test 2 2159s # Flags 3 and test 3 2159s # Flags 3 and test 4 2159s # Flags 3 and test 5 2159s # Flags 4 and test 0 2159s # Flags 4 and test 1 2159s # Flags 4 and test 2 2159s # Flags 4 and test 3 2159s # Flags 4 and test 4 2159s # Flags 4 and test 5 2159s # Flags 5 and test 0 2159s # Flags 5 and test 1 2159s # Flags 5 and test 2 2159s # Flags 5 and test 3 2159s # Flags 5 and test 4 2159s # Flags 5 and test 5 2159s # Flags 6 and test 0 2159s # Flags 6 and test 1 2159s # Flags 6 and test 2 2159s # Flags 6 and test 3 2159s # Flags 6 and test 4 2159s # Flags 6 and test 5 2159s ok 21 /fileutils/set-contents-full 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/read-link/.dirs/runtime 2159s ok 22 /fileutils/read-link 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/stdio-wrappers/.dirs/runtime 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s ok 23 /fileutils/stdio-wrappers 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/fopen-modes/.dirs/runtime 2159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119 2159s # Testing fopen() mode 'w' 2159s # Testing fopen() mode 'r' 2159s # Testing fopen() mode 'a' 2159s # Testing fopen() mode 'w+' 2159s # Testing fopen() mode 'r+' 2159s # Testing fopen() mode 'a+' 2159s # Testing fopen() mode 'wb' 2159s # Testing fopen() mode 'rb' 2159s # Testing fopen() mode 'ab' 2159s # Testing fopen() mode 'w+b' 2159s # Testing fopen() mode 'r+b' 2159s # Testing fopen() mode 'a+b' 2159s # Testing fopen() mode 'wb+' 2159s # Testing fopen() mode 'rb+' 2159s # Testing fopen() mode 'ab+' 2159s ok 24 /fileutils/fopen-modes 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/clear-fd/.dirs/runtime 2159s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd 2159s # Will be closed by autocleanup: 3, -42 2159s # Testing error handling 2159s ok 25 /fileutils/clear-fd 2159s # Start of set-contents-full tests 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-file/.dirs/runtime 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file 2159s ok 26 /fileutils/set-contents-full/read-only-file 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_DGCF22/fileutils/set-contents-full/read-only-directory/.dirs/runtime 2159s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory 2159s # Flags 0 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s # Flags 1 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s # Flags 2 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s # Flags 3 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s # Flags 4 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s # Flags 5 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s # Flags 6 2159s # We do not have CAP_DAC_OVERRIDE or equivalent 2159s ok 27 /fileutils/set-contents-full/read-only-directory 2159s # End of set-contents-full tests 2159s # Start of clear-fd tests 2159s # Start of subprocess tests 2159s # End of subprocess tests 2159s # End of clear-fd tests 2159s # End of fileutils tests 2159s Unable to clean up temporary directory /tmp/test_fileutils_DGCF22/glib-file-set-contents-full-rodir-NAQE22: Directory not empty 2159s Unable to clean up temporary directory /tmp/test_fileutils_DGCF22/glib-file-set-contents-full-rodir-YLRE22: Directory not empty 2159s Unable to clean up temporary directory /tmp/test_fileutils_DGCF22/glib-file-set-contents-full-rodir-A5FE22: Directory not empty 2159s Unable to clean up temporary directory /tmp/test_fileutils_DGCF22/glib-file-set-contents-full-rodir-9CHE22: Directory not empty 2159s Unable to clean up temporary directory /tmp/test_fileutils_DGCF22/glib-file-set-contents-full-rodir-QLIE22: Directory not empty 2159s Unable to clean up temporary directory /tmp/test_fileutils_DGCF22/glib-file-set-contents-full-rodir-GLJE22: Directory not empty 2159s Unable to clean up temporary directory /tmp/test_fileutils_DGCF22/glib-file-set-contents-full-rodir-HMKE22: Directory not empty 2159s Unable to clean up temporary directory /tmp/test_fileutils_DGCF22: Directory not empty 2159s ok - glib/fileutils.test 2159s # Running test: glib/markup-escape.test 2159s TAP version 14 2159s # random seed: R02S56ab74862bb0e229003871d6a72bd4c3 2159s 1..41 2159s # Start of markup tests 2159s ok 1 /markup/format 2159s # Start of escape-text tests 2159s ok 2 /markup/escape-text/0 2159s ok 3 /markup/escape-text/1 2159s ok 4 /markup/escape-text/2 2159s ok 5 /markup/escape-text/3 2159s ok 6 /markup/escape-text/4 2159s ok 7 /markup/escape-text/5 2159s ok 8 /markup/escape-text/6 2159s ok 9 /markup/escape-text/7 2159s ok 10 /markup/escape-text/8 2159s ok 11 /markup/escape-text/9 2159s ok 12 /markup/escape-text/10 2159s ok 13 /markup/escape-text/11 2159s ok 14 /markup/escape-text/12 2159s ok 15 /markup/escape-text/13 2159s ok 16 /markup/escape-text/14 2159s ok 17 /markup/escape-text/15 2159s ok 18 /markup/escape-text/16 2159s ok 19 /markup/escape-text/17 2159s ok 20 /markup/escape-text/18 2159s ok 21 /markup/escape-text/19 2159s ok 22 /markup/escape-text/20 2159s ok 23 /markup/escape-text/21 2159s ok 24 /markup/escape-text/22 2159s # End of escape-text tests 2159s # Start of escape-unichar tests 2159s ok 25 /markup/escape-unichar/0 2159s ok 26 /markup/escape-unichar/1 2159s ok 27 /markup/escape-unichar/2 2159s ok 28 /markup/escape-unichar/3 2159s ok 29 /markup/escape-unichar/4 2159s ok 30 /markup/escape-unichar/5 2159s ok 31 /markup/escape-unichar/6 2159s ok 32 /markup/escape-unichar/7 2159s ok 33 /markup/escape-unichar/8 2159s ok 34 /markup/escape-unichar/9 2159s ok 35 /markup/escape-unichar/10 2159s ok 36 /markup/escape-unichar/11 2159s ok 37 /markup/escape-unichar/12 2159s ok 38 /markup/escape-unichar/13 2159s ok 39 /markup/escape-unichar/14 2159s ok 40 /markup/escape-unichar/15 2159s ok 41 /markup/escape-unichar/16 2159s # End of escape-unichar tests 2159s # End of markup tests 2159s ok - glib/markup-escape.test 2159s # Running test: glib/testing.test 2159s TAP version 14 2159s # random seed: R02Sb9a6d4563fd9e85e2e63304725210302 2159s 1..1 2159s # Start of assert tests 2159s ok 1 /assert/finalize_object 2159s # Start of finalize_object tests 2159s # Start of subprocess tests 2159s # End of subprocess tests 2159s # End of finalize_object tests 2159s # End of assert tests 2159s ok - glib/testing.test 2159s # Running test: glib/vfs.test 2159s TAP version 14 2159s # random seed: R02Sb12293e41494b95438fa974ab9d52ebf 2159s 1..3 2159s # Start of gvfs tests 2159s ok 1 /gvfs/local 2159s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2159s ok 2 /gvfs/register-scheme 2159s # Start of resource tests 2159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090 2159s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI 2159s ok 3 /gvfs/resource/malformed-escaping 2159s # End of resource tests 2159s # End of gvfs tests 2159s ok - glib/vfs.test 2159s # Running test: glib/refcount-macro.test 2159s TAP version 14 2159s # random seed: R02Sca4f3b55185aaad03b7147a13e3ee025 2159s 1..4 2159s # Start of refcount tests 2159s ok 1 /refcount/grefcount 2159s ok 2 /refcount/gatomicrefcount 2159s # Start of grefcount tests 2159s ok 3 /refcount/grefcount/saturation 2159s # End of grefcount tests 2159s # Start of gatomicrefcount tests 2159s ok 4 /refcount/gatomicrefcount/saturation 2159s # End of gatomicrefcount tests 2159s # End of refcount tests 2159s ok - glib/refcount-macro.test 2159s # Running test: glib/readwrite.test 2159s TAP version 14 2159s # random seed: R02Sfeb0b949c70856f7e4a67334bb6849df 2159s 1..3 2159s # Start of readwrite tests 2159s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2159s ok 1 /readwrite/test_g_file_open_readwrite 2159s ok 2 /readwrite/test_g_file_create_readwrite 2159s ok 3 /readwrite/test_g_file_replace_readwrite 2159s # End of readwrite tests 2159s ok - glib/readwrite.test 2159s # Running test: glib/gdbus-test-codegen-min-required-2-64.test 2159s TAP version 14 2159s # random seed: R02S0303be290d8fb4efea69ecc4b6058cae 2159s 1..8 2159s # Start of gdbus tests 2159s # Start of codegen tests 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/annotations/.dirs/runtime 2159s ok 1 /gdbus/codegen/annotations 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/interface_stability/.dirs/runtime 2159s ok 2 /gdbus/codegen/interface_stability 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/object-manager/.dirs/runtime 2159s ok 3 /gdbus/codegen/object-manager 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/property-naming/.dirs/runtime 2159s ok 4 /gdbus/codegen/property-naming 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/autocleanups/.dirs/runtime 2159s ok 5 /gdbus/codegen/autocleanups 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/deprecations/.dirs/runtime 2159s ok 6 /gdbus/codegen/deprecations 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/standalone-interface-info/.dirs/runtime 2159s ok 7 /gdbus/codegen/standalone-interface-info 2159s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/home 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/cache 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/system-config2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/config 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/system-data2 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/data 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/state 2159s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_HS3I22/gdbus/codegen/unix-fd-list/.dirs/runtime 2159s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 2159s ok 8 /gdbus/codegen/unix-fd-list 2159s # End of codegen tests 2159s # End of gdbus tests 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2159s ok - glib/gdbus-test-codegen-min-required-2-64.test 2159s # Running test: glib/cxx.test 2159s TAP version 14 2159s # random seed: R02S1d45fe17ed04e230576cc35442b95b2d 2159s 1..2 2159s # Start of gtask tests 2159s # 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. 2159s ok 1 /gtask/name 2159s # Start of name tests 2159s # 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. 2159s ok 2 /gtask/name/macro-wrapper 2159s # End of name tests 2159s # End of gtask tests 2159s ok - glib/cxx.test 2159s # Running test: glib/objects-refcount1.test 2159s TAP version 14 2159s # random seed: R02S3cd5fd31362f4b75143fa8694b4b089b 2159s 1..1 2159s # Start of gobject tests 2159s # Start of refcount tests 2159s # init 0x17bb1e0 2159s # 2159s # init 0x17bb330 2159s # 2161s # Executing: glib/objects-refcount1.test 2164s # dispose 0x17bb1e0! 2164s # 2164s # dispose 0x17bb330! 2164s # 2164s ok 1 /gobject/refcount/object-basics 2164s # slow test /gobject/refcount/object-basics executed in 5.00 secs 2164s # End of refcount tests 2164s # End of gobject tests 2164s ok - glib/objects-refcount1.test 2164s # Running test: glib/include.test 2164s TAP version 14 2164s # random seed: R02Sc9ffb31ba15693f3fcece64bfe906123 2164s 1..1 2164s # Start of include tests 2164s ok 1 /include/rwlock 2164s # End of include tests 2164s ok - glib/include.test 2164s # Running test: glib/portal-support-snap.test 2164s TAP version 14 2164s # random seed: R02S78f9ec9230287df19fd14a6c5645e3f3 2164s 1..7 2164s # Start of portal-support tests 2164s # Start of snap tests 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl/.dirs/runtime 2164s # Created snap.yaml in /tmp/test_portal-support-snap_M6CL22/meta/snap.yaml 2164s Unable to clean up temporary directory /tmp/test_portal-support-snap_M6CL22/portal-support/snap/no-snapctl: No such file or directory 2164s ok 1 /portal-support/snap/no-snapctl 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/runtime 2164s # Created snap.yaml in /tmp/test_portal-support-snap_M6CL22/meta/snap.yaml 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none/.dirs/runtime/snapctl 2164s Unable to clean up temporary directory /tmp/test_portal-support-snap_M6CL22/portal-support/snap/none: No such file or directory 2164s ok 2 /portal-support/snap/none 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/runtime 2164s # Created snap.yaml in /tmp/test_portal-support-snap_M6CL22/meta/snap.yaml 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all/.dirs/runtime/snapctl 2164s Unable to clean up temporary directory /tmp/test_portal-support-snap_M6CL22/portal-support/snap/all: No such file or directory 2164s ok 3 /portal-support/snap/all 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/runtime 2164s # Created snap.yaml in /tmp/test_portal-support-snap_M6CL22/meta/snap.yaml 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only/.dirs/runtime/snapctl 2164s Unable to clean up temporary directory /tmp/test_portal-support-snap_M6CL22/portal-support/snap/desktop-only: No such file or directory 2164s ok 4 /portal-support/snap/desktop-only 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/runtime 2164s # Created snap.yaml in /tmp/test_portal-support-snap_M6CL22/meta/snap.yaml 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only/.dirs/runtime/snapctl 2164s Unable to clean up temporary directory /tmp/test_portal-support-snap_M6CL22/portal-support/snap/network-only: No such file or directory 2164s ok 5 /portal-support/snap/network-only 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/runtime 2164s # Created snap.yaml in /tmp/test_portal-support-snap_M6CL22/meta/snap.yaml 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only/.dirs/runtime/snapctl 2164s Unable to clean up temporary directory /tmp/test_portal-support-snap_M6CL22/portal-support/snap/gsettings-only: No such file or directory 2164s ok 6 /portal-support/snap/gsettings-only 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/runtime 2164s # Created snap.yaml in /tmp/test_portal-support-snap_M6CL22/meta/snap.yaml 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2164s # Created snapctl in /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl 2164s Unable to clean up temporary directory /tmp/test_portal-support-snap_M6CL22/portal-support/snap/updates-dynamically: No such file or directory 2164s ok 7 /portal-support/snap/updates-dynamically 2164s # End of snap tests 2164s # End of portal-support tests 2164s Unable to clean up temporary directory /tmp/test_portal-support-snap_M6CL22: No such file or directory 2164s ok - glib/portal-support-snap.test 2164s # Running test: glib/gdbus-error.test 2164s TAP version 14 2164s # random seed: R02S9e85fe9f12c87c0002c3d2d55a919b43 2164s 1..4 2164s # Start of gdbus tests 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_7RQ112/gdbus/registered-errors/.dirs/runtime 2164s ok 1 /gdbus/registered-errors 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_7RQ112/gdbus/unregistered-errors/.dirs/runtime 2164s ok 2 /gdbus/unregistered-errors 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_7RQ112/gdbus/transparent-gerror/.dirs/runtime 2164s ok 3 /gdbus/transparent-gerror 2164s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/home 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/cache 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/system-config2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/config 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/system-data2 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/data 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/state 2164s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_7RQ112/gdbus/register-error/.dirs/runtime 2164s ok 4 /gdbus/register-error 2164s # End of gdbus tests 2164s ok - glib/gdbus-error.test 2164s # Running test: glib/contexts.test 2164s TAP version 14 2164s # random seed: R02S1520993cb35ab129b6a0cfddd7ea99cd 2164s 1..5 2164s # Start of gio tests 2164s # Start of contexts tests 2164s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2164s ok 1 /gio/contexts/thread-independence 2164s ok 2 /gio/contexts/context-independence 2164s # Start of context-specific tests 2164s ok 3 /gio/contexts/context-specific/identity 2164s ok 4 /gio/contexts/context-specific/emit 2164s ok 5 /gio/contexts/context-specific/emit-and-unref 2164s # End of context-specific tests 2164s # End of contexts tests 2164s # End of gio tests 2164s ok - glib/contexts.test 2164s # Running test: glib/socket-service.test 2164s TAP version 14 2164s # random seed: R02S30aa1152f9a552b54d426013a71e2aaa 2164s 1..4 2164s # Start of socket-service tests 2164s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 2164s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1d7d20 and GSocketClientAsyncConnectData 0xc1d3648 2164s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2164s ok 1 /socket-service/start-stop 2164s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1d8fc8 and GSocketClientAsyncConnectData 0xc1d8e40 2164s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2164s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2164s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1d9398 for GSocketClientAsyncConnectData 0xc1d3648 2164s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2164s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2164s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2164s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2164s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2164s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1d3610 for GSocketClientAsyncConnectData 0xc1d8e40 2164s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2164s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2164s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2164s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2164s ok 2 /socket-service/read_write_async 2164s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1db418 and GSocketClientAsyncConnectData 0xc1db3d0 2164s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2164s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2164s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1db498 for GSocketClientAsyncConnectData 0xc1db3d0 2164s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2164s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2164s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2164s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2164s ok 3 /socket-service/read_writev_async 2164s # Start of threaded tests 2164s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570 2164s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xc1dc018 and GSocketClientAsyncConnectData 0xc1dbc78 2164s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2164s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2164s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xc1db9c8 for GSocketClientAsyncConnectData 0xc1dbc78 2164s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2164s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2164s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2164s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2164s ok 4 /socket-service/threaded/712570 2164s # End of threaded tests 2164s # End of socket-service tests 2164s ok - glib/socket-service.test 2164s # Running test: glib/properties-introspection.test 2164s TAP version 14 2164s # random seed: R02Se80d52209f02f6c9630ccdf3326b6260 2164s 1..2 2164s # Start of properties tests 2164s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool. 2164s ok 1 /properties/introspection 2164s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool. 2164s ok 2 /properties/collision 2164s # End of properties tests 2164s ok - glib/properties-introspection.test 2164s # Running test: glib/gsocketclient-slow.test 2164s TAP version 14 2164s # random seed: R02Sed79694e00f820a038738e693c0219f4 2164s 1..4 2164s # Start of socket-client tests 2164s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184 2164s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 2164s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x109604a0 and GSocketClientAsyncConnectData 0x1095c1e8 2164s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2164s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2164s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x109618e0 for GSocketClientAsyncConnectData 0x1095c1e8 2164s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2165s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 2165s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2165s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 2165s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2165s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2165s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10962458 for GSocketClientAsyncConnectData 0x1095c1e8 2165s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2165s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2165s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused 2165s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused 2165s ok 1 /socket-client/connection-fail 2165s # slow test /socket-client/connection-fail executed in 1.20 secs 2165s # Start of happy-eyeballs tests 2165s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10963898 and GSocketClientAsyncConnectData 0x1095c1e8 2165s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2165s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2165s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x10963ed0 for GSocketClientAsyncConnectData 0x1095c1e8 2165s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2166s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 2166s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2166s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2166s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2166s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2166s ok 2 /socket-client/happy-eyeballs/slow 2166s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs 2166s # Start of cancellation tests 2166s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x109644f8 and GSocketClientAsyncConnectData 0x10963c00 2166s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2166s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled 2166s ok 3 /socket-client/happy-eyeballs/cancellation/instant 2166s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x10964aa8 and GSocketClientAsyncConnectData 0x10964688 2166s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2166s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2166s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x109641b0 for GSocketClientAsyncConnectData 0x10964688 2166s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2166s # Executing: glib/gsocketclient-slow.test 2167s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration 2167s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2167s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2167s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2167s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled! 2167s ok 4 /socket-client/happy-eyeballs/cancellation/delayed 2167s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs 2167s # End of cancellation tests 2167s # End of happy-eyeballs tests 2167s # End of socket-client tests 2167s ok - glib/gsocketclient-slow.test 2167s # Running test: glib/dump.test 2167s TAP version 14 2167s # random seed: R02Scf98076ccb92e88173a38f1b2b2e0d10 2167s 1..4 2167s # Start of dump tests 2167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_RHZB22/dump/empty-file/.dirs/home 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_RHZB22/dump/empty-file/.dirs/cache 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_RHZB22/dump/empty-file/.dirs/system-config1:/tmp/test_dump_RHZB22/dump/empty-file/.dirs/system-config2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_RHZB22/dump/empty-file/.dirs/config 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_RHZB22/dump/empty-file/.dirs/system-data1:/tmp/test_dump_RHZB22/dump/empty-file/.dirs/system-data2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_RHZB22/dump/empty-file/.dirs/data 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_RHZB22/dump/empty-file/.dirs/state 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_RHZB22/dump/empty-file/.dirs/runtime 2167s ok 1 /dump/empty-file 2167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/home 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/cache 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/system-config2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/config 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/system-data2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/data 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/state 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_RHZB22/dump/missing-get-type/.dirs/runtime 2167s Invalid GType function: 'does_not_exist_get_type' 2167s ok 2 /dump/missing-get-type 2167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_RHZB22/dump/missing-quark/.dirs/home 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_RHZB22/dump/missing-quark/.dirs/cache 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_RHZB22/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_RHZB22/dump/missing-quark/.dirs/system-config2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_RHZB22/dump/missing-quark/.dirs/config 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_RHZB22/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_RHZB22/dump/missing-quark/.dirs/system-data2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_RHZB22/dump/missing-quark/.dirs/data 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_RHZB22/dump/missing-quark/.dirs/state 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_RHZB22/dump/missing-quark/.dirs/runtime 2167s Invalid error quark function: 'does_not_exist_error' 2167s ok 3 /dump/missing-quark 2167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_RHZB22/dump/basic/.dirs/home 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_RHZB22/dump/basic/.dirs/cache 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_RHZB22/dump/basic/.dirs/system-config1:/tmp/test_dump_RHZB22/dump/basic/.dirs/system-config2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_RHZB22/dump/basic/.dirs/config 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_RHZB22/dump/basic/.dirs/system-data1:/tmp/test_dump_RHZB22/dump/basic/.dirs/system-data2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_RHZB22/dump/basic/.dirs/data 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_RHZB22/dump/basic/.dirs/state 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_RHZB22/dump/basic/.dirs/runtime 2167s ok 4 /dump/basic 2167s # End of dump tests 2167s ok - glib/dump.test 2167s # Running test: glib/gdbus-proxy.test 2167s TAP version 14 2167s # random seed: R02Sb8cc74303227d3a8a6b2560c2572036b 2167s 1..5 2167s # Start of gdbus tests 2167s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/home 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/cache 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/system-config2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/config 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/system-data2 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/data 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/state 2167s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/.dirs/runtime 2168s ok 1 /gdbus/proxy 2168s # slow test /gdbus/proxy executed in 1.73 secs 2168s # Start of proxy tests 2168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/home 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/cache 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/system-config2 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/config 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/system-data2 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/data 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/state 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-properties/.dirs/runtime 2168s ok 2 /gdbus/proxy/no-properties 2168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/home 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/cache 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/system-config2 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/config 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/system-data2 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/data 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/state 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/wellknown-noauto/.dirs/runtime 2168s ok 3 /gdbus/proxy/wellknown-noauto 2168s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/home 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/cache 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/system-config2 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/config 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/system-data2 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/data 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/state 2168s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/async/.dirs/runtime 2170s ok 4 /gdbus/proxy/async 2170s # slow test /gdbus/proxy/async executed in 1.73 secs 2170s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/home 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/cache 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/system-config2 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/config 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/system-data2 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/data 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/state 2170s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_6ETB22/gdbus/proxy/no-match-rule/.dirs/runtime 2170s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works 2170s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109 2171s # Executing: glib/gdbus-proxy.test 2172s ok 5 /gdbus/proxy/no-match-rule 2172s # slow test /gdbus/proxy/no-match-rule executed in 1.75 secs 2172s # End of proxy tests 2172s # End of gdbus tests 2172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2172s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2172s ok - glib/gdbus-proxy.test 2172s # Running test: glib/node.test 2172s TAP version 14 2172s # random seed: R02S557adfa515d5ab64bc956ef1a4898f19 2172s 1..6 2172s # Start of node tests 2172s ok 1 /node/allocation 2172s ok 2 /node/construction 2172s ok 3 /node/traversal 2172s ok 4 /node/misc 2172s ok 5 /node/unlink 2172s ok 6 /node/copy 2172s # End of node tests 2172s ok - glib/node.test 2172s # Running test: glib/rec-mutex.test 2172s TAP version 14 2172s # random seed: R02Scfa36d84c6001e6a31e0e1026cf279f5 2172s 1..29 2172s # Start of thread tests 2172s ok 1 /thread/rec-mutex1 2172s ok 2 /thread/rec-mutex2 2172s ok 3 /thread/rec-mutex3 2172s ok 4 /thread/rec-mutex4 2172s # Start of rec-mutex tests 2172s # Start of perf tests 2172s # Start of uncontended tests 2172s # max perf: 1.000000 mips 2172s ok 5 /thread/rec-mutex/perf/uncontended/depth1 2172s # max perf: inf mips 2172s ok 6 /thread/rec-mutex/perf/uncontended/depth2 2172s # max perf: inf mips 2172s ok 7 /thread/rec-mutex/perf/uncontended/depth3 2172s # max perf: 1.000000 mips 2172s ok 8 /thread/rec-mutex/perf/uncontended/depth4 2172s # max perf: inf mips 2172s ok 9 /thread/rec-mutex/perf/uncontended/depth5 2172s # End of uncontended tests 2172s # Start of contended1 tests 2172s # max perf: 2.000000 mips 2172s ok 10 /thread/rec-mutex/perf/contended1/depth1 2172s # max perf: 2.000000 mips 2172s ok 11 /thread/rec-mutex/perf/contended1/depth2 2172s # max perf: 2.000000 mips 2172s ok 12 /thread/rec-mutex/perf/contended1/depth3 2172s # max perf: 2.000000 mips 2172s ok 13 /thread/rec-mutex/perf/contended1/depth4 2172s # max perf: inf mips 2172s ok 14 /thread/rec-mutex/perf/contended1/depth5 2172s # End of contended1 tests 2172s # Start of contended2 tests 2172s # max perf: inf mips 2172s ok 15 /thread/rec-mutex/perf/contended2/depth1 2172s # max perf: 3.000000 mips 2172s ok 16 /thread/rec-mutex/perf/contended2/depth2 2172s # max perf: 3.000000 mips 2172s ok 17 /thread/rec-mutex/perf/contended2/depth3 2172s # max perf: 3.000000 mips 2172s ok 18 /thread/rec-mutex/perf/contended2/depth4 2172s # max perf: 3.000000 mips 2172s ok 19 /thread/rec-mutex/perf/contended2/depth5 2172s # End of contended2 tests 2172s # Start of contended3 tests 2172s # max perf: 1.333333 mips 2172s ok 20 /thread/rec-mutex/perf/contended3/depth1 2172s # max perf: 1.333333 mips 2172s ok 21 /thread/rec-mutex/perf/contended3/depth2 2172s # max perf: 4.000000 mips 2172s ok 22 /thread/rec-mutex/perf/contended3/depth3 2172s # max perf: 1.000000 mips 2172s ok 23 /thread/rec-mutex/perf/contended3/depth4 2172s # max perf: 0.666667 mips 2172s ok 24 /thread/rec-mutex/perf/contended3/depth5 2172s # End of contended3 tests 2172s # Start of contended4 tests 2172s # max perf: 1.000000 mips 2172s ok 25 /thread/rec-mutex/perf/contended4/depth1 2172s # max perf: 1.250000 mips 2172s ok 26 /thread/rec-mutex/perf/contended4/depth2 2172s # max perf: 0.384615 mips 2172s ok 27 /thread/rec-mutex/perf/contended4/depth3 2172s # max perf: 1.250000 mips 2172s ok 28 /thread/rec-mutex/perf/contended4/depth4 2172s # max perf: 0.333333 mips 2172s ok 29 /thread/rec-mutex/perf/contended4/depth5 2172s # End of contended4 tests 2172s # End of perf tests 2172s # End of rec-mutex tests 2172s # End of thread tests 2172s ok - glib/rec-mutex.test 2172s # Running test: glib/cmph-bdz.test 2172s TAP version 14 2172s # random seed: R02S78851f629c20771093e0914d0f4033cf 2172s 1..2 2172s # Start of cmph-bdz tests 2172s ok 1 /cmph-bdz/search 2172s ok 2 /cmph-bdz/search-packed 2172s # End of cmph-bdz tests 2172s ok - glib/cmph-bdz.test 2172s # Running test: glib/pattern.test 2172s TAP version 14 2172s # random seed: R02S2cef0d15d1f9ea8886d504a3454c1034 2172s 1..90 2172s # Start of pattern tests 2172s # Start of compile tests 2172s ok 1 /pattern/compile/0 2172s ok 2 /pattern/compile/1 2172s ok 3 /pattern/compile/2 2172s ok 4 /pattern/compile/3 2172s ok 5 /pattern/compile/4 2172s ok 6 /pattern/compile/5 2172s ok 7 /pattern/compile/6 2172s ok 8 /pattern/compile/7 2172s ok 9 /pattern/compile/8 2172s ok 10 /pattern/compile/9 2172s ok 11 /pattern/compile/10 2172s ok 12 /pattern/compile/11 2172s ok 13 /pattern/compile/12 2172s ok 14 /pattern/compile/13 2172s # End of compile tests 2172s # Start of copy tests 2172s ok 15 /pattern/copy/0 2172s ok 16 /pattern/copy/1 2172s ok 17 /pattern/copy/2 2172s ok 18 /pattern/copy/3 2172s ok 19 /pattern/copy/4 2172s ok 20 /pattern/copy/5 2172s ok 21 /pattern/copy/6 2172s ok 22 /pattern/copy/7 2172s ok 23 /pattern/copy/8 2172s ok 24 /pattern/copy/9 2172s ok 25 /pattern/copy/10 2172s ok 26 /pattern/copy/11 2172s ok 27 /pattern/copy/12 2172s ok 28 /pattern/copy/13 2172s # End of copy tests 2172s # Start of match tests 2172s ok 29 /pattern/match/0 2172s ok 30 /pattern/match/1 2172s ok 31 /pattern/match/2 2172s ok 32 /pattern/match/3 2172s ok 33 /pattern/match/4 2172s ok 34 /pattern/match/5 2172s ok 35 /pattern/match/6 2172s ok 36 /pattern/match/7 2172s ok 37 /pattern/match/8 2172s ok 38 /pattern/match/9 2172s ok 39 /pattern/match/10 2172s ok 40 /pattern/match/11 2172s ok 41 /pattern/match/12 2172s ok 42 /pattern/match/13 2172s ok 43 /pattern/match/14 2172s ok 44 /pattern/match/15 2172s ok 45 /pattern/match/16 2172s ok 46 /pattern/match/17 2172s ok 47 /pattern/match/18 2172s ok 48 /pattern/match/19 2172s ok 49 /pattern/match/20 2172s ok 50 /pattern/match/21 2172s ok 51 /pattern/match/22 2172s ok 52 /pattern/match/23 2172s ok 53 /pattern/match/24 2172s ok 54 /pattern/match/25 2172s ok 55 /pattern/match/26 2172s ok 56 /pattern/match/27 2172s ok 57 /pattern/match/28 2172s ok 58 /pattern/match/29 2172s ok 59 /pattern/match/30 2172s ok 60 /pattern/match/31 2172s ok 61 /pattern/match/32 2172s ok 62 /pattern/match/33 2172s ok 63 /pattern/match/34 2172s ok 64 /pattern/match/35 2172s ok 65 /pattern/match/36 2172s ok 66 /pattern/match/37 2172s ok 67 /pattern/match/38 2172s ok 68 /pattern/match/39 2172s ok 69 /pattern/match/40 2172s ok 70 /pattern/match/41 2172s ok 71 /pattern/match/42 2172s ok 72 /pattern/match/43 2172s ok 73 /pattern/match/44 2172s ok 74 /pattern/match/45 2172s ok 75 /pattern/match/46 2172s ok 76 /pattern/match/47 2172s ok 77 /pattern/match/48 2172s ok 78 /pattern/match/49 2172s ok 79 /pattern/match/50 2172s # End of match tests 2172s # Start of equal tests 2172s ok 80 /pattern/equal/0 2172s ok 81 /pattern/equal/1 2172s ok 82 /pattern/equal/2 2172s ok 83 /pattern/equal/3 2172s ok 84 /pattern/equal/4 2172s ok 85 /pattern/equal/5 2172s ok 86 /pattern/equal/6 2172s ok 87 /pattern/equal/7 2172s ok 88 /pattern/equal/8 2172s ok 89 /pattern/equal/9 2172s ok 90 /pattern/equal/10 2172s # End of equal tests 2172s # End of pattern tests 2172s ok - glib/pattern.test 2172s # Running test: glib/once.test 2172s TAP version 14 2172s # random seed: R02Sebe7d06c72e437ab322df05acda77a51 2172s 1..5 2172s # Start of once tests 2172s # /once/single-threaded summary: Test g_once() usage from a single thread 2172s ok 1 /once/single-threaded 2172s # /once/multi-threaded summary: Test g_once() usage from multiple threads 2172s ok 2 /once/multi-threaded 2172s # End of once tests 2172s # Start of once-init tests 2172s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread 2172s ok 3 /once-init/single-threaded 2172s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads 2172s ok 4 /once-init/multi-threaded 2172s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string 2172s ok 5 /once-init/string 2172s # End of once-init tests 2172s ok - glib/once.test 2172s # Running test: glib/utils-c-11.test 2172s TAP version 14 2172s # random seed: R02Secb21e4870e5776f3541e937c65b6546 2172s 1..41 2172s # Start of utils tests 2172s ok 1 /utils/language-names 2172s ok 2 /utils/locale-variants 2172s ok 3 /utils/version 2172s ok 4 /utils/appname 2172s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847 2172s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name. 2172s ok 5 /utils/prgname-thread-safety 2172s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969 2172s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string 2172s ok 6 /utils/tmpdir 2172s ok 7 /utils/basic_bits 2172s ok 8 /utils/bits 2172s ok 9 /utils/swap 2172s ok 10 /utils/find-program 2172s ok 11 /utils/find-program-for-path 2172s ok 12 /utils/debug 2172s ok 13 /utils/codeset 2172s ok 14 /utils/codeset2 2172s ok 15 /utils/console-charset 2172s ok 16 /utils/gettext 2172s ok 17 /utils/username 2172s ok 18 /utils/realname 2172s ok 19 /utils/hostname 2172s ok 20 /utils/xdgdirs 2172s ok 21 /utils/specialdir 2172s # NAME: Ubuntu 2172s ok 22 /utils/os-info 2172s ok 23 /utils/clear-pointer 2172s ok 24 /utils/clear-pointer-cast 2172s ok 25 /utils/take-pointer 2172s ok 26 /utils/clear-source 2172s ok 27 /utils/misc-mem 2172s # /utils/aligned-mem summary: Aligned memory allocator 2172s # Alignment must not be zero 2172s # Alignment must be a power of two 2172s # Alignment must be a multiple of sizeof(void*) 2172s ok 28 /utils/aligned-mem 2172s # /utils/free-sized summary: Check that g_free_sized() works 2172s ok 29 /utils/free-sized 2172s ok 30 /utils/nullify 2172s ok 31 /utils/atexit 2172s ok 32 /utils/check-setuid 2172s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663 2172s ok 33 /utils/int-limits 2172s ok 34 /utils/clear-list 2172s ok 35 /utils/clear-slist 2172s ok 36 /utils/steal-handle-id 2172s # Start of specialdir tests 2172s ok 37 /utils/specialdir/desktop 2172s # End of specialdir tests 2172s # Start of clear-pointer tests 2172s ok 38 /utils/clear-pointer/side-effects 2172s # End of clear-pointer tests 2172s # Start of aligned-mem tests 2172s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer 2172s ok 39 /utils/aligned-mem/alignment 2172s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation 2172s ok 40 /utils/aligned-mem/zeroed 2172s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works 2172s ok 41 /utils/aligned-mem/free-sized 2172s # Start of subprocess tests 2172s # End of subprocess tests 2172s # End of aligned-mem tests 2172s # End of utils tests 2172s ok - glib/utils-c-11.test 2172s # Running test: glib/g-file.test 2172s TAP version 14 2172s # random seed: R02S17f641939e8dd5f9c0e9225757bb839f 2172s 1..8 2172s # Start of g-file tests 2172s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2172s ok 1 /g-file/test_g_file_new_null 2172s ok 2 /g-file/test_g_file_new_for_path 2172s ok 3 /g-file/test_g_file_new_for_uri 2172s ok 4 /g-file/test_g_file_dup 2172s ok 5 /g-file/test_g_file_get_parse_name_utf8 2172s file:///tmp/test-tmp-glib_g-file.test-CVSJ22 2172s file:///tmp 2172s file:///tmp 2172s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 2172s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88 2172s ok 6 /g-file/test_g_file_new_for_commandline_arg 2172s /dir1 /dir1/dir2/dir3/ 2172s /dir1/ /dir1/dir2/dir3/ 2172s /dir1 /dir1/dir2/dir3 2172s /dir1/ /dir1/dir2/dir3 2172s /tmp/ /something/ 2172s /dir1/dir2 /dir1/ 2172s //dir1/new //dir1/new/dir2/dir3 2172s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2 2172s file:///dir1 file:///dir1/dir2/dir3/ 2172s file:///dir1/ file:///dir1/dir2/dir3/ 2172s file:///dir1 file:///dir1/dir2/dir3 2172s file:///dir1/ file:///dir1/dir2/dir3 2172s file:///tmp/ file:///something/ 2172s file:///dir1/dir2 file:///dir1/ 2172s file:////dir1/new file:////dir1/new/dir2/dir3 2172s 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 2172s ok 7 /g-file/test_g_file_has_prefix 2172s ok 8 /g-file/test_g_file_get_parent_child 2172s # End of g-file tests 2172s ok - glib/g-file.test 2172s # Running test: glib/io-channel-basic.test 2172s TAP version 14 2172s # random seed: R02S3bee00350cfadb9de72c33455ca9e5b7 2172s 1..1 2172s # Start of gio tests 2172s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 2172s # random seed: R02S764365781da13bab860a5e4edf758ea5 2172s # GLib-DEBUG: io-channel-basic: child writing 8+167 bytes to 6 2172s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2172s # GLib-DEBUG: io-channel-basic: ...from 5: 167 bytes 2172s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2173s # GLib-DEBUG: io-channel-basic: child writing 8+995 bytes to 6 2173s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2173s # GLib-DEBUG: io-channel-basic: ...from 5: 995 bytes 2173s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2173s # GLib-DEBUG: io-channel-basic: child writing 8+1117 bytes to 6 2173s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2173s # GLib-DEBUG: io-channel-basic: ...from 5: 1117 bytes 2173s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2173s # GLib-DEBUG: io-channel-basic: child writing 8+4232 bytes to 6 2173s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2173s # GLib-DEBUG: io-channel-basic: ...from 5: 4232 bytes 2173s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2173s # GLib-DEBUG: io-channel-basic: child writing 8+2584 bytes to 6 2173s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2173s # GLib-DEBUG: io-channel-basic: ...from 5: 2584 bytes 2173s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2174s # GLib-DEBUG: io-channel-basic: child writing 8+1980 bytes to 6 2174s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2174s # GLib-DEBUG: io-channel-basic: ...from 5: 1980 bytes 2174s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2174s # GLib-DEBUG: io-channel-basic: child writing 8+1842 bytes to 6 2174s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2174s # GLib-DEBUG: io-channel-basic: ...from 5: 1842 bytes 2174s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2174s # GLib-DEBUG: io-channel-basic: child writing 8+782 bytes to 6 2174s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2174s # GLib-DEBUG: io-channel-basic: ...from 5: 782 bytes 2174s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2174s # GLib-DEBUG: io-channel-basic: child writing 8+2529 bytes to 6 2174s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2174s # GLib-DEBUG: io-channel-basic: ...from 5: 2529 bytes 2174s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2175s # GLib-DEBUG: io-channel-basic: child writing 8+4352 bytes to 6 2175s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2175s # GLib-DEBUG: io-channel-basic: ...from 5: 4352 bytes 2175s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2175s # GLib-DEBUG: io-channel-basic: child writing 8+3305 bytes to 6 2175s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2175s # GLib-DEBUG: io-channel-basic: ...from 5: 3305 bytes 2175s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2175s # GLib-DEBUG: io-channel-basic: child writing 8+252 bytes to 6 2175s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2175s # GLib-DEBUG: io-channel-basic: ...from 5: 252 bytes 2175s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2175s # GLib-DEBUG: io-channel-basic: child writing 8+2311 bytes to 6 2175s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2175s # GLib-DEBUG: io-channel-basic: ...from 5: 2311 bytes 2175s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2176s # GLib-DEBUG: io-channel-basic: child writing 8+190 bytes to 6 2176s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2176s # GLib-DEBUG: io-channel-basic: ...from 5: 190 bytes 2176s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2176s # GLib-DEBUG: io-channel-basic: child writing 8+642 bytes to 6 2176s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2176s # GLib-DEBUG: io-channel-basic: ...from 5: 642 bytes 2176s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2176s # GLib-DEBUG: io-channel-basic: child writing 8+322 bytes to 6 2176s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2176s # GLib-DEBUG: io-channel-basic: ...from 5: 322 bytes 2176s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2176s # Executing: glib/io-channel-basic.test 2176s # GLib-DEBUG: io-channel-basic: child writing 8+3084 bytes to 6 2176s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2176s # GLib-DEBUG: io-channel-basic: ...from 5: 3084 bytes 2176s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2177s # GLib-DEBUG: io-channel-basic: child writing 8+3347 bytes to 6 2177s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2177s # GLib-DEBUG: io-channel-basic: ...from 5: 3347 bytes 2177s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2177s # GLib-DEBUG: io-channel-basic: child writing 8+1496 bytes to 6 2177s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2177s # GLib-DEBUG: io-channel-basic: ...from 5: 1496 bytes 2177s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2177s # GLib-DEBUG: io-channel-basic: child writing 8+1961 bytes to 6 2177s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2177s # GLib-DEBUG: io-channel-basic: ...from 5: 1961 bytes 2177s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2178s # GLib-DEBUG: io-channel-basic: child writing 8+3242 bytes to 6 2178s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2178s # GLib-DEBUG: io-channel-basic: ...from 5: 3242 bytes 2178s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2178s # GLib-DEBUG: io-channel-basic: child writing 8+1583 bytes to 6 2178s # GLib-DEBUG: io-channel-basic: ...from 5: IN 2178s # GLib-DEBUG: io-channel-basic: ...from 5: 1583 bytes 2178s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+1948 bytes to 6 2179s # GLib-DEBUG: io-channel-basic: child exiting, closing 6 2179s # GLib-DEBUG: io-channel-basic: ...from 5: HUP IN 2179s # GLib-DEBUG: io-channel-basic: ...from 5: 1948 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 5: OK 2179s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 2179s # random seed: R02Sc8d3b346fc37d7d9aaba7772b4eaea77 2179s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 2179s # random seed: R02Sa73ca8c1f12710b3a5bfd194c16511b8 2179s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 2179s # random seed: R02S11cd4c45591eb499fd5a44628ff2e242 2179s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 2179s # random seed: R02S45b80743adaac564c732a99cf57dcc7f 2179s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic 2179s # random seed: R02Sd164067e6ff7495026366dae278d516c 2179s # GLib-DEBUG: io-channel-basic: child writing 8+77 bytes to 13 2179s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 12: 77 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+4971 bytes to 11 2179s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 10: 4971 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+250 bytes to 17 2179s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 16: 250 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+48 bytes to 9 2179s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 8: 48 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+2017 bytes to 15 2179s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 14: 2017 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+1563 bytes to 9 2179s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 8: 1563 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+4097 bytes to 17 2179s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 16: 4097 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+4614 bytes to 13 2179s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 12: 4614 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+4399 bytes to 11 2179s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 10: 4399 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+1663 bytes to 15 2179s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 14: 1663 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+311 bytes to 17 2179s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 16: 311 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+4325 bytes to 13 2179s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 12: 4325 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+2709 bytes to 15 2179s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 14: 2709 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+3922 bytes to 9 2179s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 8: 3922 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+1600 bytes to 11 2179s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 10: 1600 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+3156 bytes to 17 2179s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 16: 3156 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+1199 bytes to 13 2179s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 12: 1199 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+4251 bytes to 9 2179s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 8: 4251 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+4779 bytes to 11 2179s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 10: 4779 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+327 bytes to 15 2179s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 14: 327 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+1360 bytes to 17 2179s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 16: 1360 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+2453 bytes to 13 2179s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 12: 2453 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+1344 bytes to 9 2179s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 8: 1344 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+4674 bytes to 11 2179s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 10: 4674 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2179s # GLib-DEBUG: io-channel-basic: child writing 8+2369 bytes to 15 2179s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2179s # GLib-DEBUG: io-channel-basic: ...from 14: 2369 bytes 2179s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+2222 bytes to 13 2180s # GLib-DEBUG: io-channel-basic: child writing 8+1875 bytes to 17 2180s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 12: 2222 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2180s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 16: 1875 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+1419 bytes to 11 2180s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 10: 1419 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+3488 bytes to 9 2180s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 8: 3488 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+4343 bytes to 15 2180s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 14: 4343 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+3951 bytes to 17 2180s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 16: 3951 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+618 bytes to 13 2180s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 12: 618 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+4409 bytes to 9 2180s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 8: 4409 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+787 bytes to 11 2180s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 10: 787 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+1456 bytes to 15 2180s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 14: 1456 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+3330 bytes to 17 2180s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 16: 3330 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+4743 bytes to 11 2180s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 10: 4743 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+3537 bytes to 13 2180s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 12: 3537 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+3688 bytes to 9 2180s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 8: 3688 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+2763 bytes to 15 2180s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 14: 2763 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+826 bytes to 17 2180s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 16: 826 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+3922 bytes to 11 2180s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 10: 3922 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+3556 bytes to 13 2180s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 12: 3556 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+4503 bytes to 9 2180s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 8: 4503 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2180s # GLib-DEBUG: io-channel-basic: child writing 8+4594 bytes to 15 2180s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2180s # GLib-DEBUG: io-channel-basic: ...from 14: 4594 bytes 2180s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+4250 bytes to 17 2181s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 16: 4250 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+2326 bytes to 11 2181s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 10: 2326 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+3189 bytes to 9 2181s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 8: 3189 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+2611 bytes to 13 2181s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 12: 2611 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+3382 bytes to 15 2181s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 14: 3382 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+2825 bytes to 17 2181s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 16: 2825 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+312 bytes to 11 2181s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 10: 312 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+4156 bytes to 9 2181s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 8: 4156 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+1864 bytes to 13 2181s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 12: 1864 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+4603 bytes to 15 2181s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 14: 4603 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+3819 bytes to 17 2181s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 16: 3819 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+617 bytes to 11 2181s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 10: 617 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+3527 bytes to 9 2181s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 8: 3527 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+2661 bytes to 13 2181s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 12: 2661 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+565 bytes to 15 2181s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 14: 565 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2181s # Executing: glib/io-channel-basic.test 2181s # GLib-DEBUG: io-channel-basic: child writing 8+662 bytes to 17 2181s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 16: 662 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+897 bytes to 11 2181s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 10: 897 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+906 bytes to 9 2181s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 8: 906 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+3117 bytes to 13 2181s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 12: 3117 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2181s # GLib-DEBUG: io-channel-basic: child writing 8+3570 bytes to 15 2181s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2181s # GLib-DEBUG: io-channel-basic: ...from 14: 3570 bytes 2181s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+3210 bytes to 17 2182s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 16: 3210 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+2621 bytes to 9 2182s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 8: 2621 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+2783 bytes to 11 2182s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 10: 2783 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+4212 bytes to 13 2182s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 12: 4212 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+3218 bytes to 15 2182s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 14: 3218 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+4478 bytes to 17 2182s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 16: 4478 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+3988 bytes to 9 2182s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 8: 3988 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+2876 bytes to 11 2182s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 10: 2876 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+1595 bytes to 15 2182s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 14: 1595 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+2779 bytes to 13 2182s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 12: 2779 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+4953 bytes to 17 2182s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 16: 4953 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+1443 bytes to 9 2182s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 8: 1443 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+629 bytes to 11 2182s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 10: 629 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+2219 bytes to 15 2182s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 14: 2219 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+2801 bytes to 13 2182s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 12: 2801 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+1675 bytes to 17 2182s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 16: 1675 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+4038 bytes to 9 2182s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 8: 4038 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+3439 bytes to 11 2182s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 10: 3439 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+2828 bytes to 13 2182s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 12: 2828 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2182s # GLib-DEBUG: io-channel-basic: child writing 8+3207 bytes to 15 2182s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2182s # GLib-DEBUG: io-channel-basic: ...from 14: 3207 bytes 2182s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+4348 bytes to 17 2183s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 16: 4348 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+412 bytes to 11 2183s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 10: 412 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+4104 bytes to 9 2183s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 8: 4104 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+3666 bytes to 13 2183s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 12: 3666 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+4790 bytes to 15 2183s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 14: 4790 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+2330 bytes to 17 2183s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 16: 2330 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+2971 bytes to 11 2183s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 10: 2971 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+4313 bytes to 9 2183s # GLib-DEBUG: io-channel-basic: ...from 8: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 8: 4313 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+876 bytes to 13 2183s # GLib-DEBUG: io-channel-basic: ...from 12: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 12: 876 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+4421 bytes to 15 2183s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 14: 4421 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+2802 bytes to 17 2183s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 16: 2802 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+4422 bytes to 11 2183s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 10: 4422 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+349 bytes to 9 2183s # GLib-DEBUG: io-channel-basic: child exiting, closing 9 2183s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN 2183s # GLib-DEBUG: io-channel-basic: ...from 8: 349 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 8: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+1848 bytes to 15 2183s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 14: 1848 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+893 bytes to 13 2183s # GLib-DEBUG: io-channel-basic: child exiting, closing 13 2183s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN 2183s # GLib-DEBUG: io-channel-basic: ...from 12: 893 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 12: OK 2183s # GLib-DEBUG: io-channel-basic: child writing 8+3623 bytes to 17 2183s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2183s # GLib-DEBUG: io-channel-basic: ...from 16: 3623 bytes 2183s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2184s # GLib-DEBUG: io-channel-basic: child writing 8+3175 bytes to 11 2184s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2184s # GLib-DEBUG: io-channel-basic: ...from 10: 3175 bytes 2184s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2184s # GLib-DEBUG: io-channel-basic: child writing 8+2617 bytes to 15 2184s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2184s # GLib-DEBUG: io-channel-basic: ...from 14: 2617 bytes 2184s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2184s # GLib-DEBUG: io-channel-basic: child writing 8+124 bytes to 17 2184s # GLib-DEBUG: io-channel-basic: ...from 16: IN 2184s # GLib-DEBUG: io-channel-basic: ...from 16: 124 bytes 2184s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2184s # GLib-DEBUG: io-channel-basic: child writing 8+1267 bytes to 11 2184s # GLib-DEBUG: io-channel-basic: ...from 10: IN 2184s # GLib-DEBUG: io-channel-basic: ...from 10: 1267 bytes 2184s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2184s # GLib-DEBUG: io-channel-basic: child writing 8+783 bytes to 15 2184s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2184s # GLib-DEBUG: io-channel-basic: ...from 14: 783 bytes 2184s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2184s # GLib-DEBUG: io-channel-basic: child writing 8+1959 bytes to 17 2184s # GLib-DEBUG: io-channel-basic: child exiting, closing 17 2184s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN 2184s # GLib-DEBUG: io-channel-basic: ...from 16: 1959 bytes 2184s # GLib-DEBUG: io-channel-basic: ...from 16: OK 2184s # GLib-DEBUG: io-channel-basic: child writing 8+2183 bytes to 11 2184s # GLib-DEBUG: io-channel-basic: child exiting, closing 11 2184s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN 2184s # GLib-DEBUG: io-channel-basic: ...from 10: 2183 bytes 2184s # GLib-DEBUG: io-channel-basic: ...from 10: OK 2184s # GLib-DEBUG: io-channel-basic: child writing 8+2547 bytes to 15 2184s # GLib-DEBUG: io-channel-basic: ...from 14: IN 2184s # GLib-DEBUG: io-channel-basic: ...from 14: 2547 bytes 2184s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2184s # GLib-DEBUG: io-channel-basic: child writing 8+431 bytes to 15 2184s # GLib-DEBUG: io-channel-basic: child exiting, closing 15 2184s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN 2184s # GLib-DEBUG: io-channel-basic: ...from 14: 431 bytes 2184s # GLib-DEBUG: io-channel-basic: ...from 14: OK 2184s ok 1 /gio/io-basics 2184s # slow test /gio/io-basics executed in 12.32 secs 2184s # End of gio tests 2184s ok - glib/io-channel-basic.test 2184s # Running test: glib/gdbus-connection.test 2184s TAP version 14 2184s # random seed: R02S45046e3f18a28831f37318744ef3684b 2184s 1..9 2184s # Start of gdbus tests 2184s # Start of connection tests 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_5F0612/gdbus/connection/bus-failure/.dirs/runtime 2184s ok 1 /gdbus/connection/bus-failure 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_5F0612/gdbus/connection/basic/.dirs/runtime 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s ok 2 /gdbus/connection/basic 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_5F0612/gdbus/connection/life-cycle/.dirs/runtime 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s ok 3 /gdbus/connection/life-cycle 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_5F0612/gdbus/connection/send/.dirs/runtime 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s ok 4 /gdbus/connection/send 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signals/.dirs/runtime 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s ok 5 /gdbus/connection/signals 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_5F0612/gdbus/connection/signal-match-rules/.dirs/runtime 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s ok 6 /gdbus/connection/signal-match-rules 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_5F0612/gdbus/connection/filter/.dirs/runtime 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s ok 7 /gdbus/connection/filter 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_5F0612/gdbus/connection/serials/.dirs/runtime 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s ok 8 /gdbus/connection/serials 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_5F0612/gdbus/connection/cancel/.dirs/runtime 2184s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s ok 9 /gdbus/connection/cancel 2184s # End of connection tests 2184s # End of gdbus tests 2184s ok - glib/gdbus-connection.test 2184s # Running test: glib/gdbus-auth.test 2184s TAP version 14 2184s # random seed: R02Se4ff21608383122c77de9e106959b56e 2184s 1..5 2184s # Start of gdbus tests 2184s # Start of auth tests 2184s # Start of client tests 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/EXTERNAL/.dirs/runtime 2184s ok 1 /gdbus/auth/client/EXTERNAL 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime 2184s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1 2184s # End of client tests 2184s # Start of server tests 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/ANONYMOUS/.dirs/runtime 2184s ok 3 /gdbus/auth/server/ANONYMOUS 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/EXTERNAL/.dirs/runtime 2184s ok 4 /gdbus/auth/server/EXTERNAL 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_SJ2912/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime 2184s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1 2184s # End of server tests 2184s # End of auth tests 2184s # End of gdbus tests 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2184s ok - glib/gdbus-auth.test 2184s # Running test: glib/portal-support-flatpak-gsettings-only.test 2184s TAP version 14 2184s # random seed: R02S0e340640b584cba8e690bf51dab661c7 2184s 1..1 2184s # Start of portal-support tests 2184s # Start of flatpak tests 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/runtime 2184s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_JWJ912/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info 2184s ok 1 /portal-support/flatpak/gsettings 2184s # End of flatpak tests 2184s # End of portal-support tests 2184s ok - glib/portal-support-flatpak-gsettings-only.test 2184s # Running test: glib/portal-support-flatpak-network-only.test 2184s TAP version 14 2184s # random seed: R02S5129fd554018beb6503b85b3c525a3f3 2184s 1..1 2184s # Start of portal-support tests 2184s # Start of flatpak tests 2184s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/home 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/cache 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/system-config2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/config 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/system-data2 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/data 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/state 2184s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/runtime 2184s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_I9RA22/portal-support/flatpak/network/.dirs/runtime/.flatpak-info 2184s ok 1 /portal-support/flatpak/network 2184s # End of flatpak tests 2184s # End of portal-support tests 2184s ok - glib/portal-support-flatpak-network-only.test 2184s # Running test: glib/network-monitor.test 2184s TAP version 14 2184s # random seed: R02S7f9b533da41fcd8d1de8487428d58e3c 2184s 1..4 2184s # Start of network-monitor tests 2184s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals 2184s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running 2184s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor? 2184s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 2184s ok 1 /network-monitor/default 2184s ok 2 /network-monitor/remove_default 2185s ok 3 /network-monitor/add_networks 2185s ok 4 /network-monitor/remove_networks 2185s # End of network-monitor tests 2185s ok - glib/network-monitor.test 2185s # Running test: glib/unix-fd.test 2185s TAP version 14 2185s # random seed: R02Sd4b2cb1d5c00ecda473df97ec803208f 2185s 1..2 2185s # Start of unix-fd tests 2185s ok 1 /unix-fd/fd-list 2185s ok 2 /unix-fd/scm 2185s # End of unix-fd tests 2185s ok - glib/unix-fd.test 2185s # Running test: glib/macros-c-89.test 2185s TAP version 14 2185s # random seed: R02S534bd8fb2bf8cd964155dd387da3d114 2185s 1..4 2185s # Start of C tests 2185s ok 1 /C/standard-89 2185s # End of C tests 2185s # Start of alignof tests 2185s ok 2 /alignof/fallback 2185s # End of alignof tests 2185s # Start of assert tests 2185s ok 3 /assert/static 2185s # End of assert tests 2185s # Start of struct tests 2185s ok 4 /struct/sizeof_member 2185s # End of struct tests 2185s ok - glib/macros-c-89.test 2185s # Running test: glib/charset.test 2185s TAP version 14 2185s # random seed: R02S6bc27bad7c5d4722cb8926727a417302 2185s 1..2 2185s # Start of charset tests 2185s # Test 0 2185s # Test 1 2185s # Test 2 2185s # Test 3 2185s ok 1 /charset/language_names_with_category 2185s ok 2 /charset/language_names_with_category_async 2185s # End of charset tests 2185s ok - glib/charset.test 2185s # Running test: glib/properties-refcount2.test 2185s TAP version 14 2185s # random seed: R02Sf9b353884389714ae913e3ed797ceb62 2185s 1..1 2185s # Start of gobject tests 2185s # Start of refcount tests 2185s # init 0x230f238 2185s # 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2185s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # . 2186s # dispose 0x230f238! 2186s # 2186s ok 1 /gobject/refcount/properties-2 2186s # slow test /gobject/refcount/properties-2 executed in 1.51 secs 2186s # End of refcount tests 2186s # End of gobject tests 2186s ok - glib/properties-refcount2.test 2186s # Running test: glib/mappedfile.test 2186s TAP version 14 2186s # random seed: R02S88d39bf42f622f8396719a8da4aea0ea 2186s 1..7 2186s # Start of mappedfile tests 2186s ok 1 /mappedfile/basic 2186s ok 2 /mappedfile/empty 2186s ok 3 /mappedfile/device 2186s ok 4 /mappedfile/nonexisting 2186s ok 5 /mappedfile/writable 2186s ok 6 /mappedfile/writable_fd 2186s ok 7 /mappedfile/gbytes 2186s # End of mappedfile tests 2186s ok - glib/mappedfile.test 2186s # Running test: glib/spawn-multithreaded.test 2186s TAP version 14 2186s # random seed: R02S5c11e3d834b7daea48cd59a38ce7b95f 2186s 1..4 2186s # Start of gthread tests 2186s # Executing: glib/spawn-multithreaded.test 2187s # Child 12736 (ttl 1) exited, status 0 2188s # Child 12737 (ttl 2) exited, status 0 2188s ok 1 /gthread/spawn-childs 2188s # slow test /gthread/spawn-childs executed in 2.00 secs 2188s # Created pid: 12741 (ttl 1) 2188s # Created pid: 12742 (ttl 2) 2189s # Child 12741 (ttl 1) exited, status 0 2190s # Child 12742 (ttl 2) exited, status 0 2190s ok 2 /gthread/spawn-childs-threads 2190s # slow test /gthread/spawn-childs-threads executed in 2.00 secs 2190s ok 3 /gthread/spawn-sync 2190s ok 4 /gthread/spawn-async 2190s # End of gthread tests 2190s ok - glib/spawn-multithreaded.test 2190s # Running test: glib/type.test 2190s TAP version 14 2190s # random seed: R02S6323a234e1d050761157b6547f27326c 2190s 1..6 2190s # Start of type tests 2190s ok 1 /type/registration-serial 2190s ok 2 /type/interface-prerequisite 2190s ok 3 /type/interface-check 2190s ok 4 /type/next-base 2190s ok 5 /type/is-a 2190s # Invalid types can?t be queried. 2190s # Unclassed types can?t be queried. 2190s ok 6 /type/query 2190s # End of type tests 2190s ok - glib/type.test 2190s # Running test: glib/inet-address.test 2190s TAP version 14 2190s # random seed: R02S99d1db2c46b1ddcb520d1aaad2a45b5b 2190s 1..11 2190s # Start of inet-address tests 2190s ok 1 /inet-address/parse 2190s ok 2 /inet-address/any 2190s ok 3 /inet-address/loopback 2190s ok 4 /inet-address/bytes 2190s ok 5 /inet-address/property 2190s # End of inet-address tests 2190s # Start of socket-address tests 2190s ok 6 /socket-address/basic 2190s ok 7 /socket-address/to-string 2190s # End of socket-address tests 2190s # Start of address-mask tests 2190s ok 8 /address-mask/parse 2190s ok 9 /address-mask/property 2190s ok 10 /address-mask/equal 2190s ok 11 /address-mask/match 2190s # End of address-mask tests 2190s ok - glib/inet-address.test 2190s # Running test: glib/gmenumodel.test 2190s TAP version 14 2190s # random seed: R02S121ad3f96394246b3b8f12990734040d 2190s 1..15 2190s # Start of gmenu tests 2191s ok 1 /gmenu/equality 2191s # slow test /gmenu/equality executed in 0.94 secs 2191s # Executing: glib/gmenumodel.test 2193s ok 2 /gmenu/random 2193s # slow test /gmenu/random executed in 1.35 secs 2193s ok 3 /gmenu/attributes 2193s ok 4 /gmenu/links 2193s ok 5 /gmenu/mutable 2193s ok 6 /gmenu/convenience 2193s ok 7 /gmenu/menuitem 2193s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 2193s ok 8 /gmenu/input-validation 2193s # Start of dbus tests 2194s ok 9 /gmenu/dbus/roundtrip 2194s # slow test /gmenu/dbus/roundtrip executed in 1.02 secs 2194s ok 10 /gmenu/dbus/subscriptions 2195s ok 11 /gmenu/dbus/threaded 2195s # slow test /gmenu/dbus/threaded executed in 1.32 secs 2195s # Start of peer tests 2196s # Executing: glib/gmenumodel.test 2196s ok 12 /gmenu/dbus/peer/roundtrip 2196s # slow test /gmenu/dbus/peer/roundtrip executed in 1.01 secs 2197s ok 13 /gmenu/dbus/peer/subscriptions 2197s # End of peer tests 2197s # Start of export tests 2197s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 2197s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 2197s ok 14 /gmenu/dbus/export/error-handling 2197s # End of export tests 2197s # End of dbus tests 2197s # Start of attributes tests 2197s ok 15 /gmenu/attributes/iterate 2197s # End of attributes tests 2197s # End of gmenu tests 2197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2197s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2197s ok - glib/gmenumodel.test 2197s # Running test: glib/g-file-info.test 2197s TAP version 14 2197s # random seed: R02S49749a7acb7415ab4bd19fb6117d3686 2197s 1..6 2197s # Start of g-file-info tests 2197s ok 1 /g-file-info/test_g_file_info 2197s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs 2197s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2197s ok 2 /g-file-info/xattrs 2197s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds 2197s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116 2197s ok 3 /g-file-info/set-modified-date-time-precision 2197s # Start of test_g_file_info tests 2197s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works. 2197s ok 4 /g-file-info/test_g_file_info/modification-time 2197s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works. 2197s ok 5 /g-file-info/test_g_file_info/access-time 2197s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works. 2197s ok 6 /g-file-info/test_g_file_info/creation-time 2197s # End of test_g_file_info tests 2197s # End of g-file-info tests 2197s ok - glib/g-file-info.test 2197s # Running test: glib/converter-stream.test 2197s TAP version 14 2197s # random seed: R02Sd0d8decb024a7cde6abe4e537068f5dc 2197s 1..17 2197s # Start of converter tests 2197s ok 1 /converter/basics 2197s # End of converter tests 2197s # Start of converter-input-stream tests 2197s ok 2 /converter-input-stream/expander 2197s ok 3 /converter-input-stream/compressor 2197s # Start of truncation tests 2197s ok 4 /converter-input-stream/truncation/zlib 2197s ok 5 /converter-input-stream/truncation/gzip 2197s ok 6 /converter-input-stream/truncation/raw 2197s # End of truncation tests 2197s # Start of charset tests 2197s ok 7 /converter-input-stream/charset/utf8->latin1 2197s ok 8 /converter-input-stream/charset/latin1->utf8 2197s ok 9 /converter-input-stream/charset/fallbacks 2197s # End of charset tests 2197s # End of converter-input-stream tests 2197s # Start of converter-output-stream tests 2197s # Start of roundtrip tests 2197s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 2197s ok 10 /converter-output-stream/roundtrip/zlib-0 2197s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 2198s ok 11 /converter-output-stream/roundtrip/zlib-9 2198s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 2198s ok 12 /converter-output-stream/roundtrip/gzip-0 2198s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 2198s ok 13 /converter-output-stream/roundtrip/gzip-9 2198s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 2198s ok 14 /converter-output-stream/roundtrip/raw-0 2198s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945 2198s ok 15 /converter-output-stream/roundtrip/raw-9 2198s # End of roundtrip tests 2198s # End of converter-output-stream tests 2198s # Start of converter-stream tests 2198s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver? 2198s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0xa09aa38 and GSocketClientAsyncConnectData 0xa094d00 2198s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2198s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2198s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0xa09b6e0 for GSocketClientAsyncConnectData 0xa094d00 2198s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2198s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2198s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2198s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2198s ok 16 /converter-stream/pollable 2198s ok 17 /converter-stream/leftover 2198s # End of converter-stream tests 2198s ok - glib/converter-stream.test 2198s # Running test: glib/gvariant.test 2198s TAP version 14 2198s # random seed: R02S2170bce8db6af43e90b8711f1cc44815 2198s 1..68 2198s # Start of gvariant tests 2198s ok 1 /gvariant/type 2198s ok 2 /gvariant/typeinfo 2198s ok 3 /gvariant/string 2198s ok 4 /gvariant/utf8 2198s ok 5 /gvariant/utf8-new-strings 2199s ok 6 /gvariant/containers 2199s ok 7 /gvariant/format-strings 2199s ok 8 /gvariant/invalid-varargs 2199s ok 9 /gvariant/varargs 2199s ok 10 /gvariant/valist 2199s ok 11 /gvariant/builder-memory 2199s ok 12 /gvariant/hashing 2199s ok 13 /gvariant/byteswap 2199s ok 14 /gvariant/parser 2199s ok 15 /gvariant/parse-failures 2199s ok 16 /gvariant/parse-positional 2199s ok 17 /gvariant/floating 2199s ok 18 /gvariant/bytestring 2199s ok 19 /gvariant/lookup-value 2199s ok 20 /gvariant/lookup 2199s ok 21 /gvariant/compare 2199s ok 22 /gvariant/equal 2199s ok 23 /gvariant/fixed-array 2199s ok 24 /gvariant/check-format-string 2199s ok 25 /gvariant/checksum-basic 2199s ok 26 /gvariant/checksum-nested 2199s ok 27 /gvariant/gbytes 2199s ok 28 /gvariant/print-context 2199s ok 29 /gvariant/error-quark 2199s ok 30 /gvariant/stack-builder-init 2199s ok 31 /gvariant/stack-builder-init-static 2199s ok 32 /gvariant/stack-builder-init-unset 2199s ok 33 /gvariant/stack-dict-init 2199s ok 34 /gvariant/unaligned-construction 2199s # Start of type tests 2199s # Start of string-scan tests 2199s # Start of recursion tests 2199s ok 35 /gvariant/type/string-scan/recursion/tuple 2199s ok 36 /gvariant/type/string-scan/recursion/array 2199s # End of recursion tests 2199s # End of string-scan tests 2199s # End of type tests 2199s # Start of serialiser tests 2199s ok 37 /gvariant/serialiser/maybe 2199s ok 38 /gvariant/serialiser/array 2199s ok 39 /gvariant/serialiser/tuple 2199s ok 40 /gvariant/serialiser/variant 2199s ok 41 /gvariant/serialiser/strings 2200s ok 42 /gvariant/serialiser/byteswap 2200s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865 2200s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works 2200s ok 43 /gvariant/serialiser/children 2200s # Start of fuzz tests 2200s ok 44 /gvariant/serialiser/fuzz/1% 2200s # slow test /gvariant/serialiser/fuzz/1% executed in 0.62 secs 2201s # Executing: glib/gvariant.test 2202s ok 45 /gvariant/serialiser/fuzz/5% 2202s # slow test /gvariant/serialiser/fuzz/5% executed in 1.04 secs 2202s ok 46 /gvariant/serialiser/fuzz/9% 2206s # Executing: glib/gvariant.test 2207s ok 47 /gvariant/serialiser/fuzz/13% 2207s # slow test /gvariant/serialiser/fuzz/13% executed in 5.03 secs 2207s ok 48 /gvariant/serialiser/fuzz/17% 2207s # End of fuzz tests 2207s # End of serialiser tests 2207s # Start of utf8 tests 2207s # Start of subprocess tests 2207s # End of subprocess tests 2207s # End of utf8 tests 2207s # Start of varargs tests 2207s # Start of subprocess tests 2207s # End of subprocess tests 2207s # End of varargs tests 2207s # Start of byteswap tests 2207s # /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. 2207s ok 49 /gvariant/byteswap/non-normal-non-aligned 2207s # End of byteswap tests 2207s # Start of parser tests 2207s ok 50 /gvariant/parser/integer-bounds 2207s ok 51 /gvariant/parser/recursion 2207s # Start of recursion tests 2207s ok 52 /gvariant/parser/recursion/typedecls 2207s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants 2207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782 2207s # Text form 0: @mmmu 5 2207s # Text form 1: @mmmas ['hello'] 2207s # Text form 2: @mmmu just just nothing 2207s # Text form 3: @mmmas just just nothing 2207s # Text form 4: @mmmu just nothing 2207s # Text form 5: @mmmas just nothing 2207s # Text form 6: @mmmu nothing 2207s # Text form 7: @mmmas nothing 2207s ok 53 /gvariant/parser/recursion/maybes 2207s # End of recursion tests 2207s # End of parser tests 2207s # Start of parse tests 2207s # Start of subprocess tests 2207s # End of subprocess tests 2207s # End of parse tests 2207s # Start of normal-checking tests 2207s ok 54 /gvariant/normal-checking/tuples 2207s ok 55 /gvariant/normal-checking/array-offsets 2207s ok 56 /gvariant/normal-checking/array-offsets2 2207s ok 57 /gvariant/normal-checking/tuple-offsets 2207s ok 58 /gvariant/normal-checking/tuple-offsets2 2207s ok 59 /gvariant/normal-checking/tuple-offsets3 2207s ok 60 /gvariant/normal-checking/tuple-offsets4 2207s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840 2207s ok 61 /gvariant/normal-checking/tuple-offsets5 2207s ok 62 /gvariant/normal-checking/empty-object-path 2207s # Start of array-offsets tests 2207s ok 63 /gvariant/normal-checking/array-offsets/overlapped 2207s ok 64 /gvariant/normal-checking/array-offsets/minimal-sized 2207s # End of array-offsets tests 2207s # Start of tuple-offsets tests 2207s ok 65 /gvariant/normal-checking/tuple-offsets/minimal-sized 2207s # End of tuple-offsets tests 2207s # End of normal-checking tests 2207s # Start of recursion-limits tests 2207s ok 66 /gvariant/recursion-limits/variant-in-variant 2207s ok 67 /gvariant/recursion-limits/array-in-variant 2207s # End of recursion-limits tests 2207s # End of gvariant tests 2207s # Start of gvarianttype tests 2207s ok 68 /gvarianttype/hash 2207s # End of gvarianttype tests 2207s ok - glib/gvariant.test 2207s # Running test: glib/1bit-mutex.test 2207s TAP version 14 2207s # random seed: R02S3e30fd7218e7696941bad5a06b2b1d07 2207s 1..2 2207s # Start of glib tests 2207s # Start of 1bit-mutex tests 2209s ok 1 /glib/1bit-mutex/int 2209s # slow test /glib/1bit-mutex/int executed in 1.17 secs 2210s ok 2 /glib/1bit-mutex/pointer 2210s # slow test /glib/1bit-mutex/pointer executed in 1.29 secs 2210s # End of 1bit-mutex tests 2210s # End of glib tests 2210s ok - glib/1bit-mutex.test 2210s # Running test: glib/pathbuf.test 2210s TAP version 14 2210s # random seed: R02Sfcbbdeb0355d1e28cab117f3df9f1c93 2210s 1..3 2210s # Start of pathbuf tests 2210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/home 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/cache 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/system-config2 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/config 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/system-data2 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/data 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/state 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_X20G22/pathbuf/init/.dirs/runtime 2210s # Initializing empty path buf 2210s # Initializing with empty path 2210s # Initializing with full path 2210s # Initializing with no path 2210s # Allocating GPathBuf on the heap 2210s ok 1 /pathbuf/init 2210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/home 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/cache 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/system-config2 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/config 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/system-data2 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/data 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/state 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_X20G22/pathbuf/push-pop/.dirs/runtime 2210s # Pushing relative path component 2210s # Pushing absolute path component 2210s # Popping a path component 2210s # Can't pop the last element of a path buffer 2210s ok 2 /pathbuf/push-pop 2210s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/home 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/cache 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/system-config2 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/config 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/system-data2 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/data 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/state 2210s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_X20G22/pathbuf/filename-extension/.dirs/runtime 2210s ok 3 /pathbuf/filename-extension 2210s # End of pathbuf tests 2210s ok - glib/pathbuf.test 2210s # Running test: glib/gi-compile-repository.py.test 2210s TAP version 13 2210s ok 1 __main__.TestGICompileRepository.test_open_failure 2210s # gir path set to ['/usr/lib/arm-linux-gnueabihf/gir-1.0', '/usr/share/gir-1.0'] 2210s # gi-compile-repository: /usr/bin/gi-compile-repository 2210s # tmpdir: /tmp/tmpfv7pz979 2210s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpfv7pz979/invalid.typelib'] 2210s # Return code: 1 2210s # Output: 2210s # 2210s # Error: 2210s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.gir”: No such file or directory 2210s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile 2210s # gir path set to ['/usr/lib/arm-linux-gnueabihf/gir-1.0', '/usr/share/gir-1.0'] 2210s # gi-compile-repository: /usr/bin/gi-compile-repository 2210s # tmpdir: /tmp/tmpp723p5qf 2210s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpp723p5qf/GLib-2.typelib'] 2210s # Return code: 0 2210s # Output: 2210s # 2210s # Error: 2210s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure 2210s # gi-compile-repository: /usr/bin/gi-compile-repository 2210s # tmpdir: /tmp/tmp8g7vcpi6 2210s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/arm-linux-gnueabihf/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib'] 2210s # Return code: 1 2210s # Output: 2210s # 2210s # Error: 2210s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 2210s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile 2210s # gir path set to ['/usr/lib/arm-linux-gnueabihf/gir-1.0', '/usr/share/gir-1.0'] 2210s # gi-compile-repository: /usr/bin/gi-compile-repository 2210s # tmpdir: /tmp/tmpjdrnk2ry 2210s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpjdrnk2ry/GObject-2.typelib', '--includedir', '/usr/lib/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 2210s # Return code: 0 2210s # Output: 2210s # 2210s # Error: 2210s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure 2210s # gi-compile-repository: /usr/bin/gi-compile-repository 2210s # tmpdir: /tmp/tmpdtvqqk2t 2210s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 2210s # Return code: 1 2210s # Output: 2210s # 2210s # Error: 2210s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 2211s ok 6 __main__.TestGICompileRepositoryForGio.test_compile 2211s # gir path set to ['/usr/lib/arm-linux-gnueabihf/gir-1.0', '/usr/share/gir-1.0'] 2211s # gi-compile-repository: /usr/bin/gi-compile-repository 2211s # tmpdir: /tmp/tmpkc8358b6 2211s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmpkc8358b6/Gio-2.typelib', '--includedir', '/usr/lib/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 2211s # Return code: 0 2211s # Output: 2211s # 2211s # Error: 2211s # Executing: glib/gi-compile-repository.py.test 2211s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure 2211s # gi-compile-repository: /usr/bin/gi-compile-repository 2211s # tmpdir: /tmp/tmpnlaxetcz 2211s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib', '--includedir', '/usr/lib/arm-linux-gnueabihf/gir-1.0', '--includedir', '/usr/share/gir-1.0'] 2211s # Return code: 1 2211s # Output: 2211s # 2211s # Error: 2211s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory 2211s 1..7 2211s ok - glib/gi-compile-repository.py.test 2211s # Running test: glib/mapping.test 2211s TAP version 14 2211s # random seed: R02S262c50c4cddf6ab9b3b858b35f11889f 2211s 1..3 2211s # Start of mapping tests 2211s # test_mapping: ok 2211s ok 1 /mapping/flags 2211s ok 2 /mapping/private 2211s # test_child_private: child spawned 2211s # Subtest: /usr/libexec/installed-tests/glib/mapping 2211s # random seed: R02S22f0fafbbfd2e61faeb4ecfdfc10cf94 2211s # test_child_private: received first child signal 2211s # test_child_private: received parent signal 2212s # Child exited with status 0 2212s # test_child_private: received second child signal 2212s ok 3 /mapping/private-child 2212s # End of mapping tests 2212s ok - glib/mapping.test 2212s # Running test: glib/collate.test 2212s TAP version 14 2212s # random seed: R02S4ecc122c486c1daba568f5c8e672e6fe 2212s 1..9 2212s # Start of unicode tests 2212s # Start of collate tests 2212s ok 1 /unicode/collate/0 2212s ok 2 /unicode/collate/1 2212s ok 3 /unicode/collate/2 2212s # End of collate tests 2212s # Start of collate-key tests 2212s ok 4 /unicode/collate-key/0 2212s ok 5 /unicode/collate-key/1 2212s ok 6 /unicode/collate-key/2 2212s # End of collate-key tests 2212s # Start of collate-filename tests 2212s ok 7 /unicode/collate-filename/0 2212s ok 8 /unicode/collate-filename/1 2212s ok 9 /unicode/collate-filename/2 2212s # End of collate-filename tests 2212s # End of unicode tests 2212s ok - glib/collate.test 2212s # Running test: glib/private.test 2212s TAP version 14 2212s # random seed: R02Sd05ddeeb02480347df6aa23d26ab5f14 2212s 1..8 2212s # Start of thread tests 2212s ok 1 /thread/private1 2213s ok 2 /thread/private2 2213s # slow test /thread/private2 executed in 1.10 secs 2213s ok 3 /thread/private3 2213s ok 4 /thread/staticprivate1 2213s ok 5 /thread/staticprivate2 2213s ok 6 /thread/staticprivate3 2214s ok 7 /thread/staticprivate4 2214s # slow test /thread/staticprivate4 executed in 1.10 secs 2214s ok 8 /thread/staticprivate5 2214s # End of thread tests 2214s ok - glib/private.test 2214s # Running test: glib/gdbus-message.test 2214s TAP version 14 2214s # random seed: R02S3fdf6a11c396100bf10288fbfcf5b4ac 2214s 1..3 2214s # Start of gdbus tests 2214s # Start of message tests 2214s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/home 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/cache 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/system-config2 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/config 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/system-data2 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/data 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/state 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_NFIF22/gdbus/message/lock/.dirs/runtime 2214s ok 1 /gdbus/message/lock 2214s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/home 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/cache 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/system-config2 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/config 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/system-data2 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/data 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/state 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_NFIF22/gdbus/message/copy/.dirs/runtime 2214s ok 2 /gdbus/message/copy 2214s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/home 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/cache 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/system-config2 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/config 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/system-data2 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/data 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/state 2214s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_NFIF22/gdbus/message/bytes-needed/.dirs/runtime 2214s # Vector: 0 2214s # Vector: 1 2214s # Vector: 2 2214s # Vector: 3 2214s # Vector: 4 2214s # Vector: 5 2214s ok 3 /gdbus/message/bytes-needed 2214s # End of message tests 2214s # End of gdbus tests 2214s ok - glib/gdbus-message.test 2214s # Running test: glib/string.test 2214s TAP version 14 2214s # random seed: R02S775e782a74a88a291ad85ed7f9746b94 2214s 1..23 2214s # Start of string tests 2214s ok 1 /string/test-string-chunks 2214s ok 2 /string/test-string-chunk-insert 2214s ok 3 /string/test-string-new 2214s ok 4 /string/test-string-printf 2214s ok 5 /string/test-string-assign 2214s ok 6 /string/test-string-append-c 2214s ok 7 /string/test-string-append 2214s ok 8 /string/test-string-append-vprintf 2214s ok 9 /string/test-string-prepend-c 2214s ok 10 /string/test-string-prepend 2214s ok 11 /string/test-string-insert 2214s ok 12 /string/test-string-insert-unichar 2214s ok 13 /string/test-string-equal 2214s ok 14 /string/test-string-truncate 2214s ok 15 /string/test-string-overwrite 2214s ok 16 /string/test-string-nul-handling 2214s ok 17 /string/test-string-up-down 2214s ok 18 /string/test-string-set-size 2214s ok 19 /string/test-string-to-bytes 2214s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz" 2214s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz" 2214s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz" 2214s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz" 2214s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz" 2214s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz" 2214s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa" 2214s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl" 2214s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so" 2214s # -> 1 replacements, "/usr/lib32/libMangoHud.so" 2214s # 5: Replacing "o" with "" (limit 0) in "food for foals" 2214s # -> 4 replacements, "fd fr fals" 2214s # 6: Replacing "a" with "aaa" (limit 0) in "aaa" 2214s # -> 3 replacements, "aaaaaaaaa" 2214s # 7: Replacing "a" with "" (limit 0) in "aaa" 2214s # -> 3 replacements, "" 2214s # 8: Replacing "aa" with "bb" (limit 0) in "aaa" 2214s # -> 1 replacements, "bba" 2214s # 9: Replacing "" with "bar" (limit 0) in "foo" 2214s # -> 4 replacements, "barfbarobarobar" 2214s # 10: Replacing "" with "bar" (limit 1) in "foo" 2214s # -> 1 replacements, "barfoo" 2214s # 11: Replacing "" with "bar" (limit 2) in "foo" 2214s # -> 2 replacements, "barfbaroo" 2214s # 12: Replacing "" with "bar" (limit 3) in "foo" 2214s # -> 3 replacements, "barfbarobaro" 2214s # 13: Replacing "" with "bar" (limit 4) in "foo" 2214s # -> 4 replacements, "barfbarobarobar" 2214s # 14: Replacing "" with "bar" (limit 5) in "foo" 2214s # -> 4 replacements, "barfbarobarobar" 2214s # 15: Replacing "" with "x" (limit 0) in "" 2214s # -> 1 replacements, "x" 2214s # 16: Replacing "" with "" (limit 0) in "" 2214s # -> 1 replacements, "" 2214s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb" 2214s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa" 2214s ok 20 /string/test-string-replace 2214s ok 21 /string/test-string-steal 2214s ok 22 /string/test-string-new-take 2214s # Start of test-string-new-take tests 2214s ok 23 /string/test-string-new-take/null 2214s # End of test-string-new-take tests 2214s # End of string tests 2214s ok - glib/string.test 2214s # Running test: glib/signals-refcount3.test 2214s TAP version 14 2214s # random seed: R02S532b1649c3182e2cfb46312f8e9d5d33 2214s 1..1 2214s # Start of gobject tests 2214s # Start of refcount tests 2214s # init 0x5d30a58 2214s # 2214s # init 0x5d30bb0 2214s # 2216s # Executing: glib/signals-refcount3.test 2219s # dispose 0x5d30a58! 2219s # 2219s # dispose 0x5d30bb0! 2219s # 2219s ok 1 /gobject/refcount/signals 2219s # slow test /gobject/refcount/signals executed in 5.00 secs 2219s # End of refcount tests 2219s # End of gobject tests 2219s ok - glib/signals-refcount3.test 2219s # Running test: glib/gi-inspect-typelib.py.test 2219s TAP version 13 2219s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmp0fj06j39 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--help'] 2219s # Return code: 0 2219s # Output: 2219s # Usage: 2219s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib 2219s # 2219s # Help Options: 2219s # -h, --help Show help options 2219s # 2219s # Application Options: 2219s # --typelib-version=VERSION Typelib version to inspect 2219s # --print-shlibs List the shared libraries the typelib requires 2219s # --print-typelibs List other typelibs the inspected typelib requires 2219s # Error: 2219s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmp4zl60ykv 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace'] 2219s # Return code: 1 2219s # Output: 2219s # 2219s # Error: 2219s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found 2219s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmpcsadefi7 2219s # Running: ['/usr/bin/gi-inspect-typelib'] 2219s # Return code: 1 2219s # Output: 2219s # 2219s # Error: 2219s # Please specify exactly one namespace 2219s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmp1ikmqczr 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 2219s # Return code: 0 2219s # Output: 2219s # shlib: libgobject-2.0.so.0 2219s # shlib: libglib-2.0.so.0 2219s # Error: 2219s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmpt7ibq81y 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0'] 2219s # Return code: 0 2219s # Output: 2219s # 2219s # Error: 2219s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmp5_4ghtgr 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0'] 2219s # Return code: 0 2219s # Output: 2219s # shlib: libgobject-2.0.so.0 2219s # shlib: libglib-2.0.so.0 2219s # Error: 2219s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmp7ltgdork 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 2219s # Return code: 0 2219s # Output: 2219s # shlib: libgobject-2.0.so.0 2219s # Error: 2219s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmpixsh4mu3 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0'] 2219s # Return code: 0 2219s # Output: 2219s # typelib: GLib-2.0 2219s # Error: 2219s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmpf4fdmibs 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0'] 2219s # Return code: 0 2219s # Output: 2219s # shlib: libgobject-2.0.so.0 2219s # typelib: GLib-2.0 2219s # Error: 2219s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmphqlhenf0 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 2219s # Return code: 0 2219s # Output: 2219s # shlib: libgio-2.0.so.0 2219s # Error: 2219s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmpbybga_fu 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0'] 2219s # Return code: 0 2219s # Output: 2219s # typelib: GObject-2.0 2219s # typelib: GLib-2.0 2219s # typelib: GModule-2.0 2219s # Error: 2219s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs 2219s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib 2219s # tmpdir: /tmp/tmpwb_ozdt7 2219s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0'] 2219s # Return code: 0 2219s # Output: 2219s # shlib: libgio-2.0.so.0 2219s # typelib: GObject-2.0 2219s # typelib: GLib-2.0 2219s # typelib: GModule-2.0 2219s # Error: 2219s 1..12 2219s ok - glib/gi-inspect-typelib.py.test 2219s # Running test: glib/sleepy-stream.test 2219s TAP version 14 2219s # random seed: R02S1b8d687a6a0beed769cdca28b70ef674 2219s 1..2 2219s # Start of filter-stream tests 2219s ok 1 /filter-stream/input 2219s ok 2 /filter-stream/async 2219s # End of filter-stream tests 2219s ok - glib/sleepy-stream.test 2219s # Running test: glib/timer.test 2219s TAP version 14 2219s # random seed: R02S0eb59b05a071bc595bf00f200d969ad2 2219s 1..10 2219s # Start of timer tests 2219s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820) 2219s ok 2 /timer/stop 2219s ok 3 /timer/continue 2219s ok 4 /timer/reset 2219s ok 5 /timer/is_active 2219s # End of timer tests 2219s # Start of timeval tests 2219s ok 6 /timeval/add 2219s ok 7 /timeval/from-iso8601 2219s ok 8 /timeval/to-iso8601 2219s # Start of to-iso8601 tests 2219s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 2219s # End of to-iso8601 tests 2219s # End of timeval tests 2219s # Start of usleep tests 2219s ok 10 /usleep/with-zero-wait 2219s # End of usleep tests 2219s ok - glib/timer.test 2219s # Running test: glib/cxx-20.test 2219s TAP version 14 2219s # random seed: R02Sf1b2def1ac08010763b556ba7294a78e 2219s 1..2 2219s # Start of gtask tests 2219s # 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. 2219s ok 1 /gtask/name 2219s # Start of name tests 2219s # 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. 2219s ok 2 /gtask/name/macro-wrapper 2219s # End of name tests 2219s # End of gtask tests 2219s ok - glib/cxx-20.test 2219s # Running test: glib/protocol.test 2219s TAP version 14 2219s # random seed: R02S7fcd8786bdac23fe698f73bd04d3af8f 2219s 1..9 2219s # Start of glib tests 2219s # Start of testing tests 2219s # Start of protocol tests 2219s ok 1 /glib/testing/protocol/debug 2219s ok 2 /glib/testing/protocol/info 2219s ok 3 /glib/testing/protocol/message 2219s ok 4 /glib/testing/protocol/warning 2219s ok 5 /glib/testing/protocol/critical 2219s ok 6 /glib/testing/protocol/error 2219s ok 7 /glib/testing/protocol/gtest-message 2219s ok 8 /glib/testing/protocol/test-message 2219s ok 9 /glib/testing/protocol/test-error 2219s # End of protocol tests 2219s # End of testing tests 2219s # End of glib tests 2219s ok - glib/protocol.test 2219s # Running test: glib/gdbus-subscribe.test 2219s TAP version 14 2219s # random seed: R02Sfb399ed61aa219a024d9940a113a1148 2219s 1..24 2219s # Start of gdbus tests 2219s # Start of subscribe tests 2219s # Start of conn tests 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/simple/.dirs/runtime 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it 2219s # Step 0: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 1: adding subscription 2219s # Sender: (any) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 2: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 2 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 1 /gdbus/subscribe/conn/simple 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 2219s # Step 0: adding subscription 2219s # Sender: (any) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: service 2 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 3: emitting signal 2219s # Sender: service 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 4: emitting signal 2219s # Sender: service 2 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 1 2219s # Signal received from service 2 :1.2 2219s # Signal received from service 2 :1.2 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 2 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 3 2219s # Signal received from service 2 :1.2 2219s # Signal received from service 2 :1.2 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/match_twice/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription 2219s # Step 0: adding subscription 2219s # Sender: service :1.1 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 1: adding subscription 2219s # Sender: (any) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: (any) 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 2: adding subscription 2219s # Sender: (any) 2219s # Path: (any) 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 3: adding subscription 2219s # Sender: service :1.1 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 4: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 3 /gdbus/subscribe/conn/match_twice 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 2219s # Step 0: adding subscription 2219s # Sender: service :1.1 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 3: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 3 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 4 /gdbus/subscribe/conn/limit_by_unique_name 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 2219s # Step 0: adding subscription 2219s # Sender: :0.this.had.better.not.exist 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/conn/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 2219s # Step 0: claiming bus name 2219s # Name: org.gtk.Test.AlreadyOwned 2219s # Owner: service 2219s # Step 1: adding subscription 2219s # Sender: org.gtk.Test.AlreadyOwned 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 2: adding subscription 2219s # Sender: org.gtk.Test.OwnedLater 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 3: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 4: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 5: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 6: claiming bus name 2219s # Name: org.gtk.Test.OwnedLater 2219s # Owner: service 2219s # Step 7: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 5 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 7 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 7 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 2219s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 2219s # Step 0: adding subscription 2219s # Sender: org.freedesktop.DBus 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # String argument 0: would I lie to you? 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # Waiting for signal to reach message bus 2219s # Step 3: claiming bus name 2219s # Name: org.gtk.Test.OwnedLater 2219s # Owner: service 2219s # Signal received from message bus org.freedesktop.DBus 2219s # Signal received from (unused) org.freedesktop.DBus via connection 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 2219s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 7 /gdbus/subscribe/conn/limit_to_message_bus 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 2219s # Step 0: claiming bus name 2219s # Name: org.gtk.Test.AlreadyOwned 2219s # Owner: service 2219s # Step 1: adding subscription 2219s # Sender: org.gtk.Test.AlreadyOwned 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Immediately unsubscribing 2219s # Waiting for AddMatch to be processed 2219s # Step 2: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately 2219s # End of conn tests 2219s # Start of proxy tests 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/simple/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it 2219s # Step 0: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 1: adding subscription 2219s # Sender: (any) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Cannot subscribe via proxy: no bus name 2219s # Waiting for AddMatch to be processed 2219s # Step 2: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 9 /gdbus/subscribe/proxy/simple 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 2219s # Step 0: adding subscription 2219s # Sender: (any) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Cannot subscribe via proxy: no bus name 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: service 2 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 3: emitting signal 2219s # Sender: service 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 4: emitting signal 2219s # Sender: service 2 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/match_twice/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription 2219s # Step 0: adding subscription 2219s # Sender: service :1.1 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 1: adding subscription 2219s # Sender: (any) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: (any) 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Cannot subscribe via proxy: no bus name 2219s # Waiting for AddMatch to be processed 2219s # Step 2: adding subscription 2219s # Sender: (any) 2219s # Path: (any) 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Cannot subscribe via proxy: no bus name 2219s # Waiting for AddMatch to be processed 2219s # Step 3: adding subscription 2219s # Sender: service :1.1 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 4: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 11 /gdbus/subscribe/proxy/match_twice 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 2219s # Step 0: adding subscription 2219s # Sender: service :1.1 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 3: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 3 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 2219s # Step 0: adding subscription 2219s # Sender: :0.this.had.better.not.exist 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/proxy/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 2219s # Step 0: claiming bus name 2219s # Name: org.gtk.Test.AlreadyOwned 2219s # Owner: service 2219s # Step 1: adding subscription 2219s # Sender: org.gtk.Test.AlreadyOwned 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 2: adding subscription 2219s # Sender: org.gtk.Test.OwnedLater 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 3: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 4: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 5: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 6: claiming bus name 2219s # Name: org.gtk.Test.OwnedLater 2219s # Owner: service 2219s # Step 7: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 5 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 7 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 7 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 2219s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 2219s # Step 0: adding subscription 2219s # Sender: org.freedesktop.DBus 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # String argument 0: would I lie to you? 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # Waiting for signal to reach message bus 2219s # Step 3: claiming bus name 2219s # Name: org.gtk.Test.OwnedLater 2219s # Owner: service 2219s # Signal received from message bus org.freedesktop.DBus 2219s # Signal received from (unused) org.freedesktop.DBus via proxy 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 2219s # Step 0: claiming bus name 2219s # Name: org.gtk.Test.AlreadyOwned 2219s # Owner: service 2219s # Step 1: adding subscription 2219s # Sender: org.gtk.Test.AlreadyOwned 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 2: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 2 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately 2219s # End of proxy tests 2219s # Start of parallel tests 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/simple/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it 2219s # Step 0: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 1: adding subscription 2219s # Sender: (any) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Cannot subscribe via proxy: no bus name 2219s # Waiting for AddMatch to be processed 2219s # Step 2: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 2 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 0 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 0 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 17 /gdbus/subscribe/parallel/simple 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast 2219s # Step 0: adding subscription 2219s # Sender: (any) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Cannot subscribe via proxy: no bus name 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: service 2 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 3: emitting signal 2219s # Sender: service 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 4: emitting signal 2219s # Sender: service 2 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 1 2219s # Signal received from service 2 :1.2 2219s # Signal received from service 2 :1.2 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 2 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 3 2219s # Signal received from service 2 :1.2 2219s # Signal received from service 2 :1.2 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 4 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/match_twice/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription 2219s # Step 0: adding subscription 2219s # Sender: service :1.1 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 1: adding subscription 2219s # Sender: (any) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: (any) 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Cannot subscribe via proxy: no bus name 2219s # Waiting for AddMatch to be processed 2219s # Step 2: adding subscription 2219s # Sender: (any) 2219s # Path: (any) 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Cannot subscribe via proxy: no bus name 2219s # Waiting for AddMatch to be processed 2219s # Step 3: adding subscription 2219s # Sender: service :1.1 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 4: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 4 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 4 was received 4 times by GDBusConnection, expected 4 2219s # Signal from step 4 was received 2 times by GDBusProxy, expected 2 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 19 /gdbus/subscribe/parallel/match_twice 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name 2219s # Step 0: adding subscription 2219s # Sender: service :1.1 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 3: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 3 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 3 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 3 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 3 was received 1 times by GDBusProxy, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages 2219s # Step 0: adding subscription 2219s # Sender: :0.this.had.better.not.exist 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/parallel/limit_by_well_known_name summary: A subscription via a well-known name only accepts messages sent by the owner of that well-known name 2219s # Step 0: claiming bus name 2219s # Name: org.gtk.Test.AlreadyOwned 2219s # Owner: service 2219s # Step 1: adding subscription 2219s # Sender: org.gtk.Test.AlreadyOwned 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 2: adding subscription 2219s # Sender: org.gtk.Test.OwnedLater 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 3: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 4: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 5: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Step 6: claiming bus name 2219s # Name: org.gtk.Test.OwnedLater 2219s # Owner: service 2219s # Step 7: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 5 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 5 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 7 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 7 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via connection 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 7 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 7 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 2219s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 3 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 3 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 4 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 4 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 5 was received 1 times by GDBusConnection, expected 1 2219s # Signal from step 5 was received 1 times by GDBusProxy, expected 1 2219s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0 2219s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 7 was received 2 times by GDBusConnection, expected 2 2219s # Signal from step 7 was received 2 times by GDBusProxy, expected 2 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus 2219s # Step 0: adding subscription 2219s # Sender: org.freedesktop.DBus 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 1: emitting signal 2219s # Sender: attacker 2219s # Destination: (broadcast) 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # String argument 0: would I lie to you? 2219s # Waiting for signal to reach message bus 2219s # Step 2: emitting signal 2219s # Sender: attacker 2219s # Destination: subscriber :1.0 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # Waiting for signal to reach message bus 2219s # Step 3: claiming bus name 2219s # Name: org.gtk.Test.OwnedLater 2219s # Owner: service 2219s # Signal received from message bus org.freedesktop.DBus 2219s # Signal received from (unused) org.freedesktop.DBus via connection 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # Signal received from message bus org.freedesktop.DBus 2219s # Signal received from (unused) org.freedesktop.DBus via proxy 2219s # Path: /org/freedesktop/DBus 2219s # Interface: org.freedesktop.DBus 2219s # Member: NameOwnerChanged 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # Signal from step 1 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 1 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 2 was received 0 times by GDBusProxy, expected 0 2219s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1 2219s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_KT3G22/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2219s # subscriber is :1.0 2219s # service is :1.1 2219s # service 2 is :1.2 2219s # attacker is :1.3 2219s # Waiting for AddMatch to be processed 2219s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash 2219s # Step 0: claiming bus name 2219s # Name: org.gtk.Test.AlreadyOwned 2219s # Owner: service 2219s # Step 1: adding subscription 2219s # Sender: org.gtk.Test.AlreadyOwned 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: (any) 2219s # String argument 0: (any) 2219s # Flags: 0 2219s # Subscribing via connection 2219s # Immediately unsubscribing 2219s # Subscribing via proxy 2219s # Waiting for AddMatch to be processed 2219s # Step 2: emitting signal 2219s # Sender: service 2219s # Destination: (broadcast) 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Waiting for signal to reach message bus 2219s # Signal received from service :1.1 2219s # Signal received from service :1.1 via proxy 2219s # Path: /org/gtk/GDBus/ExampleInterface 2219s # Interface: org.gtk.GDBus.ExampleInterface 2219s # Member: Foo 2219s # Argument 0: (not a string) 2219s # Sent in step: 2 2219s # Received Finished signal from subscriber :1.0 2219s # Received Finished signal from service :1.1 2219s # Received Finished signal from service 2 :1.2 2219s # Received Finished signal from attacker :1.3 2219s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0 2219s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0 2219s # Signal from step 2 was received 0 times by GDBusConnection, expected 0 2219s # Signal from step 2 was received 1 times by GDBusProxy, expected 1 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2219s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately 2219s # End of parallel tests 2219s # End of subscribe tests 2219s # End of gdbus tests 2219s ok - glib/gdbus-subscribe.test 2219s # Running test: glib/refcount.test 2219s TAP version 14 2219s # random seed: R02Sa8de6f1e1aa4e5dcc7b4112eaa8de112 2219s 1..4 2219s # Start of refcount tests 2219s ok 1 /refcount/grefcount 2219s ok 2 /refcount/gatomicrefcount 2219s # Start of grefcount tests 2219s ok 3 /refcount/grefcount/saturation 2219s # End of grefcount tests 2219s # Start of gatomicrefcount tests 2219s ok 4 /refcount/gatomicrefcount/saturation 2219s # End of gatomicrefcount tests 2219s # End of refcount tests 2219s ok - glib/refcount.test 2219s # Running test: glib/file-thumbnail.test 2219s TAP version 14 2219s # random seed: R02Sbfe42d73f1e6a8101465c09586cf3df7 2219s 1..7 2219s # Start of file-thumbnail tests 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/runtime 2219s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 2219s ok 1 /file-thumbnail/fail 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/runtime 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 2219s ok 2 /file-thumbnail/size-priority 2219s # Start of valid tests 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/runtime 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png 2219s ok 3 /file-thumbnail/valid/normal 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/runtime 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png 2219s ok 4 /file-thumbnail/valid/large 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/runtime 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png 2219s ok 5 /file-thumbnail/valid/x-large 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/runtime 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png 2219s ok 6 /file-thumbnail/valid/xx-large 2219s # End of valid tests 2219s # Start of unknown tests 2219s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/home 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/cache 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/system-config2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/config 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/system-data2 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/data 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/state 2219s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/runtime 2219s # Created test thumbnail at /tmp/test_file-thumbnail_7A7Z12/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png 2219s ok 7 /file-thumbnail/unknown/super-large 2219s # End of unknown tests 2219s # End of file-thumbnail tests 2219s ok - glib/file-thumbnail.test 2219s # Running test: glib/cond.test 2219s TAP version 14 2219s # random seed: R02S6b9cb8ee6940431eafab3bb266d51f4a 2219s 1..4 2219s # Start of thread tests 2219s ok 1 /thread/cond1 2219s ok 2 /thread/cond2 2219s # Start of cond tests 2220s ok 3 /thread/cond/wait-until 2220s # slow test /thread/cond/wait-until executed in 1.02 secs 2220s # Start of wait-until tests 2220s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex 2220s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957 2221s # Executing: glib/cond.test 2221s ok 4 /thread/cond/wait-until/contended-and-interrupted 2221s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.10 secs 2221s # End of wait-until tests 2221s # End of cond tests 2221s # End of thread tests 2221s ok - glib/cond.test 2221s # Running test: glib/uri.test 2221s TAP version 14 2221s # random seed: R02Se91b9bad2e43df5de9d4b9cb4bacf820 2221s 1..24 2221s # Start of uri tests 2221s ok 1 /uri/file-to-uri 2221s ok 2 /uri/file-from-uri 2221s ok 3 /uri/file-roundtrip 2221s ok 4 /uri/list 2221s # Test 0: %2Babc %4F 2221s # Test 1: %2Babc %4F 2221s # Test 2: %00abc %4F 2221s # Test 3: /cursors/none.png 2221s # Test 4: /cursors%2fbad-subdir/none.png 2221s # Test 5: %0 2221s # Test 6: %ra 2221s # Test 7: %2r 2221s # Test 8: Timm B?der 2221s # Test 9: (null) 2221s ok 5 /uri/unescape-string 2221s ok 6 /uri/unescape-segment 2221s # Test 0: abcdefgABCDEFG._~ 2221s # Test 1: :+ \\?# 2221s # Test 2: a+b:c 2221s # Test 3: a+b:c\303\234 2221s # Test 4: \374;\322 2221s # Test 5: \303\261\303( 2221s ok 7 /uri/escape-string 2221s ok 8 /uri/escape-bytes 2221s ok 9 /uri/scheme 2221s ok 10 /uri/build 2221s ok 11 /uri/split 2221s ok 12 /uri/is_valid 2221s ok 13 /uri/to-string 2221s ok 14 /uri/join 2221s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip 2221s # Combination 0 2221s # Combination 1 2221s # Combination 2 2221s # Combination 3 2221s # Combination 4 2221s # Combination 5 2221s # Combination 6 2221s # Combination 7 2221s # Combination 8 2221s # Combination 9 2221s # Combination 10 2221s # Combination 11 2221s # Combination 12 2221s # Combination 13 2221s # Combination 14 2221s # Combination 15 2221s # Combination 16 2221s # Combination 17 2221s # Combination 18 2221s # Combination 19 2221s # Combination 20 2221s # Combination 21 2221s # Combination 22 2221s # Combination 23 2221s # Combination 24 2221s # Combination 25 2221s # Combination 26 2221s # Combination 27 2221s # Combination 28 2221s # Combination 29 2221s # Combination 30 2221s # Combination 31 2221s # Combination 32 2221s # Combination 33 2221s # Combination 34 2221s # Combination 35 2221s # Combination 36 2221s # Combination 37 2221s # Combination 38 2221s # Combination 39 2221s # Combination 40 2221s # Combination 41 2221s # Combination 42 2221s # Combination 43 2221s # Combination 44 2221s # Combination 45 2221s # Combination 46 2221s # Combination 47 2221s # Combination 48 2221s # Combination 49 2221s # Combination 50 2221s # Combination 51 2221s # Combination 52 2221s # Combination 53 2221s # Combination 54 2221s # Combination 55 2221s # Combination 56 2221s # Combination 57 2221s # Combination 58 2221s # Combination 59 2221s # Combination 60 2221s # Combination 61 2221s # Combination 62 2221s # Combination 63 2221s # Combination 64 2221s # Combination 65 2221s # Combination 66 2221s # Combination 67 2221s # Combination 68 2221s # Combination 69 2221s # Combination 70 2221s # Combination 71 2221s # Combination 72 2221s # Combination 73 2221s # Combination 74 2221s # Combination 75 2221s # Combination 76 2221s # Combination 77 2221s # Combination 78 2221s # Combination 79 2221s # Combination 80 2221s # Combination 81 2221s # Combination 82 2221s # Combination 83 2221s # Combination 84 2221s # Combination 85 2221s # Combination 86 2221s # Combination 87 2221s # Combination 88 2221s # Combination 89 2221s # Combination 90 2221s # Combination 91 2221s # Combination 92 2221s # Combination 93 2221s # Combination 94 2221s # Combination 95 2221s # Combination 96 2221s # Combination 97 2221s # Combination 98 2221s # Combination 99 2221s # Combination 100 2221s # Combination 101 2221s # Combination 102 2221s # Combination 103 2221s # Combination 104 2221s # Combination 105 2221s # Combination 106 2221s # Combination 107 2221s # Combination 108 2221s # Combination 109 2221s # Combination 110 2221s # Combination 111 2221s # Combination 112 2221s # Combination 113 2221s # Combination 114 2221s # Combination 115 2221s # Combination 116 2221s # Combination 117 2221s # Combination 118 2221s # Combination 119 2221s # Combination 120 2221s # Combination 121 2221s # Combination 122 2221s # Combination 123 2221s # Combination 124 2221s # Combination 125 2221s # Combination 126 2221s # Combination 127 2221s # Combination 128 2221s # Combination 129 2221s # Combination 130 2221s # Combination 131 2221s # Combination 132 2221s # Combination 133 2221s # Combination 134 2221s # Combination 135 2221s # Combination 136 2221s # Combination 137 2221s # Combination 138 2221s # Combination 139 2221s # Combination 140 2221s # Combination 141 2221s # Combination 142 2221s # Combination 143 2221s # Combination 144 2221s # Combination 145 2221s # Combination 146 2221s # Combination 147 2221s # Combination 148 2221s # Combination 149 2221s # Combination 150 2221s # Combination 151 2221s # Combination 152 2221s # Combination 153 2221s # Combination 154 2221s # Combination 155 2221s # Combination 156 2221s # Combination 157 2221s # Combination 158 2221s # Combination 159 2221s # Combination 160 2221s # Combination 161 2221s # Combination 162 2221s # Combination 163 2221s # Combination 164 2221s # Combination 165 2221s # Combination 166 2221s # Combination 167 2221s # Combination 168 2221s # Combination 169 2221s # Combination 170 2221s # Combination 171 2221s # Combination 172 2221s # Combination 173 2221s # Combination 174 2221s # Combination 175 2221s # Combination 176 2221s # Combination 177 2221s # Combination 178 2221s # Combination 179 2221s # Combination 180 2221s # Combination 181 2221s # Combination 182 2221s # Combination 183 2221s # Combination 184 2221s # Combination 185 2221s # Combination 186 2221s # Combination 187 2221s # Combination 188 2221s # Combination 189 2221s # Combination 190 2221s # Combination 191 2221s # Combination 192 2221s # Combination 193 2221s # Combination 194 2221s # Combination 195 2221s # Combination 196 2221s # Combination 197 2221s # Combination 198 2221s # Combination 199 2221s # Combination 200 2221s # Combination 201 2221s # Combination 202 2221s # Combination 203 2221s # Combination 204 2221s # Combination 205 2221s # Combination 206 2221s # Combination 207 2221s # Combination 208 2221s # Combination 209 2221s # Combination 210 2221s # Combination 211 2221s # Combination 212 2221s # Combination 213 2221s # Combination 214 2221s # Combination 215 2221s # Combination 216 2221s # Combination 217 2221s # Combination 218 2221s # Combination 219 2221s # Combination 220 2221s # Combination 221 2221s # Combination 222 2221s # Combination 223 2221s # Combination 224 2221s # Combination 225 2221s # Combination 226 2221s # Combination 227 2221s # Combination 228 2221s # Combination 229 2221s # Combination 230 2221s # Combination 231 2221s # Combination 232 2221s # Combination 233 2221s # Combination 234 2221s # Combination 235 2221s # Combination 236 2221s # Combination 237 2221s # Combination 238 2221s # Combination 239 2221s # Combination 240 2221s # Combination 241 2221s # Combination 242 2221s # Combination 243 2221s # Combination 244 2221s # Combination 245 2221s # Combination 246 2221s # Combination 247 2221s # Combination 248 2221s # Combination 249 2221s # Combination 250 2221s # Combination 251 2221s # Combination 252 2221s # Combination 253 2221s # Combination 254 2221s # Combination 255 2221s ok 15 /uri/join-split-round-trip 2221s ok 16 /uri/normalize 2221s # Start of unescape-bytes tests 2221s # Test 0: %00%00 2221s # Test 1: /cursors/none.png 2221s # Test 2: /cursors%2fbad-subdir/none.png 2221s # Test 3: %% 2221s # Test 4: % 2221s ok 17 /uri/unescape-bytes/nul-terminated 2221s # Test 0: %00%00 2221s # Test 1: /cursors/none.png 2221s # Test 2: /cursors%2fbad-subdir/none.png 2221s # Test 3: %% 2221s # Test 4: % 2221s ok 18 /uri/unescape-bytes/length 2221s # End of unescape-bytes tests 2221s # Start of parsing tests 2221s # Test 0: foo: 2221s # Test 1: file:/dev/null 2221s # Test 2: file:///dev/null 2221s # Test 3: ftp://user@host/path 2221s # Test 4: ftp://user@host:9999/path 2221s # Test 5: ftp://user:password@host/path 2221s # Test 6: ftp://user:password@host:9999/path 2221s # Test 7: ftp://user:password@host 2221s # Test 8: http://us%65r@host 2221s # Test 9: http://us%40r@host 2221s # Test 10: http://us%3ar@host 2221s # Test 11: http://us%2fr@host 2221s # Test 12: http://us%3fr@host 2221s # Test 13: http://host?query 2221s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value 2221s # 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 2221s # Test 16: http://space/%20 2221s # Test 17: http://delims/%3C%3E%23%25%22 2221s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60 2221s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html 2221s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html 2221s # Test 21: http://[3ffe:2a00:100:7031::1] 2221s # Test 22: http://[1080::8:800:200C:417A]/foo 2221s # Test 23: http://[::192.9.5.5]/ipng 2221s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html 2221s # Test 25: http://[2010:836B:4179::836B:4179] 2221s # Test 26: http://host/path with spaces 2221s # Test 27: http://host/path 2221s # Test 28: http://host/path 2221s # Test 29: http://host 2221s # Test 30: http://host:999 2221s # Test 31: http://host/pa 2221s # th 2221s # Test 32: http: 2221s # //host/path 2221s # Test 33: http:// host/path 2221s # Test 34: http://host/path? 2221s # Test 35: http://host/path# 2221s # Test 36: http://host/path% 2221s # Test 37: http://h%ost/path 2221s # Test 38: http://host/path%% 2221s # Test 39: http://host/path%%% 2221s # Test 40: http://host/path%/x/ 2221s # Test 41: http://host/path%0x/ 2221s # Test 42: http://host/path%ax 2221s # Test 43: http://host/p?th/ 2221s # Test 44: HTTP://////////////// 2221s # Test 45: http://@host 2221s # Test 46: http://:@host 2221s # Test 47: scheme://foo%3Abar._webdav._tcp.local 2221s # Test 48: http://example.com/.. 2221s # Test 49: foo0://host/path 2221s # Test 50: f0.o://host/path 2221s # Test 51: http++://host/path 2221s # Test 52: http-ish://host/path 2221s # Test 53: http://[fe80::dead:beef%]/ 2221s # Test 54: http://[fe80::dead:beef%em1]/ 2221s # Test 55: http://[fe80::dead:beef%em1]/ 2221s # Test 56: http://[fe80::dead:beef%25em1]/ 2221s # Test 57: http://[fe80::dead:beef%25em1%20]/ 2221s # Test 58: http://[fe80::dead:beef%25em%31]/ 2221s # Test 59: http://[fe80::dead:beef%10]/ 2221s # Test 60: http://[fe80::dead:beef%10]/ 2221s # Test 61: http://[fe80::dead:beef%25]/ 2221s # Test 62: http://[fe80::dead:beef%25]/ 2221s # Test 63: http://[192.168.0.1%25em1]/ 2221s # Test 64: http://[fe80::dead:beef%2em1]/ 2221s # Test 65: http://[fe80::dead:beef%2em1]/ 2221s # Test 66: http://[fe80::dead:beef%25em1%00]/ 2221s # Test 67: http://[fe80::dead:beef%25em1%00]/ 2221s # Test 68: http://xn--mixed-?p/ 2221s # Test 69: data:./// 2221s # Test 70: data:/.// 2221s ok 19 /uri/parsing/absolute 2221s ok 20 /uri/parsing/relative 2221s # End of parsing tests 2221s # Start of iter-params tests 2221s # URI 0: p1=foo&p2=bar;p3=baz 2221s # URI 1: p1=foo&p2=bar 2221s # URI 2: p1=foo&&P1=bar 2221s # URI 3: %00=foo 2221s # URI 4: p1=%00 2221s # URI 5: p1=foo&p1=bar 2221s # URI 6: p1=foo&P1=bar 2221s # URI 7: =% 2221s # URI 8: = 2221s # URI 9: foo 2221s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 2221s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 2221s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 2221s ok 21 /uri/iter-params/nul-terminated 2221s # URI 0: p1=foo&p2=bar;p3=baz 2221s # URI 1: p1=foo&p2=bar 2221s # URI 2: p1=foo&&P1=bar 2221s # URI 3: %00=foo 2221s # URI 4: p1=%00 2221s # URI 5: p1=foo&p1=bar 2221s # URI 6: p1=foo&P1=bar 2221s # URI 7: =% 2221s # URI 8: = 2221s # URI 9: foo 2221s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 2221s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 2221s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 2221s ok 22 /uri/iter-params/length 2221s # End of iter-params tests 2221s # Start of parse-params tests 2221s # URI 0: p1=foo&p2=bar;p3=baz 2221s # URI 1: p1=foo&p2=bar 2221s # URI 2: p1=foo&&P1=bar 2221s # URI 3: %00=foo 2221s # URI 4: p1=%00 2221s # URI 5: p1=foo&p1=bar 2221s # URI 6: p1=foo&P1=bar 2221s # URI 7: =% 2221s # URI 8: = 2221s # URI 9: foo 2221s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 2221s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 2221s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 2221s ok 23 /uri/parse-params/nul-terminated 2221s # URI 0: p1=foo&p2=bar;p3=baz 2221s # URI 1: p1=foo&p2=bar 2221s # URI 2: p1=foo&&P1=bar 2221s # URI 3: %00=foo 2221s # URI 4: p1=%00 2221s # URI 5: p1=foo&p1=bar 2221s # URI 6: p1=foo&P1=bar 2221s # URI 7: =% 2221s # URI 8: = 2221s # URI 9: foo 2221s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 2221s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver 2221s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb 2221s ok 24 /uri/parse-params/length 2221s # End of parse-params tests 2221s # End of uri tests 2221s ok - glib/uri.test 2221s # Running test: glib/signals-refcount1.test 2221s TAP version 14 2221s # random seed: R02S94b4f00bd2b8384c3508e5dde1a7f829 2221s 1..1 2221s # Start of gobject tests 2221s # Start of refcount tests 2221s # init 0xa719a58 2221s # 2221s # init 0xa719bb0 2221s # 2226s # Executing: glib/signals-refcount1.test 2226s # dispose 0xa719a58! 2226s # 2226s # dispose 0xa719bb0! 2226s # 2226s ok 1 /gobject/refcount/signals 2226s # slow test /gobject/refcount/signals executed in 5.00 secs 2226s # End of refcount tests 2226s # End of gobject tests 2226s ok - glib/signals-refcount1.test 2226s # Running test: glib/module-test-library.test 2226s TAP version 14 2226s # random seed: R02S22727f706bc58b114a75372c27f32ef4 2226s 1..3 2226s # Start of module tests 2226s ok 1 /module/basics 2226s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails 2226s ok 2 /module/invalid-libtool-archive 2226s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally 2226s ok 3 /module/local-binding 2226s # End of module tests 2226s ok - glib/module-test-library.test 2226s # Running test: glib/proxy-test.test 2226s TAP version 14 2226s # random seed: R02S1c8badab488dd6bddecece2eb471b56b 2226s 1..11 2226s # Start of proxy tests 2226s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver? 2226s ok 1 /proxy/direct_sync 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0d598 and GSocketClientAsyncConnectData 0x8d0af40 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0de10 for GSocketClientAsyncConnectData 0x8d0af40 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2226s ok 2 /proxy/direct_async 2226s ok 3 /proxy/single_sync 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0e8a0 and GSocketClientAsyncConnectData 0x8d0d5d8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0f060 for GSocketClientAsyncConnectData 0x8d0d5d8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2226s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2226s ok 4 /proxy/single_async 2226s ok 5 /proxy/multiple_sync 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0e910 and GSocketClientAsyncConnectData 0x8d0eca0 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0f0d8 for GSocketClientAsyncConnectData 0x8d0eca0 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0da80 for GSocketClientAsyncConnectData 0x8d0eca0 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2226s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2226s ok 6 /proxy/multiple_async 2226s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 2226s ok 7 /proxy/invalid-uris-sync 2226s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0eaf8 and GSocketClientAsyncConnectData 0x8d08fb0 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 2226s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0e910 and GSocketClientAsyncConnectData 0x8d08fb0 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure 2226s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0e910 and GSocketClientAsyncConnectData 0x8d08fb0 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0de40 for GSocketClientAsyncConnectData 0x8d08fb0 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0ea60 and GSocketClientAsyncConnectData 0x8d0d5d8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0f388 for GSocketClientAsyncConnectData 0x8d0d5d8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2226s ok 8 /proxy/invalid-uris-async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0ef30 and GSocketClientAsyncConnectData 0x8d0efb0 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: IPv6 DNS error: Not found 2226s # GLib-GIO-DEBUG: IPv4 DNS error: Not found 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found 2226s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0ea60 and GSocketClientAsyncConnectData 0x8d0d5d8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0f468 for GSocketClientAsyncConnectData 0x8d0d5d8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 2226s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0de48 and GSocketClientAsyncConnectData 0x8d0f548 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0e198 for GSocketClientAsyncConnectData 0x8d0f548 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2226s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2226s ok 9 /proxy/dns 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0de48 and GSocketClientAsyncConnectData 0x8d0d5d8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0eff0 for GSocketClientAsyncConnectData 0x8d0d5d8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 2226s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0ea60 and GSocketClientAsyncConnectData 0x8d0e1a8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0f328 for GSocketClientAsyncConnectData 0x8d0e1a8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2226s # GLib-GIO-DEBUG: GSocketClient: Connection successful! 2226s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async 2226s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x8d0ea60 and GSocketClientAsyncConnectData 0x8d0eca8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded 2226s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x8d0e918 for GSocketClientAsyncConnectData 0x8d0eca8 2226s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt 2226s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful 2226s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection 2226s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses) 2226s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null) 2226s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol 2226s ok 10 /proxy/override 2226s ok 11 /proxy/enumerator-ports 2226s # End of proxy tests 2226s ok - glib/proxy-test.test 2226s # Running test: glib/atomic-c-99.test 2226s TAP version 14 2226s # random seed: R02Se518f98d9aa7fc4dbdf26dc81bf2cf15 2226s 1..2 2226s # Start of atomic tests 2226s ok 1 /atomic/types 2226s ok 2 /atomic/threaded 2226s # End of atomic tests 2226s ok - glib/atomic-c-99.test 2226s # Running test: glib/thread-pool.test 2226s TAP version 14 2226s # random seed: R02S9a6151e1bbd98f6fa4ba7323ad08fd22 2226s 1..5 2226s # Start of thread_pool tests 2226s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works. 2226s ok 1 /thread_pool/shared 2226s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works. 2226s ok 2 /thread_pool/exclusive 2226s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 2226s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works. 2226s ok 3 /thread_pool/create_shared_after_exclusive 2226s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121 2226s ok 4 /thread_pool/create_full 2226s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012 2226s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works. 2226s ok 5 /thread_pool/create_exclusive_after_shared 2226s # End of thread_pool tests 2226s ok - glib/thread-pool.test 2226s # Running test: glib/dbus-appinfo.test 2226s TAP version 14 2226s # random seed: R02S1b0f45792540cdb7997762b54d84a1ed 2226s 1..7 2226s # Start of appinfo tests 2226s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/home 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/cache 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/system-config2 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/config 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/system-data2 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/data 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/state 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/runtime 2226s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2226s ok 1 /appinfo/dbusappinfo 2226s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/home 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/cache 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/system-config2 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/config 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/system-data2 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/data 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/state 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/runtime 2226s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 2226s # Acquired a message bus connection 2226s # Acquired the name org.freedesktop.portal.Documents 2226s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_0F7912/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/config 2226s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop' 2226s # fake-document-portal cancelled 2226s ok 2 /appinfo/flatpak-doc-export 2226s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/home 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/cache 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/system-config2 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/config 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/system-data2 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/data 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/state 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/runtime 2226s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal. 2226s # Acquired a message bus connection 2226s # Acquired the name org.freedesktop.portal.Documents 2226s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/config 2226s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop' 2226s # fake-document-portal cancelled 2226s ok 3 /appinfo/flatpak-missing-doc-export 2226s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/home 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/cache 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/system-config2 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/config 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/system-data2 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/data 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/state 2226s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/runtime 2226s # Acquired a message bus connection 2227s # Acquired the name org.freedesktop.portal.Desktop 2227s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_0F7912/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/config 2227s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 2227s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t 2227s # Response emitted 2227s # fake-desktop-portal cancelled 2227s ok 4 /appinfo/portal-open-file 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/runtime 2227s # Acquired a message bus connection 2227s # Acquired the name org.freedesktop.portal.Desktop 2227s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/config 2227s # Got open file request for http://example.com 2227s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t 2227s # Response emitted 2227s # fake-desktop-portal cancelled 2227s ok 5 /appinfo/portal-open-uri 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/runtime 2227s # Acquired a message bus connection 2227s # Acquired the name org.freedesktop.portal.Desktop 2227s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/config 2227s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop 2227s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio2006133062 2227s # Response emitted 2227s # fake-desktop-portal cancelled 2227s ok 6 /appinfo/portal-open-file-async 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/runtime 2227s # Acquired a message bus connection 2227s # Acquired the name org.freedesktop.portal.Desktop 2227s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_0F7912/appinfo/portal-open-uri-async/.dirs/config 2227s # Got open file request for http://example.com 2227s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1243925284 2227s # Response emitted 2227s # fake-desktop-portal cancelled 2227s ok 7 /appinfo/portal-open-uri-async 2227s # End of appinfo tests 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s ok - glib/dbus-appinfo.test 2227s # Running test: glib/gobject-query.py.test 2227s TAP version 13 2227s ok 1 __main__.TestGobjectQuery.test_froots 2227s # gobject-query: /usr/bin/gobject-query 2227s # tmpdir: /tmp/tmpt3bdvn_w 2227s # Running: ['/usr/bin/gobject-query', 'froots'] 2227s # Return code: 0 2227s # Output: 2227s # ├void 2227s # ├GInterface 2227s # │ └GTypePlugin 2227s # ├gchar 2227s # ├guchar 2227s # ├gboolean 2227s # ├gint 2227s # ├guint 2227s # ├glong 2227s # ├gulong 2227s # ├gint64 2227s # ├guint64 2227s # ├GEnum 2227s # ├GFlags 2227s # ├gfloat 2227s # ├gdouble 2227s # ├gchararray 2227s # ├gpointer 2227s # │ └GType 2227s # ├GBoxed 2227s # │ └GValueArray 2227s # ├GParam 2227s # │ ├GParamChar 2227s # │ ├GParamUChar 2227s # │ ├GParamBoolean 2227s # │ ├GParamInt 2227s # │ ├GParamUInt 2227s # │ ├GParamLong 2227s # │ ├GParamULong 2227s # │ ├GParamInt64 2227s # │ ├GParamUInt64 2227s # │ ├GParamUnichar 2227s # │ ├GParamEnum 2227s # │ ├GParamFlags 2227s # │ ├GParamFloat 2227s # │ ├GParamDouble 2227s # │ ├GParamString 2227s # │ ├GParamParam 2227s # │ ├GParamBoxed 2227s # │ ├GParamPointer 2227s # │ ├GParamValueArray 2227s # │ ├GParamObject 2227s # │ ├GParamOverride 2227s # │ ├GParamGType 2227s # │ └GParamVariant 2227s # ├GObject 2227s # └GVariant 2227s # Error: 2227s ok 2 __main__.TestGobjectQuery.test_help 2227s # gobject-query: /usr/bin/gobject-query 2227s # tmpdir: /tmp/tmp44r3zzui 2227s # Running: ['/usr/bin/gobject-query', '--help'] 2227s # Return code: 0 2227s # Output: 2227s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}] 2227s # -r specify root type 2227s # -n don't descend type tree 2227s # -h show help 2227s # -b specify indent string 2227s # -i specify incremental indent string 2227s # -s specify line spacing 2227s # qualifiers: 2227s # froots iterate over fundamental roots 2227s # tree print type tree 2227s # Error: 2227s ok 3 __main__.TestGobjectQuery.test_tree 2227s # gobject-query: /usr/bin/gobject-query 2227s # tmpdir: /tmp/tmpn1a19go1 2227s # Running: ['/usr/bin/gobject-query', 'tree'] 2227s # Return code: 0 2227s # Output: 2227s # GObject 2227s # Error: 2227s ok 4 __main__.TestGobjectQuery.test_version 2227s # gobject-query: /usr/bin/gobject-query 2227s # tmpdir: /tmp/tmp7el4myq1 2227s # Running: ['/usr/bin/gobject-query', '--version'] 2227s # Return code: 0 2227s # Output: 2227s # 2.83.4 2227s # Error: 2227s 1..4 2227s ok - glib/gobject-query.py.test 2227s # Running test: glib/value.test 2227s TAP version 14 2227s # random seed: R02Sd352798934f5b4f2350fbebd50d54c63 2227s 1..9 2227s # Start of value tests 2227s ok 1 /value/basic 2227s ok 2 /value/collection 2227s ok 3 /value/copying 2227s ok 4 /value/enum-transformation 2227s ok 5 /value/gtype 2227s # /value/string summary: Test that G_TYPE_STRING GValue copy properly 2227s ok 6 /value/string 2227s # Next: GObject object in GValue of GObject to GValue of GObject 2227s # Next: GObject object in GValue of GObject to GValue of TestInterface 2227s # Next: GObject object in GValue of GObject to GValue of TestObjectA 2227s # Next: GObject object in GValue of GObject to GValue of TestObjectB 2227s # Next: GObject object in GValue of GObject to GValue of TestObjectA1 2227s # Next: GObject object in GValue of GObject to GValue of TestObjectA2 2227s # Next: TestObjectA object in GValue of GObject to GValue of GObject 2227s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface 2227s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA 2227s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB 2227s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1 2227s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2 2227s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject 2227s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface 2227s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA 2227s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB 2227s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1 2227s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2 2227s # Next: TestObjectB object in GValue of GObject to GValue of GObject 2227s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface 2227s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA 2227s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB 2227s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1 2227s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2 2227s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject 2227s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface 2227s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA 2227s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB 2227s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1 2227s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2 2227s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject 2227s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface 2227s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA 2227s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB 2227s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1 2227s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2 2227s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject 2227s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface 2227s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA 2227s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB 2227s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1 2227s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2 2227s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject 2227s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface 2227s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA 2227s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB 2227s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1 2227s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2 2227s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject 2227s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface 2227s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA 2227s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB 2227s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1 2227s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2 2227s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject 2227s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface 2227s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA 2227s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB 2227s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1 2227s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2 2227s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject 2227s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface 2227s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA 2227s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB 2227s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1 2227s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2 2227s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject 2227s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface 2227s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA 2227s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB 2227s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1 2227s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2 2227s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject 2227s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface 2227s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA 2227s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB 2227s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1 2227s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2 2227s ok 7 /value/transform-object 2227s # Start of array tests 2227s ok 8 /value/array/basic 2227s ok 9 /value/array/sort-with-data 2227s # End of array tests 2227s # End of value tests 2227s ok - glib/value.test 2227s # Running test: glib/memchunk.test 2227s TAP version 14 2227s # random seed: R02S438d89aa2738b0a622221909725c97d4 2227s 1..1 2227s # Start of memchunk tests 2227s ok 1 /memchunk/basic 2227s # End of memchunk tests 2227s ok - glib/memchunk.test 2227s # Running test: glib/gdbus-test-codegen.test 2227s TAP version 14 2227s # random seed: R02S5154ba6fdd1fcd118544f9be2fb622cd 2227s 1..8 2227s # Start of gdbus tests 2227s # Start of codegen tests 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/annotations/.dirs/runtime 2227s ok 1 /gdbus/codegen/annotations 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/interface_stability/.dirs/runtime 2227s ok 2 /gdbus/codegen/interface_stability 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/object-manager/.dirs/runtime 2227s ok 3 /gdbus/codegen/object-manager 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/property-naming/.dirs/runtime 2227s ok 4 /gdbus/codegen/property-naming 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/autocleanups/.dirs/runtime 2227s ok 5 /gdbus/codegen/autocleanups 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/deprecations/.dirs/runtime 2227s ok 6 /gdbus/codegen/deprecations 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/standalone-interface-info/.dirs/runtime 2227s ok 7 /gdbus/codegen/standalone-interface-info 2227s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/home 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/cache 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/system-config2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/config 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/system-data2 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/data 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/state 2227s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_UG6A22/gdbus/codegen/unix-fd-list/.dirs/runtime 2227s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726 2227s ok 8 /gdbus/codegen/unix-fd-list 2227s # End of codegen tests 2227s # End of gdbus tests 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2227s ok - glib/gdbus-test-codegen.test 2227s # Running test: glib/tree.test 2227s TAP version 14 2227s # random seed: R02Sea010c6acc8347dc3c3f7c47418647c1 2227s 1..7 2227s # Start of tree tests 2227s ok 1 /tree/search 2227s ok 2 /tree/remove 2227s ok 3 /tree/destroy 2227s ok 4 /tree/traverse 2227s ok 5 /tree/insert 2227s ok 6 /tree/bounds 2227s ok 7 /tree/remove-all 2227s # End of tree tests 2227s ok - glib/tree.test 2227s # Running test: glib/environment.test 2227s TAP version 14 2227s # random seed: R02S73e6576820717077e02c9b8c21db319c 2227s 1..6 2227s # Start of environ tests 2227s # /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. 2227s ok 1 /environ/listenv 2227s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv(). 2227s ok 2 /environ/getenv 2227s ok 3 /environ/setenv 2227s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp). 2227s ok 4 /environ/array 2227s # /environ/null summary: Test getting and setting variables on a NULL envp array. 2227s ok 5 /environ/null 2227s # /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. 2227s ok 6 /environ/case 2227s # End of environ tests 2227s ok - glib/environment.test 2227s # Running test: glib/testing-nonfatal.test 2227s TAP version 14 2227s # random seed: R02S93889f6b61065b0fd422a851430ce5d8 2227s ** 2227s GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 2227s # GLib:ERROR:../../../glib/tests/testing-nonfatal.c:26:main: assertion failed ("We can survive this!" == "Or maybe not?"): ("We can survive this!" == "Or maybe not?") 2227s ok - glib/testing-nonfatal.test 2227s # Running test: glib/refstring.test 2227s TAP version 14 2227s # random seed: R02Sebb099489ebbe481fbfdba8fa3fae97e 2227s 1..8 2227s # Start of refstring tests 2227s # s = 'hello, world' (0x342ff80) 2227s ok 1 /refstring/base 2227s ok 2 /refstring/length 2227s ok 3 /refstring/length-auto 2227s ok 4 /refstring/length-nuls 2227s # s = 'hello, world' (0x3428080) 2227s # p = s = 'hello, world' (0x3428080) 2227s # releasing p[0x3428080] ('hello, world') 2227s # p = 'goodbye, world' (0x34280a8) 2227s # releasing p[0x34280a8] ('goodbye, world') 2227s # releasing s[0x3428080] ('hello, world') 2227s ok 5 /refstring/intern 2227s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable 2227s ok 6 /refstring/hash_equal 2227s # /refstring/equal summary: Test g_ref_string_equal() standalone 2227s ok 7 /refstring/equal 2227s ok 8 /refstring/intern-thread-safety 2227s # slow test /refstring/intern-thread-safety executed in 0.62 secs 2227s # End of refstring tests 2227s ok - glib/refstring.test 2227s # Running test: glib/filter-streams.test 2227s TAP version 14 2227s # random seed: R02S84c4ff5183b616c4f9059a5d9e09976b 2227s 1..4 2227s # Start of filter-stream tests 2227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394 2227s ok 1 /filter-stream/input 2227s ok 2 /filter-stream/output 2227s ok 3 /filter-stream/async-input 2227s ok 4 /filter-stream/async-output 2227s # End of filter-stream tests 2227s ok - glib/filter-streams.test 2227s # Running test: glib/utf8-performance.test 2227s TAP version 14 2227s # random seed: R02Sa81a089429dbdeebae0de8b3e93c0dde 2227s 1..36 2227s # Start of utf8 tests 2227s # Start of perf tests 2227s # Start of get_char tests 2227s # max perf: 8.6 MB/s 2227s ok 1 /utf8/perf/get_char/ascii 2227s # max perf: inf MB/s 2227s ok 2 /utf8/perf/get_char/latin1 2227s # max perf: inf MB/s 2227s ok 3 /utf8/perf/get_char/cyrillic 2227s # max perf: inf MB/s 2227s ok 4 /utf8/perf/get_char/han 2227s # End of get_char tests 2227s # Start of get_char-backwards tests 2227s # max perf: 43.0 MB/s 2227s ok 5 /utf8/perf/get_char-backwards/ascii 2227s # max perf: 67.0 MB/s 2227s ok 6 /utf8/perf/get_char-backwards/latin1 2227s # max perf: 160.0 MB/s 2227s ok 7 /utf8/perf/get_char-backwards/cyrillic 2227s # max perf: 156.0 MB/s 2227s ok 8 /utf8/perf/get_char-backwards/han 2227s # End of get_char-backwards tests 2227s # Start of get_char_validated tests 2227s # max perf: 43.0 MB/s 2227s ok 9 /utf8/perf/get_char_validated/ascii 2227s # max perf: 67.0 MB/s 2227s ok 10 /utf8/perf/get_char_validated/latin1 2227s # max perf: 160.0 MB/s 2227s ok 11 /utf8/perf/get_char_validated/cyrillic 2227s # max perf: 156.0 MB/s 2227s ok 12 /utf8/perf/get_char_validated/han 2227s # End of get_char_validated tests 2227s # Start of utf8_to_ucs4 tests 2227s # max perf: 43.0 MB/s 2227s ok 13 /utf8/perf/utf8_to_ucs4/ascii 2227s # max perf: 67.0 MB/s 2227s ok 14 /utf8/perf/utf8_to_ucs4/latin1 2227s # max perf: 160.0 MB/s 2227s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic 2227s # max perf: 78.0 MB/s 2227s ok 16 /utf8/perf/utf8_to_ucs4/han 2227s # End of utf8_to_ucs4 tests 2227s # Start of utf8_to_ucs4-sized tests 2227s # max perf: 1.2 MB/s 2227s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii 2227s # max perf: 67.0 MB/s 2227s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1 2227s # max perf: 160.0 MB/s 2227s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic 2227s # max perf: 156.0 MB/s 2227s ok 20 /utf8/perf/utf8_to_ucs4-sized/han 2227s # End of utf8_to_ucs4-sized tests 2227s # Start of utf8_to_ucs4_fast tests 2227s # max perf: 43.0 MB/s 2227s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii 2227s # max perf: inf MB/s 2227s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1 2227s # max perf: 160.0 MB/s 2227s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic 2227s # max perf: 156.0 MB/s 2227s ok 24 /utf8/perf/utf8_to_ucs4_fast/han 2227s # End of utf8_to_ucs4_fast tests 2227s # Start of utf8_to_ucs4_fast-sized tests 2227s # max perf: 43.0 MB/s 2227s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii 2227s # max perf: 67.0 MB/s 2227s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1 2227s # max perf: 160.0 MB/s 2227s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic 2227s # max perf: 156.0 MB/s 2227s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han 2227s # End of utf8_to_ucs4_fast-sized tests 2227s # Start of utf8_validate tests 2227s # max perf: 43.0 MB/s 2227s ok 29 /utf8/perf/utf8_validate/ascii 2227s # max perf: 67.0 MB/s 2227s ok 30 /utf8/perf/utf8_validate/latin1 2227s # max perf: 160.0 MB/s 2227s ok 31 /utf8/perf/utf8_validate/cyrillic 2227s # max perf: 156.0 MB/s 2227s ok 32 /utf8/perf/utf8_validate/han 2227s # End of utf8_validate tests 2227s # Start of utf8_validate-sized tests 2227s # max perf: inf MB/s 2227s ok 33 /utf8/perf/utf8_validate-sized/ascii 2227s # max perf: 67.0 MB/s 2227s ok 34 /utf8/perf/utf8_validate-sized/latin1 2227s # max perf: inf MB/s 2227s ok 35 /utf8/perf/utf8_validate-sized/cyrillic 2227s # max perf: 156.0 MB/s 2227s ok 36 /utf8/perf/utf8_validate-sized/han 2227s # End of utf8_validate-sized tests 2227s # End of perf tests 2227s # End of utf8 tests 2227s ok - glib/utf8-performance.test 2227s # Running test: glib/application-command-line.test 2227s TAP version 14 2227s # random seed: R02S188a3e1a5ae6a66ba4bd11020c9d984f 2227s 1..1 2227s # Start of application-command-line tests 2227s ok 1 /application-command-line/basic-properties 2227s # End of application-command-line tests 2227s ok - glib/application-command-line.test 2227s # Running test: glib/macros-c-99.test 2227s TAP version 14 2227s # random seed: R02S67fd5880d2cdc0d472596cfd5adc5d82 2227s 1..4 2227s # Start of C tests 2227s ok 1 /C/standard-99 2227s # End of C tests 2227s # Start of alignof tests 2227s ok 2 /alignof/fallback 2227s # End of alignof tests 2227s # Start of assert tests 2227s ok 3 /assert/static 2227s # End of assert tests 2227s # Start of struct tests 2227s ok 4 /struct/sizeof_member 2227s # End of struct tests 2227s ok - glib/macros-c-99.test 2227s # Running test: glib/option-context.test 2227s TAP version 14 2227s # random seed: R02Sf19dc6506e72ad28209c2c0613c55ee8 2227s 1..58 2227s # Start of option tests 2227s ok 1 /option/basic 2227s ok 2 /option/translate 2227s ok 3 /option/strict-posix 2227s # Start of help tests 2227s ok 4 /option/help/options 2227s ok 5 /option/help/no-options 2227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652 2227s ok 6 /option/help/no-help-options 2227s # Usage: 2227s # /usr/libexec/installed-tests/glib/option-context [OPTION?] blabla 2227s # 2227s # Summary 2227s # 2227s # Help Options: 2227s # -h, --help Show help options 2227s # 2227s # Application Options: 2227s # -t, --test=Argument to use in test (deprecated) Test tests 2227s # --test2 Tests also 2227s # 2227s # Description 2227s # 2227s ok 7 /option/help/deprecated 2227s # End of help tests 2227s # Start of group tests 2227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142 2227s ok 8 /option/group/captions 2227s ok 9 /option/group/main 2227s ok 10 /option/group/error-hook 2227s ok 11 /option/group/parse 2227s # Start of captions tests 2227s # Start of subprocess tests 2227s # End of subprocess tests 2227s # End of captions tests 2227s # End of group tests 2227s # Start of restoration tests 2227s ok 12 /option/restoration/int 2227s ok 13 /option/restoration/string 2227s ok 14 /option/restoration/boolean 2227s # End of restoration tests 2227s # Start of arg tests 2227s ok 15 /option/arg/reverse-string 2227s ok 16 /option/arg/optional-int 2227s # Start of repetition tests 2227s ok 17 /option/arg/repetition/int 2227s ok 18 /option/arg/repetition/string 2227s ok 19 /option/arg/repetition/filename 2227s ok 20 /option/arg/repetition/double 2227s ok 21 /option/arg/repetition/locale 2227s ok 22 /option/arg/repetition/int64 2227s # End of repetition tests 2227s # Start of array tests 2227s ok 23 /option/arg/array/string 2227s # End of array tests 2227s # Start of callback tests 2227s ok 24 /option/arg/callback/string 2227s ok 25 /option/arg/callback/count 2227s ok 26 /option/arg/callback/optional1 2227s ok 27 /option/arg/callback/optional2 2227s ok 28 /option/arg/callback/optional3 2227s ok 29 /option/arg/callback/optional4 2227s ok 30 /option/arg/callback/optional5 2227s ok 31 /option/arg/callback/optional6 2227s ok 32 /option/arg/callback/optional7 2227s ok 33 /option/arg/callback/optional8 2227s # End of callback tests 2227s # Start of remaining tests 2227s ok 34 /option/arg/remaining/callback 2227s ok 35 /option/arg/remaining/callback-false 2227s ok 36 /option/arg/remaining/non-option 2227s ok 37 /option/arg/remaining/separator 2227s ok 38 /option/arg/remaining/array 2227s # End of remaining tests 2227s # Start of ignore tests 2227s ok 39 /option/arg/ignore/long 2227s ok 40 /option/arg/ignore/short 2227s ok 41 /option/arg/ignore/arg 2227s # End of ignore tests 2227s # Start of rest tests 2227s ok 42 /option/arg/rest/non-option 2227s ok 43 /option/arg/rest/separator1 2227s ok 44 /option/arg/rest/separator2 2227s ok 45 /option/arg/rest/separator3 2227s ok 46 /option/arg/rest/separator4 2227s ok 47 /option/arg/rest/separator5 2227s # End of rest tests 2227s # End of arg tests 2227s # Start of context tests 2227s ok 48 /option/context/add 2227s ok 49 /option/context/empty2 2227s ok 50 /option/context/empty3 2227s # End of context tests 2227s # Start of bug tests 2227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609 2227s ok 51 /option/bug/unknown-short 2227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008 2227s ok 52 /option/bug/lonely-dash 2227s ok 53 /option/bug/triple-dash 2227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576 2227s ok 54 /option/bug/missing-arg 2227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638 2227s ok 55 /option/bug/dash-arg 2227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563 2227s ok 56 /option/bug/short-remaining 2227s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926 2227s ok 57 /option/bug/double-free 2227s ok 58 /option/bug/double-zero 2227s # End of bug tests 2227s # End of option tests 2227s ok - glib/option-context.test 2227s # Running test: glib/properties-refcount1.test 2227s TAP version 14 2227s # random seed: R02S0827323a07bad5562d892a0a0af21db4 2227s 1..1 2227s # Start of gobject tests 2227s # Start of refcount tests 2227s # .e 2227s # .b 2227s # .c 2227s # .f 2227s # .d 2228s # .e 2228s # .b 2228s # .c 2228s # .f 2228s # .d 2228s # .e 2228s # .b 2228s # .f 2228s # .c 2228s # .d 2228s # .e 2228s # .b 2228s # .f 2228s # .c 2228s # .d 2228s # .e 2228s # .b 2228s # .f 2228s # .c 2228s # .d 2228s # .e 2228s # .b 2228s # .f 2228s # .d 2228s # .c 2228s # .e 2228s # .b 2228s # .d 2228s # .f 2228s # .c 2228s # .e 2228s # .b 2228s # .d 2228s # .f 2228s # .c 2228s # .e 2228s # .b 2228s # .d 2228s # .f 2228s # .c 2229s # .e 2229s # .b 2229s # .d 2229s # .f 2229s # .c 2229s # .b 2229s # .d 2229s # .e 2229s # .f 2229s # .c 2229s # .b 2229s # .e 2229s # .f 2229s # .d 2229s # .c 2229s # .e 2229s # .b 2229s # .d 2229s # .f 2229s # .c 2229s # .e 2229s # .b 2229s # .f 2229s # .d 2229s # .c 2229s # .e 2229s # .b 2229s # .f 2229s # .d 2229s # .c 2229s # .e 2229s # .b 2229s # .f 2229s # .d 2229s # .c 2229s # .e 2229s # .b 2229s # .f 2229s # .d 2230s # .c 2230s # .e 2230s # .b 2230s # .f 2230s # .d 2230s # .c 2230s # .e 2230s # .b 2230s # .f 2230s # .d 2230s # .c 2230s # .e 2230s # .b 2230s # .f 2230s # .d 2230s # .c 2230s # .e 2230s # .b 2230s # .f 2230s # .d 2230s # .c 2230s # .e 2230s # .b 2230s # .f 2230s # .c 2230s # .d 2230s # .e 2230s # .b 2230s # .f 2230s # .c 2230s # .d 2230s # .e 2230s # .b 2230s # .f 2230s # .c 2230s # .d 2230s ok 1 /gobject/refcount/properties-1 2230s # slow test /gobject/refcount/properties-1 executed in 3.00 secs 2230s # End of refcount tests 2230s # End of gobject tests 2230s ok - glib/properties-refcount1.test 2230s # Running test: glib/spawn-singlethread.test 2230s TAP version 14 2230s # random seed: R02S2ec21f3d6eea98613955772e8d338d02 2230s 1..9 2230s # Start of gthread tests 2230s ok 1 /gthread/spawn-single-sync 2230s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket 2230s ok 2 /gthread/spawn-stderr-socket 2230s ok 3 /gthread/spawn-single-async 2230s # thread 1 2230s # thread 1 2230s ok 4 /gthread/spawn-single-async-with-fds 2230s ok 5 /gthread/spawn-async-with-invalid-fds 2230s ok 6 /gthread/spawn-script 2230s ok 7 /gthread/spawn-posix-spawn 2230s # Start of spawn tests 2230s ok 8 /gthread/spawn/nonexistent 2230s # FD map: 2230s # • 5 → 15 2230s # • 6 → 16 2230s # • 7 → 17 2230s # • 8 → 18 2230s # • 9 → 19 2230s # • 10 → 20 2230s # • 11 → 21 2230s # • 12 → 22 2230s # • 13 → 23 2230s # • 3 → 13 2230s ok 9 /gthread/spawn/fd-assignment-clash 2230s # End of spawn tests 2230s # End of gthread tests 2230s ok - glib/spawn-singlethread.test 2230s # Running test: glib/gdbus-close-pending.test 2230s TAP version 14 2230s # random seed: R02S4871cbf6bde826d9a28428894e576da0 2230s 1..2 2230s # Start of gdbus tests 2230s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/home 2230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/cache 2230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/system-config2 2230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/config 2230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/system-data2 2230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/data 2230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/state 2230s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CAU512/gdbus/close-pending/.dirs/runtime 2231s ok 1 /gdbus/close-pending 2231s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/home 2231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/cache 2231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/system-config2 2231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/config 2231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/system-data2 2231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/data 2231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/state 2231s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_CAU512/gdbus/unref-pending/.dirs/runtime 2231s ok 2 /gdbus/unref-pending 2231s # End of gdbus tests 2231s ok - glib/gdbus-close-pending.test 2231s # Running test: glib/reference.test 2231s TAP version 14 2231s # random seed: R02Sb26a7eab127a6490b90d6960ffedc6a6 2231s 1..29 2231s # Start of type tests 2231s ok 1 /type/fundamentals 2231s ok 2 /type/qdata 2231s ok 3 /type/query 2231s ok 4 /type/class-private 2231s # End of type tests 2231s # Start of object tests 2231s ok 5 /object/clear 2231s ok 6 /object/clear-function 2231s ok 7 /object/set 2231s ok 8 /object/set-function 2231s ok 9 /object/value 2231s ok 10 /object/initially-unowned 2231s ok 11 /object/weak-pointer 2231s ok 12 /object/weak-ref 2231s ok 13 /object/toggle-ref 2231s ok 14 /object/qdata 2231s ok 15 /object/qdata2 2231s # Start of set tests 2231s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject 2231s ok 16 /object/set/derived-type 2231s # End of set tests 2231s # Start of weak-pointer tests 2231s ok 17 /object/weak-pointer/clear 2231s ok 18 /object/weak-pointer/clear-function 2231s ok 19 /object/weak-pointer/set 2231s ok 20 /object/weak-pointer/set-function 2231s # End of weak-pointer tests 2231s # Start of weak-ref tests 2231s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2231s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared 2231s ok 21 /object/weak-ref/on-dispose 2231s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865 2231s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose() 2231s ok 22 /object/weak-ref/on-run-dispose 2231s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2231s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared 2231s ok 23 /object/weak-ref/on-toggle-notify 2231s ok 24 /object/weak-ref/in-toggle-notify 2231s ok 25 /object/weak-ref/many 2231s # Start of concurrent tests 2231s ok 26 /object/weak-ref/concurrent/0 2231s ok 27 /object/weak-ref/concurrent/1 2231s # End of concurrent tests 2231s # End of weak-ref tests 2231s # Start of toggle-ref tests 2231s ok 28 /object/toggle-ref/ref-on-dispose 2231s ok 29 /object/toggle-ref/ref-and-notify-on-dispose 2231s # End of toggle-ref tests 2231s # End of object tests 2231s ok - glib/reference.test 2231s # Running test: glib/memory-monitor-dbus.test 2231s # Executing: glib/memory-monitor-dbus.test 2231s TAP version 13 2231s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178 2231s 1..1 2231s ok - glib/memory-monitor-dbus.test 2231s # Running test: glib/enums.test 2231s TAP version 14 2231s # random seed: R02S99f147e92c4cbdb1eb240c7297c9fb3d 2231s 1..4 2231s # Start of enum tests 2231s ok 1 /enum/basic 2231s ok 2 /enum/define-type 2231s # End of enum tests 2231s # Start of flags tests 2231s ok 3 /flags/basic 2231s ok 4 /flags/define-type 2231s # End of flags tests 2231s ok - glib/enums.test 2231s # Running test: glib/io-channel.test 2231s TAP version 14 2231s # random seed: R02S6065362a468f4c347544f97dba33f1e0 2231s 1..2 2231s # Start of io-channel tests 2231s # Line one 2231s # 2231s # Line two 2231s # 2231s # Line three 2231s # 2231s # /* Hello */ 2231s # 2231s # \x1234\x567890\x6666 2231s # 2231s # read 62 bytes, wrote 62 bytes 2231s ok 1 /io-channel/read-write 2231s # Start of read-line tests 2231s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators. 2231s ok 2 /io-channel/read-line/embedded-nuls 2231s # End of read-line tests 2231s # End of io-channel tests 2231s ok - glib/io-channel.test 2231s # Running test: glib/actions.test 2231s TAP version 14 2231s # random seed: R02Sde4410a3f4759978fdb2cffb7a2c0be7 2231s 1..13 2231s # Start of actions tests 2231s ok 1 /actions/basic 2231s ok 2 /actions/name 2231s ok 3 /actions/simplegroup 2231s ok 4 /actions/stateful 2231s ok 5 /actions/default-activate 2231s ok 6 /actions/entries 2231s ok 7 /actions/parse-detailed 2231s ok 8 /actions/property 2231s ok 9 /actions/no-properties 2231s # Start of dbus tests 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s ok 10 /actions/dbus/export 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2231s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s ok 11 /actions/dbus/threaded 2234s # slow test /actions/dbus/threaded executed in 2.32 secs 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s ok 12 /actions/dbus/bug679509 2234s # Start of export tests 2234s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works 2234s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2234s ok 13 /actions/dbus/export/error-handling 2234s # End of export tests 2234s # End of dbus tests 2234s # End of actions tests 2234s ok - glib/actions.test 2234s # Running test: glib/markup-subparser.test 2234s TAP version 14 2234s # random seed: R02S8ac6e463aad8747c15c68fe9f4495e54 2234s 1..14 2234s # Start of glib tests 2234s # Start of markup tests 2234s # Start of subparser tests 2234s # Start of success tests 2234s ok 1 /glib/markup/subparser/success/0 2234s ok 2 /glib/markup/subparser/success/1 2234s ok 3 /glib/markup/subparser/success/2 2234s ok 4 /glib/markup/subparser/success/3 2234s ok 5 /glib/markup/subparser/success/4 2234s ok 6 /glib/markup/subparser/success/5 2234s ok 7 /glib/markup/subparser/success/6 2234s # End of success tests 2234s # Start of failure tests 2234s ok 8 /glib/markup/subparser/failure/0 2234s ok 9 /glib/markup/subparser/failure/1 2234s ok 10 /glib/markup/subparser/failure/2 2234s ok 11 /glib/markup/subparser/failure/3 2234s ok 12 /glib/markup/subparser/failure/4 2234s ok 13 /glib/markup/subparser/failure/5 2234s ok 14 /glib/markup/subparser/failure/6 2234s # End of failure tests 2234s # End of subparser tests 2234s # End of markup tests 2234s # End of glib tests 2234s ok - glib/markup-subparser.test 2234s # Running test: glib/list.test 2234s TAP version 14 2234s # random seed: R02S433056b5475e3ed6f6f403f8884c90fd 2234s 1..20 2234s # Start of list tests 2234s ok 1 /list/sort 2234s ok 2 /list/sort-with-data 2234s ok 3 /list/insert-before-link 2234s ok 4 /list/insert-sorted 2234s ok 5 /list/insert-sorted-with-data 2234s ok 6 /list/reverse 2234s ok 7 /list/nth 2234s ok 8 /list/concat 2234s ok 9 /list/remove 2234s ok 10 /list/remove-all 2234s ok 11 /list/first-last 2234s ok 12 /list/insert 2234s ok 13 /list/free-full 2234s ok 14 /list/copy 2234s ok 15 /list/copy-deep 2234s ok 16 /list/delete-link 2234s ok 17 /list/prepend 2234s ok 18 /list/position 2234s ok 19 /list/double-free 2234s # Start of sort tests 2234s ok 20 /list/sort/stable 2234s # End of sort tests 2234s # End of list tests 2234s ok - glib/list.test 2234s # Running test: glib/null-settings-backend.test 2234s TAP version 14 2234s # random seed: R02S266f2b9eb59c54268b6132dea711f569 2234s 1..1 2234s # Start of null-settings-backend tests 2234s ok 1 /null-settings-backend/extension-point-registered 2234s # End of null-settings-backend tests 2234s ok - glib/null-settings-backend.test 2234s # Running test: glib/live-g-file.test 2234s TAP version 14 2234s # random seed: R02S73dd6db0e9593fa85162ff19b985be73 2234s 1..13 2234s # Start of live-g-file tests 2234s # Cleaning target testing structure in 'testdir_live-g-file'... 2234s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2234s ok 1 /live-g-file/prep_clean_structure 2234s # 2234s # Going to create testing structure in 'testdir_live-g-file'... 2234s # Creating directory 'dir1'... 2234s # Creating directory 'dir1/subdir'... 2234s # Creating directory 'dir2'... 2234s # Creating directory 'dir-target'... 2234s # Creating directory 'dir_no-access'... 2234s # Creating directory 'dir_no-write'... 2234s # Creating file 'target-file'... 2234s # Creating file 'normal_file'... 2234s # Creating symlink 'normal_file-symlink' --> 'normal_file'... 2234s # Creating file 'executable_file'... 2234s # Creating file 'private_file'... 2234s # Creating file 'normal_file2'... 2234s # Creating file 'readonly_file'... 2234s # Creating file 'UTF_pr?i?lis? z'... 2234s # Creating directory 'dir_pr?i?lis? z'... 2234s # Creating symlink 'lost_symlink' --> 'nowhere'... 2234s # Creating directory 'dir_hidden'... 2234s # Creating file 'dir_hidden/.a-hidden-file'... 2234s # Creating file 'dir_hidden/file-in-.hidden1'... 2234s # Creating file 'dir_hidden/file-in-.hidden2'... 2234s # Creating pattern file... 2234s # done. 2234s ok 2 /live-g-file/create_structure 2234s # Testing sample structure in 'testdir_live-g-file'... 2234s # Testing file 'dir1'... 2234s # Testing file 'dir1/subdir'... 2234s # Testing file 'dir2'... 2234s # Testing file 'dir-target'... 2234s # Testing file 'dir_no-access'... 2234s # Testing file 'dir_no-write'... 2234s # Testing file 'target-file'... 2234s # Testing file 'normal_file'... 2234s # Testing file 'normal_file-symlink'... 2234s # Testing file 'executable_file'... 2234s # Testing file 'private_file'... 2234s # Testing file 'normal_file2'... 2234s # Testing file 'readonly_file'... 2234s # Testing file 'UTF_pr?i?lis? z'... 2234s # Testing file 'dir_pr?i?lis? z'... 2234s # Testing file 'lost_symlink'... 2234s # Testing file 'dir_hidden'... 2234s # Testing file 'dir_hidden/.a-hidden-file'... 2234s # Testing file 'dir_hidden/file-in-.hidden1'... 2234s # Testing file 'dir_hidden/file-in-.hidden2'... 2234s # Testing pattern file... 2234s # read 65536 bytes, total = 65536 of 65536. 2234s ok 3 /live-g-file/test_initial_structure 2234s # Traversing through the sample structure in 'testdir_live-g-file'... 2234s # Found file dir1, relative to root: dir1 2234s # Found file subdir, relative to root: dir1/subdir 2234s # Found file dir2, relative to root: dir2 2234s # Found file dir-target, relative to root: dir-target 2234s # Found file dir_no-access, relative to root: dir_no-access 2234s # Found file dir_no-write, relative to root: dir_no-write 2234s # Found file target-file, relative to root: target-file 2234s # Found file normal_file, relative to root: normal_file 2234s # Found file normal_file-symlink, relative to root: normal_file-symlink 2234s # Found file executable_file, relative to root: executable_file 2234s # Found file private_file, relative to root: private_file 2234s # Found file normal_file2, relative to root: normal_file2 2234s # Found file readonly_file, relative to root: readonly_file 2234s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z 2234s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z 2234s # Found file lost_symlink, relative to root: lost_symlink 2234s # Found file dir_hidden, relative to root: dir_hidden 2234s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file 2234s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1 2234s # Found file .hidden, relative to root: dir_hidden/.hidden 2234s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2 2234s # Found file pattern_file, relative to root: pattern_file 2234s ok 4 /live-g-file/test_traverse_structure 2234s # Test enumerate 'testdir_live-g-file'... 2234s # Testing file 'dir_no-access' 2234s # Testing file 'normal_file' 2234s # Testing file 'normal_file-symlink' 2234s # Testing file 'not_exists' 2234s # Testing file 'not_exists' 2234s # Testing file 'not_exists2' 2234s # Testing file 'not_exists3' 2234s # Testing file 'not_exists4' 2234s # Testing file 'dir_no-execute/file' 2234s ok 5 /live-g-file/test_enumerate 2234s # test_open: 'dir1' 2234s # test_open: 'dir_no-access' 2234s # test_open: 'target-file' 2234s # test_open: 'normal_file-symlink' 2234s # test_open: 'executable_file' 2234s # test_open: 'private_file' 2234s # test_open: 'readonly_file' 2234s # test_open: 'UTF_pr?i?lis? z' 2234s # test_open: 'pattern_file' 2234s # test_open: 'not_exists' 2234s # test_open: 'dir_no-execute/file' 2234s # test_open: 'lost_symlink' 2234s ok 6 /live-g-file/test_open 2234s # test_create: 'dir1' 2234s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir1?: Is a directory 2234s # test_create: 'dir1/subdir' 2234s # error code 3 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir1/subdir?: Is a directory 2234s # test_create: 'dir2' 2234s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir2?: File exists 2234s # test_create: 'normal_file' 2234s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/normal_file?: File exists 2234s # test_create: 'executable_file' 2234s # test_create: 'private_file' 2234s # test_create: 'normal_file2' 2234s # test_create: 'UTF_pr?i?lis? z' 2234s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 2234s # test_create: 'dir_pr?i?lis? z' 2234s # error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_pr?i?lis? z?: File exists 2234s # test_create: 'pattern_file' 2234s # test_create: 'not_exists2' 2234s # test_create: 'not_exists3' 2234s # test_create: 'not_exists4' 2234s ok 7 /live-g-file/test_create 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir1/subdir' --> 'dir-target' 2234s # res = 0, error code 25 = Can?t recursively copy directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir1/subdir' --> '.' 2234s # res = 0, error code 2 = Target file exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir1/subdir' --> 'target-file' 2234s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/dir1/subdir?: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir1/subdir' --> 'not_exists' 2234s # res = 0, error code 25 = Can?t recursively copy directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir1/subdir' --> 'dir_no-access' 2234s # res = 0, error code 25 = Can?t recursively copy directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir1/subdir' --> 'dir_no-write' 2234s # res = 0, error code 25 = Can?t recursively copy directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir2' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir-target' --> 'dir-target' 2234s # res = 0, error code 25 = Can?t recursively copy directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir-target' --> '.' 2234s # res = 0, error code 2 = Target file exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir-target' --> 'target-file' 2234s # res = 0, error code 4 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/dir-target?: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir-target' --> 'not_exists' 2234s # res = 0, error code 25 = Can?t recursively copy directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir-target' --> 'dir_no-access' 2234s # res = 0, error code 25 = Can?t recursively copy directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'dir-target' --> 'dir_no-write' 2234s # res = 0, error code 25 = Can?t recursively copy directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'target-file' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'target-file' --> '.' 2234s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file?: File exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'target-file' --> 'target-file' 2234s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/target-file?: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'target-file' --> 'not_exists' 2234s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists/target-file?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'target-file' --> 'dir_no-access' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-access/target-file?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'target-file' --> 'dir_no-write' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-write/target-file?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file-symlink' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file-symlink' --> '.' 2234s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/normal_file-symlink: File exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file-symlink' --> 'target-file' 2234s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/normal_file-symlink: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file-symlink' --> 'not_exists' 2234s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access' 2234s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write' 2234s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'executable_file' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'executable_file' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'executable_file' --> '.' 2234s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/executable_file?: File exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'executable_file' --> 'target-file' 2234s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/executable_file?: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'executable_file' --> 'not_exists' 2234s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists/executable_file?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'executable_file' --> 'dir_no-access' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-access/executable_file?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'executable_file' --> 'dir_no-write' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-write/executable_file?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'private_file' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'private_file' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'private_file' --> '.' 2234s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/private_file?: File exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'private_file' --> 'target-file' 2234s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/private_file?: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'private_file' --> 'not_exists' 2234s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists/private_file?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'private_file' --> 'dir_no-access' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-access/private_file?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'private_file' --> 'dir_no-write' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-write/private_file?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file2' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file2' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file2' --> '.' 2234s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/normal_file2?: File exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file2' --> 'target-file' 2234s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/normal_file2?: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file2' --> 'not_exists' 2234s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists/normal_file2?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file2' --> 'dir_no-access' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'normal_file2' --> 'dir_no-write' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'UTF_pr?i?lis? z' --> '.' 2234s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/UTF_pr?i?lis? z?: File exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file' 2234s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists' 2234s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'pattern_file' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'pattern_file' --> '.' 2234s # res = 0, error code 2 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/pattern_file?: File exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'pattern_file' --> 'target-file' 2234s # res = 0, error code 4 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/pattern_file?: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'pattern_file' --> 'not_exists' 2234s # res = 0, error code 1 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists/pattern_file?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'pattern_file' --> 'dir_no-access' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'pattern_file' --> 'dir_no-write' 2234s # res = 0, error code 14 = Error opening file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'not_exists' --> 'dir-target' 2234s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'not_exists' --> '.' 2234s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'not_exists' --> 'target-file' 2234s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'not_exists' --> 'not_exists' 2234s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'not_exists' --> 'dir_no-access' 2234s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'not_exists' --> 'dir_no-write' 2234s # res = 0, error code 1 = Error when getting information for file ?/tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists?: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'not_exists' --> 'dir-target' 2234s # res = 0, error code 1 = Error moving file /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'lost_symlink' --> 'dir-target' 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'lost_symlink' --> '.' 2234s # res = 0, error code 2 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/lost_symlink: File exists 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'lost_symlink' --> 'target-file' 2234s # res = 0, error code 4 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/target-file/lost_symlink: Not a directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'lost_symlink' --> 'not_exists' 2234s # res = 0, error code 1 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists/lost_symlink: No such file or directory 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'lost_symlink' --> 'dir_no-access' 2234s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s # do_copy_move: 'lost_symlink' --> 'dir_no-write' 2234s # res = 0, error code 14 = Error making symbolic link /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied 2234s ok 8 /live-g-file/test_copy_move 2234s # Deleting dir1, path = /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir1 2234s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir1: Directory not empty 2234s # Deleting dir2, path = /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir2 2234s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir2: No such file or directory 2234s # Deleting executable_file, path = /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/executable_file 2234s # Deleting readonly_file, path = /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/readonly_file 2234s # Deleting dir_pr?i?lis? z, path = /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_pr?i?lis? z 2234s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists 2234s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists: No such file or directory 2234s # Deleting not_exists, path = /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists 2234s # result = 0, error = Error trashing file /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/not_exists: No such file or directory 2234s # Deleting dir_no-execute/file, path = /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-execute/file 2234s # result = 0, error = Error removing file /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/dir_no-execute/file: No such file or directory 2234s # Deleting lost_symlink, path = /tmp/test-tmp-glib_live-g-file.test-819I22/testdir_live-g-file/lost_symlink 2234s ok 9 /live-g-file/test_delete 2234s # We do not have CAP_DAC_OVERRIDE or equivalent 2234s ok 10 /live-g-file/test_make_directory_with_parents 2234s # Cleaning target testing structure in 'testdir_live-g-file'... 2234s # deleting 'dir1' 2234s # deleting 'subdir' 2234s # deleting 'dir-target' 2234s # deleting 'dir2' 2234s # deleting 'target-file' 2234s # deleting 'normal_file-symlink' 2234s # deleting 'executable_file' 2234s # deleting 'private_file' 2234s # deleting 'normal_file2' 2234s # deleting 'UTF_pr?i?lis? z' 2234s # deleting 'pattern_file' 2234s # deleting 'lost_symlink' 2234s # deleting 'dir_no-access' 2234s # deleting 'dir_no-write' 2234s # deleting 'target-file' 2234s # deleting 'normal_file' 2234s # deleting 'normal_file-symlink' 2234s # deleting 'executable_file~' 2234s # deleting 'private_file' 2234s # deleting 'normal_file2~' 2234s # deleting 'UTF_pr?i?lis? z' 2234s # deleting 'dir_hidden' 2234s # deleting '.a-hidden-file' 2234s # deleting 'file-in-.hidden1' 2234s # deleting '.hidden' 2234s # deleting 'file-in-.hidden2' 2234s # deleting 'pattern_file' 2234s # deleting 'normal_file2' 2234s # deleting 'not_exists2' 2234s # deleting 'not_exists3' 2234s # deleting 'not_exists4' 2234s # deleting 'a' 2234s ok 11 /live-g-file/final_clean 2234s # Start of test_unix_is_mountpoint tests 2234s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot 2234s ok 13 /live-g-file/test_unix_is_mountpoint/proc 2234s # End of test_unix_is_mountpoint tests 2234s # End of live-g-file tests 2234s ok - glib/live-g-file.test 2234s # Running test: glib/converter.test 2234s TAP version 14 2234s # random seed: R02S6ddff58357f9b12836973548ea1cc202 2234s 1..2 2234s # Start of converter tests 2234s ok 1 /converter/bytes 2234s ok 2 /converter/extra-bytes-at-end 2234s # End of converter tests 2234s ok - glib/converter.test 2234s # Running test: glib/mutex.test 2234s TAP version 14 2234s # random seed: R02Sf055b7c4490b27560c9fa8026ae5ba97 2234s 1..17 2234s # Start of thread tests 2234s ok 1 /thread/mutex1 2234s ok 2 /thread/mutex2 2234s ok 3 /thread/mutex3 2234s ok 4 /thread/mutex4 2235s ok 5 /thread/mutex5 2235s # slow test /thread/mutex5 executed in 1.10 secs 2235s # Start of mutex tests 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s # /thread/mutex/errno summary: Validates that errno is not touched upon return 2235s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034 2235s ok 6 /thread/mutex/errno 2235s # Start of perf tests 2235s # max perf: inf mips 2235s ok 7 /thread/mutex/perf/uncontended 2235s # Start of contended tests 2235s # max perf: inf mips 2235s ok 8 /thread/mutex/perf/contended/1 2235s # max perf: 3.000000 mips 2235s ok 9 /thread/mutex/perf/contended/2 2235s # max perf: 4.000000 mips 2235s ok 10 /thread/mutex/perf/contended/3 2235s # max perf: 1.666667 mips 2235s ok 11 /thread/mutex/perf/contended/4 2235s # max perf: inf mips 2235s ok 12 /thread/mutex/perf/contended/5 2235s # max perf: 1.400000 mips 2235s ok 13 /thread/mutex/perf/contended/6 2235s # max perf: 2.000000 mips 2235s ok 14 /thread/mutex/perf/contended/7 2235s # max perf: 0.050847 mips 2235s ok 15 /thread/mutex/perf/contended/8 2235s # max perf: 2.000000 mips 2235s ok 16 /thread/mutex/perf/contended/9 2235s # max perf: 1.222222 mips 2235s ok 17 /thread/mutex/perf/contended/10 2235s # End of contended tests 2235s # End of perf tests 2235s # End of mutex tests 2235s # End of thread tests 2235s ok - glib/mutex.test 2235s # Running test: glib/gdbus-exit-on-close.test 2235s TAP version 14 2235s # random seed: R02S351c912988675e70c4f69f51e254799b 2235s 1..4 2235s # Start of gdbus tests 2235s # Start of exit-on-close tests 2235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/home 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/cache 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/system-config2 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/config 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/system-data2 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/data 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/state 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/default/.dirs/runtime 2235s ok 1 /gdbus/exit-on-close/default 2235s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/home 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/cache 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/system-config2 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/config 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/system-data2 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/data 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/state 2235s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/true/.dirs/runtime 2236s ok 2 /gdbus/exit-on-close/true 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/false/.dirs/runtime 2236s ok 3 /gdbus/exit-on-close/false 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_9JB512/gdbus/exit-on-close/we-close/.dirs/runtime 2236s ok 4 /gdbus/exit-on-close/we-close 2236s # Start of default tests 2236s # End of default tests 2236s # Start of true tests 2236s # End of true tests 2236s # Start of false tests 2236s # End of false tests 2236s # Start of we-close tests 2236s # End of we-close tests 2236s # End of exit-on-close tests 2236s # End of gdbus tests 2236s ok - glib/gdbus-exit-on-close.test 2236s # Running test: glib/date.test 2236s TAP version 14 2236s # random seed: R02S366c4851eec118e22db70c1a9c3b4394 2236s 1..121 2236s # Start of date tests 2236s ok 1 /date/basic 2236s ok 2 /date/empty 2236s ok 3 /date/dmy 2236s ok 4 /date/julian 2236s ok 5 /date/compare 2236s ok 6 /date/dates 2236s ok 7 /date/strftime 2236s ok 8 /date/two-digit-years 2236s ok 9 /date/parse 2236s ok 10 /date/parse_locale_change # SKIP locale th_TH not available 2236s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550 2236s ok 11 /date/month_substring 2236s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206 2236s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names 2236s ok 13 /date/clamp 2236s ok 14 /date/order 2236s ok 15 /date/copy 2236s # Vector 0: 0000-00-00, invalid 2236s # Vector 1: 0001-01-01, valid 2236s # Vector 2: 0000-01-01, invalid 2236s # Vector 3: 2000-02-30, invalid 2236s # Vector 4: 2000-02-29, valid 2236s # Vector 5: 2001-02-29, invalid 2236s # Vector 6: 65535-01-01, valid 2236s ok 16 /date/valid-dmy 2236s # Start of parse tests 2236s # Test 0 2236s # Test 1 2236s ok 17 /date/parse/invalid 2236s # End of parse tests 2236s # Start of year tests 2236s ok 18 /date/year/1 2236s ok 19 /date/year/2 2236s ok 20 /date/year/3 2236s ok 21 /date/year/4 2236s ok 22 /date/year/5 2236s ok 23 /date/year/6 2236s ok 24 /date/year/7 2236s ok 25 /date/year/8 2236s ok 26 /date/year/9 2236s ok 27 /date/year/10 2236s ok 28 /date/year/11 2236s ok 29 /date/year/12 2236s ok 30 /date/year/13 2236s ok 31 /date/year/14 2236s ok 32 /date/year/98 2236s ok 33 /date/year/99 2236s ok 34 /date/year/100 2236s ok 35 /date/year/101 2236s ok 36 /date/year/102 2236s ok 37 /date/year/103 2236s ok 38 /date/year/397 2236s ok 39 /date/year/398 2236s ok 40 /date/year/399 2236s ok 41 /date/year/400 2236s ok 42 /date/year/401 2236s ok 43 /date/year/402 2236s ok 44 /date/year/403 2236s ok 45 /date/year/404 2236s ok 46 /date/year/405 2236s ok 47 /date/year/406 2236s ok 48 /date/year/1598 2236s ok 49 /date/year/1599 2236s ok 50 /date/year/1600 2236s ok 51 /date/year/1601 2236s ok 52 /date/year/1602 2236s ok 53 /date/year/1650 2236s ok 54 /date/year/1651 2236s ok 55 /date/year/1897 2236s ok 56 /date/year/1898 2236s ok 57 /date/year/1899 2236s ok 58 /date/year/1900 2236s ok 59 /date/year/1901 2236s ok 60 /date/year/1902 2236s ok 61 /date/year/1903 2236s ok 62 /date/year/1961 2236s ok 63 /date/year/1962 2236s ok 64 /date/year/1963 2236s ok 65 /date/year/1964 2236s ok 66 /date/year/1965 2236s ok 67 /date/year/1967 2236s ok 68 /date/year/1968 2236s ok 69 /date/year/1969 2236s ok 70 /date/year/1970 2236s ok 71 /date/year/1971 2236s ok 72 /date/year/1972 2236s ok 73 /date/year/1973 2236s ok 74 /date/year/1974 2236s ok 75 /date/year/1975 2236s ok 76 /date/year/1976 2236s ok 77 /date/year/1977 2236s ok 78 /date/year/1978 2236s ok 79 /date/year/1979 2236s ok 80 /date/year/1980 2236s ok 81 /date/year/1981 2236s ok 82 /date/year/1982 2236s ok 83 /date/year/1983 2236s ok 84 /date/year/1984 2236s ok 85 /date/year/1985 2236s ok 86 /date/year/1986 2236s ok 87 /date/year/1987 2236s ok 88 /date/year/1988 2236s ok 89 /date/year/1989 2236s ok 90 /date/year/1990 2236s ok 91 /date/year/1991 2236s ok 92 /date/year/1992 2236s ok 93 /date/year/1993 2236s ok 94 /date/year/1994 2236s ok 95 /date/year/1995 2236s ok 96 /date/year/1996 2236s ok 97 /date/year/1997 2236s ok 98 /date/year/1998 2236s ok 99 /date/year/1999 2236s ok 100 /date/year/2000 2236s ok 101 /date/year/2001 2236s ok 102 /date/year/2002 2236s ok 103 /date/year/2003 2236s ok 104 /date/year/2004 2236s ok 105 /date/year/2005 2236s ok 106 /date/year/2006 2236s ok 107 /date/year/2007 2236s ok 108 /date/year/2008 2236s ok 109 /date/year/2009 2236s ok 110 /date/year/2010 2236s ok 111 /date/year/2011 2236s ok 112 /date/year/2012 2236s ok 113 /date/year/3000 2236s ok 114 /date/year/3001 2236s ok 115 /date/year/3002 2236s ok 116 /date/year/3998 2236s ok 117 /date/year/3999 2236s ok 118 /date/year/4000 2236s ok 119 /date/year/4001 2236s ok 120 /date/year/4002 2236s ok 121 /date/year/4003 2236s # End of year tests 2236s # End of date tests 2236s ok - glib/date.test 2236s # Running test: glib/portal-support-flatpak-full.test 2236s TAP version 14 2236s # random seed: R02S90c0fd26862facf134af99d87bf7df88 2236s 1..1 2236s # Start of portal-support tests 2236s # Start of flatpak tests 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/runtime 2236s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_BB7012/portal-support/flatpak/full/.dirs/runtime/.flatpak-info 2236s ok 1 /portal-support/flatpak/full 2236s # End of flatpak tests 2236s # End of portal-support tests 2236s ok - glib/portal-support-flatpak-full.test 2236s # Running test: glib/accumulator.test 2236s TAP version 14 2236s # random seed: R02S6cf0b3f5c35f025cbf98cc9c9f463aad 2236s 1..1 2236s # Start of gobject tests 2236s ok 1 /gobject/accumulator 2236s # End of gobject tests 2236s ok - glib/accumulator.test 2236s # Running test: glib/basic-signals.test 2236s TAP version 14 2236s # random seed: R02S89ebe06670880b3746f5d0cab9b27414 2236s 1..1 2236s # Start of gobject tests 2236s ok 1 /gobject/basic-signals 2236s # End of gobject tests 2236s ok - glib/basic-signals.test 2236s # Running test: glib/unix-mounts.test 2236s TAP version 14 2236s # random seed: R02S1035e3e38095e78d86ab745248ae117e 2236s 1..4 2236s # Start of unix-mounts tests 2236s ok 1 /unix-mounts/is-system-fs-type 2236s ok 2 /unix-mounts/is-system-device-path 2236s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file() 2236s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 2236s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 2236s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 2236s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 2236s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 2236s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 2236s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic 2236s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive 2236s ok 3 /unix-mounts/get-mount-points 2236s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file() 2236s ok 4 /unix-mounts/get-mount-entries 2236s # End of unix-mounts tests 2236s ok - glib/unix-mounts.test 2236s # Running test: glib/testfilemonitor.test 2236s TAP version 14 2236s # random seed: R02Sb7631ff5faa8f85a399928ab66b10a21 2236s 1..8 2236s # Start of monitor tests 2236s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 2236s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 2236s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 2236s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 2236s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 2236s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 2236s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2236s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2236s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 2236s # Start of file tests 2236s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634 2236s # End of file tests 2236s # End of monitor tests 2236s ok - glib/testfilemonitor.test 2236s # Running test: glib/memory-output-stream.test 2236s TAP version 14 2236s # random seed: R02Sca3fb9fd23d57ccf614ba8176f88113a 2236s 1..10 2236s # Start of memory-output-stream tests 2236s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423 2236s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080 2236s ok 1 /memory-output-stream/truncate 2236s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459 2236s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461 2236s ok 2 /memory-output-stream/get-data-size 2236s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733 2236s ok 3 /memory-output-stream/properties 2236s ok 4 /memory-output-stream/write-bytes 2236s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471 2236s ok 5 /memory-output-stream/write-null 2236s ok 6 /memory-output-stream/writev 2236s ok 7 /memory-output-stream/writev_nonblocking 2236s ok 8 /memory-output-stream/steal_as_bytes 2236s # Start of seek tests 2236s ok 9 /memory-output-stream/seek/fixed 2236s ok 10 /memory-output-stream/seek/resizable 2236s # End of seek tests 2236s # End of memory-output-stream tests 2236s ok - glib/memory-output-stream.test 2236s # Running test: glib/gdbus-non-socket.test 2236s TAP version 14 2236s # random seed: R02S176445de3d36a3bc16152957df944075 2236s 1..1 2236s # Start of gdbus tests 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_7BB012/gdbus/non-socket/.dirs/runtime 2236s ok 1 /gdbus/non-socket 2236s # End of gdbus tests 2236s ok - glib/gdbus-non-socket.test 2236s # Running test: glib/gdbus-introspection.test 2236s TAP version 14 2236s # random seed: R02Sf97034056714e8f50e0abe4065161746 2236s 1..4 2236s # Start of gdbus tests 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-parser/.dirs/runtime 2236s ok 1 /gdbus/introspection-parser 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-generate/.dirs/runtime 2236s ok 2 /gdbus/introspection-generate 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-default-direction/.dirs/runtime 2236s ok 3 /gdbus/introspection-default-direction 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_IMZZ12/gdbus/introspection-extra-data/.dirs/runtime 2236s ok 4 /gdbus/introspection-extra-data 2236s # End of gdbus tests 2236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2236s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2236s ok - glib/gdbus-introspection.test 2236s # Running test: glib/socket-address.test 2236s TAP version 14 2236s # random seed: R02S97a71b659ae080db012c03ff4f52b88d 2236s 1..2 2236s # Start of socket tests 2236s # Start of address tests 2236s # Start of unix tests 2236s ok 1 /socket/address/unix/construct 2236s ok 2 /socket/address/unix/to-string 2236s # End of unix tests 2236s # End of address tests 2236s # End of socket tests 2236s ok - glib/socket-address.test 2236s # Running test: glib/atomic.test 2236s TAP version 14 2236s # random seed: R02Sa3725e28ccfdb89b04ae298da6995447 2236s 1..2 2236s # Start of atomic tests 2236s ok 1 /atomic/types 2236s ok 2 /atomic/threaded 2236s # End of atomic tests 2236s ok - glib/atomic.test 2236s # Running test: glib/sort.test 2236s TAP version 14 2236s # random seed: R02S465a6e81b99a260b197997235c4b338f 2236s 1..5 2236s # Start of sort tests 2236s ok 1 /sort/basic 2236s ok 2 /sort/zero-elements 2236s ok 3 /sort/stable 2236s ok 4 /sort/big 2236s ok 5 /sort/deprecated 2236s # End of sort tests 2236s ok - glib/sort.test 2236s # Running test: glib/cxx-2b.test 2236s TAP version 14 2236s # random seed: R02S97135adb4fc4e9bfd6ec8873fee5ee02 2236s 1..2 2236s # Start of gtask tests 2236s # 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. 2236s ok 1 /gtask/name 2236s # Start of name tests 2236s # 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. 2236s ok 2 /gtask/name/macro-wrapper 2236s # End of name tests 2236s # End of gtask tests 2236s ok - glib/cxx-2b.test 2236s # Running test: glib/option-argv0.test 2236s # Executing: glib/option-argv0.test 2236s TAP version 14 2236s # random seed: R02S38c6369e488ef6dc8af3bced487beed2 2236s 1..1 2236s # Start of option tests 2236s ok 1 /option/argv0 2236s # End of option tests 2236s ok - glib/option-argv0.test 2236s # Running test: glib/cxx-14.test 2236s TAP version 14 2236s # random seed: R02S863e132b4189f8a1fdc75958275be695 2236s 1..2 2236s # Start of gtask tests 2236s # 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. 2236s ok 1 /gtask/name 2236s # Start of name tests 2236s # 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. 2236s ok 2 /gtask/name/macro-wrapper 2236s # End of name tests 2236s # End of gtask tests 2236s ok - glib/cxx-14.test 2236s # Running test: glib/strfuncs.test 2236s TAP version 14 2236s # random seed: R02Sa0118d04da288b07e8f1f73c11961e20 2236s 1..51 2236s # Start of strfuncs tests 2236s ok 1 /strfuncs/ascii-strcasecmp 2236s ok 2 /strfuncs/ascii_strdown 2236s ok 3 /strfuncs/ascii_strdup 2236s ok 4 /strfuncs/ascii_strtod 2236s ok 5 /strfuncs/bounds-check 2236s ok 6 /strfuncs/has-prefix 2236s ok 7 /strfuncs/has-prefix-macro 2236s ok 8 /strfuncs/has-suffix 2236s ok 9 /strfuncs/has-suffix-macro 2236s ok 10 /strfuncs/memdup 2236s ok 11 /strfuncs/memdup2 2236s ok 12 /strfuncs/set_str 2236s ok 13 /strfuncs/stpcpy 2236s ok 14 /strfuncs/str_match_string 2236s ok 15 /strfuncs/str_tokenize_and_fold 2236s ok 16 /strfuncs/strcanon 2236s ok 17 /strfuncs/strchomp 2236s ok 18 /strfuncs/strchug 2236s ok 19 /strfuncs/strcompress-strescape 2236s ok 20 /strfuncs/strconcat 2236s ok 21 /strfuncs/strdelimit 2236s ok 22 /strfuncs/strdup 2236s ok 23 /strfuncs/strdup-printf 2236s ok 24 /strfuncs/strdupv 2236s ok 25 /strfuncs/strerror 2236s ok 26 /strfuncs/strip-context 2236s ok 27 /strfuncs/strjoin 2236s ok 28 /strfuncs/strjoinv 2236s ok 29 /strfuncs/strlcat 2236s ok 30 /strfuncs/strlcpy 2236s ok 31 /strfuncs/strncasecmp 2236s ok 32 /strfuncs/strndup 2236s ok 33 /strfuncs/strnfill 2236s ok 34 /strfuncs/strreverse 2236s ok 35 /strfuncs/strsignal 2236s ok 36 /strfuncs/strsplit 2236s ok 37 /strfuncs/strsplit-set 2236s ok 38 /strfuncs/strstr 2236s ok 39 /strfuncs/strtod 2236s ok 40 /strfuncs/strtoull-strtoll 2236s ok 41 /strfuncs/strup 2236s ok 42 /strfuncs/strv-contains 2236s ok 43 /strfuncs/strv-equal 2236s ok 44 /strfuncs/strv-length 2236s ok 45 /strfuncs/test-is-to-digit 2236s ok 46 /strfuncs/transliteration 2236s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal() 2236s ok 47 /strfuncs/str-equal 2236s ok 48 /strfuncs/str-is-ascii 2236s # Start of ascii-string-to-num tests 2236s ok 49 /strfuncs/ascii-string-to-num/pathological 2236s ok 50 /strfuncs/ascii-string-to-num/usual 2236s # End of ascii-string-to-num tests 2236s # Start of strdup tests 2236s ok 51 /strfuncs/strdup/inline 2236s # End of strdup tests 2236s # End of strfuncs tests 2236s ok - glib/strfuncs.test 2236s # Running test: glib/static-link.test 2236s Test disabled because GLIB_TEST_COMPILATION is not set in the env. 2236s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env, 2236s and make sure you have glib build dependencies installed, including 2236s meson. 2236s ok # SKIP - glib/static-link.test 2236s # Running test: glib/gdbus-addresses.test 2236s TAP version 14 2236s # random seed: R02Sc19195b8616fe60cf586f05f7af79a76 2236s 1..9 2236s # Start of gdbus tests 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_160612/gdbus/empty-address/.dirs/runtime 2236s ok 1 /gdbus/empty-address 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_160612/gdbus/unsupported-address/.dirs/runtime 2236s ok 2 /gdbus/unsupported-address 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_160612/gdbus/address-parsing/.dirs/runtime 2236s ok 3 /gdbus/address-parsing 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_160612/gdbus/unix-address/.dirs/runtime 2236s ok 4 /gdbus/unix-address 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_160612/gdbus/nonce-tcp-address/.dirs/runtime 2236s ok 5 /gdbus/nonce-tcp-address 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_160612/gdbus/tcp-address/.dirs/runtime 2236s ok 6 /gdbus/tcp-address 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_160612/gdbus/autolaunch-address/.dirs/runtime 2236s ok 7 /gdbus/autolaunch-address 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_160612/gdbus/mixed-address/.dirs/runtime 2236s ok 8 /gdbus/mixed-address 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_160612/gdbus/escape-address/.dirs/runtime 2236s ok 9 /gdbus/escape-address 2236s # End of gdbus tests 2236s ok - glib/gdbus-addresses.test 2236s # Running test: glib/portal-support-snap-classic.test 2236s TAP version 14 2236s # random seed: R02S11510fb7156654890825b3d0895c2675 2236s 1..3 2236s # Start of portal-support tests 2236s # Start of snap-classic tests 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl/.dirs/runtime 2236s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/no-snapctl: No such file or directory 2236s ok 1 /portal-support/snap-classic/no-snapctl 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/runtime 2236s # Created snap.yaml in /tmp/test_portal-support-snap-classic_X2X712/meta/snap.yaml 2236s # Created snapctl in /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none/.dirs/runtime/snapctl 2236s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/none: No such file or directory 2236s ok 2 /portal-support/snap-classic/none 2236s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/home 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/cache 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/system-config2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/config 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/system-data2 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/data 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/state 2236s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/runtime 2236s # Created snap.yaml in /tmp/test_portal-support-snap-classic_X2X712/meta/snap.yaml 2236s # Created snapctl in /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all/.dirs/runtime/snapctl 2236s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_X2X712/portal-support/snap-classic/all: No such file or directory 2236s ok 3 /portal-support/snap-classic/all 2236s # End of snap-classic tests 2236s # End of portal-support tests 2236s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_X2X712: No such file or directory 2236s ok - glib/portal-support-snap-classic.test 2236s # Running test: glib/genmarshal.py.test 2237s TAP version 13 2237s ok 1 __main__.TestGenmarshal.test_empty_list 2237s # glib-genmarshal: /usr/bin/glib-genmarshal 2237s # tmpdir: /tmp/tmpcfw7z93s 2237s # /tmp/tmpcfw7z93s/tmpgaw2l_kf.list: 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcfw7z93s/tmpgaw2l_kf.list', '--header', '--quiet'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # 2237s # #include 2237s # 2237s # G_BEGIN_DECLS 2237s # 2237s # 2237s # G_END_DECLS 2237s # 2237s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2237s # Error: 2237s # 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpcfw7z93s/tmpgaw2l_kf.list', '--body', '--quiet'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #include 2237s # 2237s # #ifdef G_ENABLE_DEBUG 2237s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2237s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2237s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2237s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2237s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2237s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2237s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2237s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2237s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2237s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2237s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2237s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2237s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2237s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2237s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2237s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2237s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2237s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2237s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2237s # #else /* !G_ENABLE_DEBUG */ 2237s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2237s # * Do not access GValues directly in your code. Instead, use the 2237s # * g_value_get_*() functions 2237s # */ 2237s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2237s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2237s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2237s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2237s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2237s # #endif /* !G_ENABLE_DEBUG */ 2237s # Error: 2237s ok 2 __main__.TestGenmarshal.test_help 2237s # glib-genmarshal: /usr/bin/glib-genmarshal 2237s # tmpdir: /tmp/tmpn07v_nnl 2237s # Running: ['/usr/bin/glib-genmarshal', '--help'] 2237s # Return code: 0 2237s # Output: 2237s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source] 2237s # [--internal] [--valist-marshallers] [-v] 2237s # [--g-fatal-warnings] [--include-header [HEADER]] 2237s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES] 2237s # [--prototypes] [--header] [--body] [--stdinc | 2237s # --nostdinc] [--quiet | --verbose] 2237s # [FILE ...] 2237s # 2237s # Generate signal marshallers for GObject 2237s # 2237s # positional arguments: 2237s # FILE Files with lists of marshallers to generate, or "-" 2237s # for standard input 2237s # 2237s # options: 2237s # -h, --help show this help message and exit 2237s # --prefix STRING Specify marshaller prefix 2237s # --output FILE Write output into the specified file 2237s # --skip-source Skip source location comments 2237s # --internal Mark generated functions as internal 2237s # --valist-marshallers Generate va_list marshallers 2237s # -v, --version Print version information, and exit 2237s # --g-fatal-warnings Make warnings fatal 2237s # --include-header [HEADER] 2237s # Include the specified header in the body 2237s # --pragma-once Use "pragma once" as the inclusion guard 2237s # -D CPP_DEFINES Pre-processor define 2237s # -U CPP_UNDEFINES Pre-processor undefine 2237s # --prototypes Generate the marshallers prototype in the C code 2237s # --header Generate C headers 2237s # --body Generate C code 2237s # --stdinc Include standard marshallers 2237s # --nostdinc Use standard marshallers 2237s # --quiet Only print warnings and errors 2237s # --verbose Be verbose, and include debugging information 2237s # Error: 2237s ok 3 __main__.TestGenmarshal.test_no_args 2237s # glib-genmarshal: /usr/bin/glib-genmarshal 2237s # tmpdir: /tmp/tmpcd60rqw2 2237s # Running: ['/usr/bin/glib-genmarshal'] 2237s # Return code: 0 2237s # Output: 2237s # 2237s # Error: 2237s ok 4 __main__.TestGenmarshal.test_void_boolean 2237s # glib-genmarshal: /usr/bin/glib-genmarshal 2237s # tmpdir: /tmp/tmpsu648ugo 2237s # /tmp/tmpsu648ugo/tmpo5s93lsm.list: VOID:BOOLEAN 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpsu648ugo/tmpo5s93lsm.list', '--header', '--quiet'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # 2237s # #include 2237s # 2237s # G_BEGIN_DECLS 2237s # 2237s # /* VOID:BOOLEAN (/tmp/tmpsu648ugo/tmpo5s93lsm.list:1) */ 2237s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN 2237s # 2237s # 2237s # G_END_DECLS 2237s # 2237s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2237s # Error: 2237s # 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpsu648ugo/tmpo5s93lsm.list', '--body', '--quiet'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #include 2237s # 2237s # #ifdef G_ENABLE_DEBUG 2237s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2237s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2237s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2237s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2237s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2237s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2237s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2237s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2237s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2237s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2237s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2237s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2237s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2237s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2237s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2237s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2237s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2237s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2237s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2237s # #else /* !G_ENABLE_DEBUG */ 2237s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2237s # * Do not access GValues directly in your code. Instead, use the 2237s # * g_value_get_*() functions 2237s # */ 2237s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2237s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2237s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2237s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2237s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2237s # #endif /* !G_ENABLE_DEBUG */ 2237s # Error: 2237s ok 5 __main__.TestGenmarshal.test_void_boolean_int64 2237s # glib-genmarshal: /usr/bin/glib-genmarshal 2237s # tmpdir: /tmp/tmp2v5uozsn 2237s # /tmp/tmp2v5uozsn/tmpv1fnvcrx.list: VOID:BOOLEAN,INT64 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2v5uozsn/tmpv1fnvcrx.list', '--header', '--quiet'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # 2237s # #include 2237s # 2237s # G_BEGIN_DECLS 2237s # 2237s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2v5uozsn/tmpv1fnvcrx.list:1) */ 2237s # extern 2237s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 2237s # GValue *return_value, 2237s # guint n_param_values, 2237s # const GValue *param_values, 2237s # gpointer invocation_hint, 2237s # gpointer marshal_data); 2237s # 2237s # 2237s # G_END_DECLS 2237s # 2237s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2237s # Error: 2237s # 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp2v5uozsn/tmpv1fnvcrx.list', '--body', '--quiet'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #include 2237s # 2237s # #ifdef G_ENABLE_DEBUG 2237s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2237s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2237s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2237s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2237s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2237s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2237s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2237s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2237s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2237s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2237s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2237s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2237s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2237s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2237s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2237s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2237s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2237s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2237s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2237s # #else /* !G_ENABLE_DEBUG */ 2237s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2237s # * Do not access GValues directly in your code. Instead, use the 2237s # * g_value_get_*() functions 2237s # */ 2237s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2237s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2237s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2237s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2237s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2237s # #endif /* !G_ENABLE_DEBUG */ 2237s # 2237s # /* VOID:BOOLEAN,INT64 (/tmp/tmp2v5uozsn/tmpv1fnvcrx.list:1) */ 2237s # void 2237s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure, 2237s # GValue *return_value G_GNUC_UNUSED, 2237s # guint n_param_values, 2237s # const GValue *param_values, 2237s # gpointer invocation_hint G_GNUC_UNUSED, 2237s # gpointer marshal_data) 2237s # { 2237s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1, 2237s # gboolean arg1, 2237s # gint64 arg2, 2237s # gpointer data2); 2237s # GCClosure *cc = (GCClosure *) closure; 2237s # gpointer data1, data2; 2237s # GMarshalFunc_VOID__BOOLEAN_INT64 callback; 2237s # 2237s # g_return_if_fail (n_param_values == 3); 2237s # 2237s # if (G_CCLOSURE_SWAP_DATA (closure)) 2237s # { 2237s # data1 = closure->data; 2237s # data2 = g_value_peek_pointer (param_values + 0); 2237s # } 2237s # else 2237s # { 2237s # data1 = g_value_peek_pointer (param_values + 0); 2237s # data2 = closure->data; 2237s # } 2237s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback); 2237s # 2237s # callback (data1, 2237s # g_marshal_value_peek_boolean (param_values + 1), 2237s # g_marshal_value_peek_int64 (param_values + 2), 2237s # data2); 2237s # } 2237s # Error: 2237s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc 2237s # glib-genmarshal: /usr/bin/glib-genmarshal 2237s # tmpdir: /tmp/tmpgn22eohy 2237s # /tmp/tmpgn22eohy/tmpnzsgwdif.list: VOID:PARAM 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgn22eohy/tmpnzsgwdif.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # 2237s # G_BEGIN_DECLS 2237s # 2237s # /* VOID:PARAM (/tmp/tmpgn22eohy/tmpnzsgwdif.list:1) */ 2237s # extern 2237s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 2237s # GValue *return_value, 2237s # guint n_param_values, 2237s # const GValue *param_values, 2237s # gpointer invocation_hint, 2237s # gpointer marshal_data); 2237s # extern 2237s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 2237s # GValue *return_value, 2237s # gpointer instance, 2237s # va_list args, 2237s # gpointer marshal_data, 2237s # int n_params, 2237s # GType *param_types); 2237s # 2237s # 2237s # G_END_DECLS 2237s # 2237s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2237s # Error: 2237s # 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpgn22eohy/tmpnzsgwdif.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #ifdef G_ENABLE_DEBUG 2237s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2237s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2237s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2237s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2237s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2237s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2237s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2237s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2237s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2237s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2237s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2237s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2237s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2237s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2237s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2237s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2237s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2237s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2237s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2237s # #else /* !G_ENABLE_DEBUG */ 2237s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2237s # * Do not access GValues directly in your code. Instead, use the 2237s # * g_value_get_*() functions 2237s # */ 2237s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2237s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2237s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2237s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2237s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2237s # #endif /* !G_ENABLE_DEBUG */ 2237s # 2237s # /* VOID:PARAM (/tmp/tmpgn22eohy/tmpnzsgwdif.list:1) */ 2237s # void 2237s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure, 2237s # GValue *return_value G_GNUC_UNUSED, 2237s # guint n_param_values, 2237s # const GValue *param_values, 2237s # gpointer invocation_hint G_GNUC_UNUSED, 2237s # gpointer marshal_data) 2237s # { 2237s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 2237s # gpointer arg1, 2237s # gpointer data2); 2237s # GCClosure *cc = (GCClosure *) closure; 2237s # gpointer data1, data2; 2237s # GMarshalFunc_VOID__PARAM callback; 2237s # 2237s # g_return_if_fail (n_param_values == 2); 2237s # 2237s # if (G_CCLOSURE_SWAP_DATA (closure)) 2237s # { 2237s # data1 = closure->data; 2237s # data2 = g_value_peek_pointer (param_values + 0); 2237s # } 2237s # else 2237s # { 2237s # data1 = g_value_peek_pointer (param_values + 0); 2237s # data2 = closure->data; 2237s # } 2237s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 2237s # 2237s # callback (data1, 2237s # g_marshal_value_peek_param (param_values + 1), 2237s # data2); 2237s # } 2237s # 2237s # void 2237s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure, 2237s # GValue *return_value G_GNUC_UNUSED, 2237s # gpointer instance, 2237s # va_list args, 2237s # gpointer marshal_data, 2237s # int n_params, 2237s # GType *param_types) 2237s # { 2237s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1, 2237s # gpointer arg1, 2237s # gpointer data2); 2237s # GCClosure *cc = (GCClosure *) closure; 2237s # gpointer data1, data2; 2237s # GMarshalFunc_VOID__PARAM callback; 2237s # gpointer arg0; 2237s # va_list args_copy; 2237s # 2237s # va_copy (args_copy, args); 2237s # arg0 = (gpointer) va_arg (args_copy, gpointer); 2237s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2237s # arg0 = g_param_spec_ref (arg0); 2237s # va_end (args_copy); 2237s # 2237s # 2237s # if (G_CCLOSURE_SWAP_DATA (closure)) 2237s # { 2237s # data1 = closure->data; 2237s # data2 = instance; 2237s # } 2237s # else 2237s # { 2237s # data1 = instance; 2237s # data2 = closure->data; 2237s # } 2237s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback); 2237s # 2237s # callback (data1, 2237s # arg0, 2237s # data2); 2237s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2237s # g_param_spec_unref (arg0); 2237s # } 2237s # Error: 2237s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc 2237s # glib-genmarshal: /usr/bin/glib-genmarshal 2237s # tmpdir: /tmp/tmp6196urya 2237s # /tmp/tmp6196urya/tmpsko8siqt.list: VOID:STRING 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6196urya/tmpsko8siqt.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # 2237s # G_BEGIN_DECLS 2237s # 2237s # /* VOID:STRING (/tmp/tmp6196urya/tmpsko8siqt.list:1) */ 2237s # extern 2237s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 2237s # GValue *return_value, 2237s # guint n_param_values, 2237s # const GValue *param_values, 2237s # gpointer invocation_hint, 2237s # gpointer marshal_data); 2237s # extern 2237s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 2237s # GValue *return_value, 2237s # gpointer instance, 2237s # va_list args, 2237s # gpointer marshal_data, 2237s # int n_params, 2237s # GType *param_types); 2237s # 2237s # 2237s # G_END_DECLS 2237s # 2237s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2237s # Error: 2237s # 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp6196urya/tmpsko8siqt.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #ifdef G_ENABLE_DEBUG 2237s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2237s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2237s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2237s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2237s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2237s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2237s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2237s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2237s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2237s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2237s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2237s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2237s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2237s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2237s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2237s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2237s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2237s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2237s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2237s # #else /* !G_ENABLE_DEBUG */ 2237s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2237s # * Do not access GValues directly in your code. Instead, use the 2237s # * g_value_get_*() functions 2237s # */ 2237s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2237s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2237s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2237s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2237s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2237s # #endif /* !G_ENABLE_DEBUG */ 2237s # 2237s # /* VOID:STRING (/tmp/tmp6196urya/tmpsko8siqt.list:1) */ 2237s # void 2237s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure, 2237s # GValue *return_value G_GNUC_UNUSED, 2237s # guint n_param_values, 2237s # const GValue *param_values, 2237s # gpointer invocation_hint G_GNUC_UNUSED, 2237s # gpointer marshal_data) 2237s # { 2237s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 2237s # gpointer arg1, 2237s # gpointer data2); 2237s # GCClosure *cc = (GCClosure *) closure; 2237s # gpointer data1, data2; 2237s # GMarshalFunc_VOID__STRING callback; 2237s # 2237s # g_return_if_fail (n_param_values == 2); 2237s # 2237s # if (G_CCLOSURE_SWAP_DATA (closure)) 2237s # { 2237s # data1 = closure->data; 2237s # data2 = g_value_peek_pointer (param_values + 0); 2237s # } 2237s # else 2237s # { 2237s # data1 = g_value_peek_pointer (param_values + 0); 2237s # data2 = closure->data; 2237s # } 2237s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 2237s # 2237s # callback (data1, 2237s # g_marshal_value_peek_string (param_values + 1), 2237s # data2); 2237s # } 2237s # 2237s # void 2237s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure, 2237s # GValue *return_value G_GNUC_UNUSED, 2237s # gpointer instance, 2237s # va_list args, 2237s # gpointer marshal_data, 2237s # int n_params, 2237s # GType *param_types) 2237s # { 2237s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1, 2237s # gpointer arg1, 2237s # gpointer data2); 2237s # GCClosure *cc = (GCClosure *) closure; 2237s # gpointer data1, data2; 2237s # GMarshalFunc_VOID__STRING callback; 2237s # gpointer arg0; 2237s # va_list args_copy; 2237s # 2237s # va_copy (args_copy, args); 2237s # arg0 = (gpointer) va_arg (args_copy, gpointer); 2237s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2237s # arg0 = g_strdup (arg0); 2237s # va_end (args_copy); 2237s # 2237s # 2237s # if (G_CCLOSURE_SWAP_DATA (closure)) 2237s # { 2237s # data1 = closure->data; 2237s # data2 = instance; 2237s # } 2237s # else 2237s # { 2237s # data1 = instance; 2237s # data2 = closure->data; 2237s # } 2237s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback); 2237s # 2237s # callback (data1, 2237s # arg0, 2237s # data2); 2237s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2237s # g_free (arg0); 2237s # } 2237s # Error: 2237s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller 2237s # glib-genmarshal: /usr/bin/glib-genmarshal 2237s # tmpdir: /tmp/tmp7szo9rmn 2237s # /tmp/tmp7szo9rmn/tmpnb8pzdld.list: VOID:VARIANT 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7szo9rmn/tmpnb8pzdld.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ 2237s # 2237s # G_BEGIN_DECLS 2237s # 2237s # /* VOID:VARIANT (/tmp/tmp7szo9rmn/tmpnb8pzdld.list:1) */ 2237s # extern 2237s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 2237s # GValue *return_value, 2237s # guint n_param_values, 2237s # const GValue *param_values, 2237s # gpointer invocation_hint, 2237s # gpointer marshal_data); 2237s # extern 2237s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 2237s # GValue *return_value, 2237s # gpointer instance, 2237s # va_list args, 2237s # gpointer marshal_data, 2237s # int n_params, 2237s # GType *param_types); 2237s # 2237s # 2237s # G_END_DECLS 2237s # 2237s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */ 2237s # Error: 2237s # 2237s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp7szo9rmn/tmpnb8pzdld.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller'] 2237s # Return code: 0 2237s # Output: 2237s # /* 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. */ 2237s # #ifdef G_ENABLE_DEBUG 2237s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) 2237s # #define g_marshal_value_peek_char(v) g_value_get_schar (v) 2237s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) 2237s # #define g_marshal_value_peek_int(v) g_value_get_int (v) 2237s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v) 2237s # #define g_marshal_value_peek_long(v) g_value_get_long (v) 2237s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) 2237s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v) 2237s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) 2237s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v) 2237s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v) 2237s # #define g_marshal_value_peek_float(v) g_value_get_float (v) 2237s # #define g_marshal_value_peek_double(v) g_value_get_double (v) 2237s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) 2237s # #define g_marshal_value_peek_param(v) g_value_get_param (v) 2237s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) 2237s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) 2237s # #define g_marshal_value_peek_object(v) g_value_get_object (v) 2237s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v) 2237s # #else /* !G_ENABLE_DEBUG */ 2237s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. 2237s # * Do not access GValues directly in your code. Instead, use the 2237s # * g_value_get_*() functions 2237s # */ 2237s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int 2237s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint 2237s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 2237s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 2237s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long 2237s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong 2237s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float 2237s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double 2237s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer 2237s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer 2237s # #endif /* !G_ENABLE_DEBUG */ 2237s # 2237s # /* VOID:VARIANT (/tmp/tmp7szo9rmn/tmpnb8pzdld.list:1) */ 2237s # void 2237s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure, 2237s # GValue *return_value G_GNUC_UNUSED, 2237s # guint n_param_values, 2237s # const GValue *param_values, 2237s # gpointer invocation_hint G_GNUC_UNUSED, 2237s # gpointer marshal_data) 2237s # { 2237s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 2237s # gpointer arg1, 2237s # gpointer data2); 2237s # GCClosure *cc = (GCClosure *) closure; 2237s # gpointer data1, data2; 2237s # GMarshalFunc_VOID__VARIANT callback; 2237s # 2237s # g_return_if_fail (n_param_values == 2); 2237s # 2237s # if (G_CCLOSURE_SWAP_DATA (closure)) 2237s # { 2237s # data1 = closure->data; 2237s # data2 = g_value_peek_pointer (param_values + 0); 2237s # } 2237s # else 2237s # { 2237s # data1 = g_value_peek_pointer (param_values + 0); 2237s # data2 = closure->data; 2237s # } 2237s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 2237s # 2237s # callback (data1, 2237s # g_marshal_value_peek_variant (param_values + 1), 2237s # data2); 2237s # } 2237s # 2237s # void 2237s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure, 2237s # GValue *return_value G_GNUC_UNUSED, 2237s # gpointer instance, 2237s # va_list args, 2237s # gpointer marshal_data, 2237s # int n_params, 2237s # GType *param_types) 2237s # { 2237s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1, 2237s # gpointer arg1, 2237s # gpointer data2); 2237s # GCClosure *cc = (GCClosure *) closure; 2237s # gpointer data1, data2; 2237s # GMarshalFunc_VOID__VARIANT callback; 2237s # gpointer arg0; 2237s # va_list args_copy; 2237s # 2237s # va_copy (args_copy, args); 2237s # arg0 = (gpointer) va_arg (args_copy, gpointer); 2237s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2237s # arg0 = g_variant_ref_sink (arg0); 2237s # va_end (args_copy); 2237s # 2237s # 2237s # if (G_CCLOSURE_SWAP_DATA (closure)) 2237s # { 2237s # data1 = closure->data; 2237s # data2 = instance; 2237s # } 2237s # else 2237s # { 2237s # data1 = instance; 2237s # data2 = closure->data; 2237s # } 2237s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback); 2237s # 2237s # callback (data1, 2237s # arg0, 2237s # data2); 2237s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL) 2237s # g_variant_unref (arg0); 2237s # } 2237s # Error: 2237s 1..8 2237s ok - glib/genmarshal.py.test 2237s # Running test: glib/override.test 2237s TAP version 14 2237s # random seed: R02Sc9ce003660a7ca50f59710f1c583c851 2237s 1..1 2237s # Start of gobject tests 2237s # *** emitting foo on a TestA instance 2237s # Expecting: TestA::foo,TestI::foo 2237s # Got: TestA::foo,TestI::foo 2237s # *** emitting bar on a TestA instance 2237s # Expecting: TestA::bar 2237s # Got: TestA::bar 2237s # *** emitting baz on a TestA instance 2237s # Expecting: TestA::baz 2237s # Got: TestA::baz 2237s # *** emitting foo on a TestB instance 2237s # Expecting: TestB::foo,TestA::foo,TestI::foo 2237s # Got: TestB::foo,TestA::foo,TestI::foo 2237s # *** emitting bar on a TestB instance 2237s # Expecting: TestB::bar,TestA::bar 2237s # Got: TestB::bar,TestA::bar 2237s # *** emitting baz on a TestB instance 2237s # Expecting: TestB::baz,TestA::baz 2237s # Got: TestB::baz,TestA::baz 2237s # *** emitting foo on a TestC instance 2237s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo 2237s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo 2237s # *** emitting bar on a TestC instance 2237s # Expecting: TestC::bar,TestB::bar,TestA::bar 2237s # Got: TestC::bar,TestB::bar,TestA::bar 2237s # *** emitting baz on a TestC instance 2237s # Expecting: TestC::baz,TestB::baz,TestA::baz 2237s # Got: TestC::baz,TestB::baz,TestA::baz 2237s ok 1 /gobject/override 2237s # End of gobject tests 2237s ok - glib/override.test 2237s # Running test: glib/642026-ec.test 2237s TAP version 14 2237s # random seed: R02S1fedb9193031ffee12d08bfb6d37ccca 2237s 1..1 2237s # Start of glib tests 2237s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026 2237s ok 1 /glib/642026 2237s # End of glib tests 2237s ok - glib/642026-ec.test 2237s # Running test: glib/gdbus-proxy-unique-name.test 2237s TAP version 14 2237s # random seed: R02Sbe03ff35fcb013a39533b19b57f32246 2237s 1..1 2237s # Start of gdbus tests 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_I4R012/gdbus/proxy-unique-name/.dirs/runtime 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 1 /gdbus/proxy-unique-name 2237s # End of gdbus tests 2237s ok - glib/gdbus-proxy-unique-name.test 2237s # Running test: glib/guuid.test 2237s TAP version 14 2237s # random seed: R02Sfbd820bb6284c7294f4d8568b89a9cb5 2237s 1..2 2237s # Start of uuid tests 2237s ok 1 /uuid/string 2237s ok 2 /uuid/random 2237s # End of uuid tests 2237s ok - glib/guuid.test 2237s # Running test: glib/gdbus-names.test 2237s TAP version 14 2237s # random seed: R02S9cecbc285982c98a206824179e110ad8 2237s 1..10 2237s # Start of gdbus tests 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/validate-names/.dirs/runtime 2237s ok 1 /gdbus/validate-names 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/bus-own-name/.dirs/runtime 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 2 /gdbus/bus-own-name 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name/.dirs/runtime 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 3 /gdbus/bus-watch-name 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start/.dirs/runtime 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 4 /gdbus/bus-watch-name-auto-start 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s dbus-daemon[14784]: [session uid=1000 pid=14784 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=14775 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined") 2237s # Acquired a message bus connection 2237s dbus-daemon[14784]: [session uid=1000 pid=14784 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService' 2237s # Acquired the name org.gtk.GDBus.FakeService 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 5 /gdbus/bus-watch-name-auto-start-service-exist 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures/.dirs/runtime 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 6 /gdbus/bus-watch-name-closures 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 7 /gdbus/bus-watch-name-closures-auto-start 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/bus-watch-different-context/.dirs/runtime 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 8 /gdbus/bus-watch-different-context 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/bus-unwatch-early/.dirs/runtime 2237s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 9 /gdbus/bus-unwatch-early 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_KX9312/gdbus/escape-object-path/.dirs/runtime 2237s ok 10 /gdbus/escape-object-path 2237s # End of gdbus tests 2237s ok - glib/gdbus-names.test 2237s # Running test: glib/portal-support-env-var.test 2237s TAP version 14 2237s # random seed: R02S0175d79543120391c779892c0f089338 2237s 1..1 2237s # Start of portal-support tests 2237s ok 1 /portal-support/env-var 2237s # End of portal-support tests 2237s ok - glib/portal-support-env-var.test 2237s # Running test: glib/object-info.test 2237s TAP version 14 2237s # random seed: R02S59078def9e81280554b7cddd86d3a437 2237s 1..2 2237s # Start of object-info tests 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_38J312/object-info/find-method-using-interfaces/.dirs/runtime 2237s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2237s ok 1 /object-info/find-method-using-interfaces 2237s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/home 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/cache 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/system-config2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/config 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/system-data2 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/data 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/state 2237s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_38J312/object-info/find-vfunc-using-interfaces/.dirs/runtime 2237s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection 2237s ok 2 /object-info/find-vfunc-using-interfaces 2237s # End of object-info tests 2237s ok - glib/object-info.test 2237s # Running test: glib/gapplication.test 2237s TAP version 14 2237s # random seed: R02S1f68b88f1fce614fb7af3686b3ed89bb 2237s 1..24 2237s # Start of gapplication tests 2237s ok 1 /gapplication/no-dbus 2237s ok 2 /gapplication/no-appid 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 3 /gapplication/properties 2237s ok 4 /gapplication/app-id 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 5 /gapplication/quit 2237s ok 6 /gapplication/registered 2237s ok 7 /gapplication/local-actions 2237s ok 8 /gapplication/local-command-line 2237s ok 9 /gapplication/resource-path 2237s ok 10 /gapplication/test-help 2237s ok 11 /gapplication/command-line-done 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 12 /gapplication/test-busy 2237s ok 13 /gapplication/test-handle-local-options1 2237s ok 14 /gapplication/test-handle-local-options2 2237s ok 15 /gapplication/test-handle-local-options3 2237s ok 16 /gapplication/api 2237s ok 17 /gapplication/version 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # launching subprocess 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s ok 18 /gapplication/replace 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2237s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2237s # launching subprocess 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s ok 19 /gapplication/no-replace 2238s # slow test /gapplication/no-replace executed in 0.51 secs 2238s # Start of dbus tests 2238s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2238s # Message 0 2238s # Message 1 2238s # Message 2 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s ok 20 /gapplication/dbus/activate 2238s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2238s # Message 0 2238s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2238s # Message 1 2238s # Message 2 2238s # Message 3 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s ok 21 /gapplication/dbus/open 2238s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2238s # Message 0 2238s # Message 1 2238s # Message 2 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s ok 22 /gapplication/dbus/command-line 2238s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s ok 23 /gapplication/dbus/command-line-done 2238s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2238s # Message 0 2238s # Message 1 2238s # Message 2 2238s # Message 3 2238s # Message 4 2238s # Message 5 2238s # Message 6 2238s # Message 7 2238s # Message 8 2238s # Message 9 2238s # Message 10 2238s # Message 11 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2238s ok 24 /gapplication/dbus/activate-action 2238s # End of dbus tests 2238s # End of gapplication tests 2238s ok - glib/gapplication.test 2238s # Running test: glib/assert-msg-test.py.test 2238s TAP version 13 2238s ok 1 __main__.TestAssertMessage.test_gassert 2238s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 2238s # tmpdir: /tmp/tmpfezuy6ei 2238s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test'] 2238s # Return code: -6 2238s # Output: 2238s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 2238s # Error: 2238s # ** 2238s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0) 2238s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test! 2238s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test 2238s # tmpdir: /tmp/tmp7ipp5yyj 2238s 1..2 2238s ok - glib/assert-msg-test.py.test 2238s # Running test: glib/portal-support-none.test 2238s TAP version 14 2238s # random seed: R02S80a8bad5566ab76630de7458c40620e9 2238s 1..1 2238s # Start of portal-support tests 2238s ok 1 /portal-support/none 2238s # End of portal-support tests 2238s ok - glib/portal-support-none.test 2238s # Running test: glib/glistmodel.test 2238s TAP version 14 2238s # random seed: R02S4d6f9758ff429e9692e9f66440a1f4b5 2238s 1..18 2238s # Start of glistmodel tests 2238s # Start of store tests 2238s ok 1 /glistmodel/store/properties 2238s ok 2 /glistmodel/store/non-gobjects 2238s ok 3 /glistmodel/store/boundaries 2238s ok 4 /glistmodel/store/refcounts 2238s ok 5 /glistmodel/store/sorted 2238s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 2238s ok 6 /glistmodel/store/splice-replace-middle 2238s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307 2238s ok 7 /glistmodel/store/splice-replace-all 2238s ok 8 /glistmodel/store/splice-noop 2238s ok 9 /glistmodel/store/splice-remove-multiple 2238s ok 10 /glistmodel/store/splice-add-multiple 2238s ok 11 /glistmodel/store/splice-wrong-type 2238s ok 12 /glistmodel/store/item-type 2238s ok 13 /glistmodel/store/remove-all 2238s ok 14 /glistmodel/store/sort 2238s ok 15 /glistmodel/store/get-item-cache 2238s ok 16 /glistmodel/store/items-changed 2238s ok 17 /glistmodel/store/past-end 2238s ok 18 /glistmodel/store/find 2238s # End of store tests 2238s # End of glistmodel tests 2238s ok - glib/glistmodel.test 2238s # Running test: glib/gnotification.test 2238s TAP version 14 2238s # random seed: R02Scc88b001d92b1393c345dc5f5a7be963 2238s 1..2 2238s # Start of gnotification tests 2238s ok 1 /gnotification/basic 2238s ok 2 /gnotification/properties 2238s # End of gnotification tests 2238s ok - glib/gnotification.test 2238s cleaning up pid 14842 2238s # SUMMARY: total=323; passed=322; skipped=1; failed=0; user=339.6s; system=100.8s; maxrss=141056 2238s autopkgtest [05:28:38]: test installed-tests: -----------------------] 2243s autopkgtest [05:28:43]: test installed-tests: - - - - - - - - - - results - - - - - - - - - - 2243s installed-tests PASS 2248s autopkgtest [05:28:48]: test closure-refcount: preparing testbed 2250s Reading package lists... 2250s Building dependency tree... 2250s Reading state information... 2250s Starting pkgProblemResolver with broken count: 0 2251s Starting 2 pkgProblemResolver with broken count: 0 2251s Done 2251s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2260s autopkgtest [05:29:00]: test closure-refcount: [----------------------- 2263s Running test: glib/closure-refcount.test 2263s TAP version 14 2263s # random seed: R02Scd811701e1324409181eabd0d59ca65e 2263s 1..1 2263s # Start of closure tests 2263s ok 1 /closure/refcount # SKIP Known to be flaky on arm* (#880883, #917983) 2263s # End of closure tests 2263s PASS: glib/closure-refcount.test 2263s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2432 2263s autopkgtest [05:29:03]: test closure-refcount: -----------------------] 2267s autopkgtest [05:29:07]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - - 2267s closure-refcount PASS 2272s autopkgtest [05:29:12]: test debugcontroller: preparing testbed 2274s Reading package lists... 2274s Building dependency tree... 2274s Reading state information... 2274s Starting pkgProblemResolver with broken count: 0 2274s Starting 2 pkgProblemResolver with broken count: 0 2274s Done 2275s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2284s autopkgtest [05:29:24]: test debugcontroller: [----------------------- 2286s Running test: glib/debugcontroller.test 2286s TAP version 14 2286s # random seed: R02Sdc1de68cb41f962b572da348281bb5bb 2286s 1..3 2286s # Start of debug-controller tests 2286s # Start of dbus tests 2286s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus. 2286s # GLib-GIO-DEBUG: Debug output enabled 2286s # GLib-GIO-DEBUG: Debug output disabled 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s ok 1 /debug-controller/dbus/basic 2286s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails. 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s ok 2 /debug-controller/dbus/duplicate 2286s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus. 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2286s # GLib-GIO-DEBUG: Debug output enabled 2286s # GLib-GIO-DEBUG: Debug output disabled 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2286s ok 3 /debug-controller/dbus/properties 2286s # End of dbus tests 2286s # End of debug-controller tests 2286s PASS: glib/debugcontroller.test 2286s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4608 2286s autopkgtest [05:29:26]: test debugcontroller: -----------------------] 2290s autopkgtest [05:29:30]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - - 2290s debugcontroller PASS 2294s autopkgtest [05:29:34]: test gdbus-server-auth: preparing testbed 2296s Reading package lists... 2296s Building dependency tree... 2296s Reading state information... 2297s Starting pkgProblemResolver with broken count: 0 2297s Starting 2 pkgProblemResolver with broken count: 0 2297s Done 2298s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2306s autopkgtest [05:29:46]: test gdbus-server-auth: [----------------------- 2308s Running test: glib/gdbus-server-auth.test 2308s TAP version 14 2308s # random seed: R02Sf41d4c5e58f2f3853cc36e24a1ab3c6a 2308s 1..9 2308s # Start of gdbus tests 2308s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/home 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/cache 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/system-config2 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/config 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/system-data2 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/data 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/state 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/.dirs/runtime 2308s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-KUGE22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false 2308s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-KUGE22/dbus-hAaKm98f 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15432 2308s ok 1 /gdbus/server-auth 2308s # Start of server-auth tests 2308s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/home 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/cache 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/system-config2 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/config 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/system-data2 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/data 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/state 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/abstract/.dirs/runtime 2308s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-PHMI22 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false 2308s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-PHMI22/dbus-jWkLbYmC 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15432 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2308s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15432 2308s ok 2 /gdbus/server-auth/abstract 2308s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/home 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/cache 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/system-config2 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/config 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/system-data2 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/data 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/state 2308s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/tcp/.dirs/runtime 2308s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true 2308s # Connectable address: tcp:host=127.0.0.1,port=43577 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 2308s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2308s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2308s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2308s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2308s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2308s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2309s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2309s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2309s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2309s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2309s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2309s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication 2309s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication 2309s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 2309s ok 3 /gdbus/server-auth/tcp 2309s # slow test /gdbus/server-auth/tcp executed in 0.87 secs 2309s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/home 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/cache 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/system-config2 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/config 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/system-data2 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/data 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/state 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/.dirs/runtime 2309s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-OPNF22 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false 2309s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-OPNF22/dbus-JGvvSjLb 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15432 2309s ok 4 /gdbus/server-auth/anonymous 2309s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/home 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/cache 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/system-config2 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/config 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/system-data2 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/data 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/state 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/.dirs/runtime 2309s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-ZW9E22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2309s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-ZW9E22/dbus-hngwxLRQ 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2309s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15432 2309s ok 5 /gdbus/server-auth/external 2309s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/home 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/cache 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/system-config2 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/config 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/system-data2 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/data 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/state 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/.dirs/runtime 2309s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-U27F22 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false 2309s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-U27F22/dbus-44jECNS4 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15432 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2309s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15432 2309s ok 6 /gdbus/server-auth/sha1 2309s # Start of anonymous tests 2309s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/home 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/cache 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/system-config2 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/config 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/system-data2 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/data 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/state 2309s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/anonymous/tcp/.dirs/runtime 2309s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true 2309s # Connectable address: tcp:host=127.0.0.1,port=42451 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 2309s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2309s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2309s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2309s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2309s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 2310s ok 7 /gdbus/server-auth/anonymous/tcp 2310s # slow test /gdbus/server-auth/anonymous/tcp executed in 0.84 secs 2310s # End of anonymous tests 2310s # Start of external tests 2310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/home 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/cache 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/system-config2 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/config 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/system-data2 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/data 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/state 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/external/require-same-user/.dirs/runtime 2310s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-TX5C22 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false 2310s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_PSGE22/gdbus-server-auth-TX5C22/dbus-YbK5JX94 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 15432 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL 2310s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=15432,uid=1000,gid=1000 2310s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 15432 2310s ok 8 /gdbus/server-auth/external/require-same-user 2310s # End of external tests 2310s # Start of sha1 tests 2310s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/home 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/cache 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/system-config2 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/config 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/system-data2 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/data 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/state 2310s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_PSGE22/gdbus/server-auth/sha1/tcp/.dirs/runtime 2310s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true 2310s # Connectable address: tcp:host=127.0.0.1,port=36871 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1 2310s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created 2310s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication 2310s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1 2310s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0 2310s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1 2310s ok 9 /gdbus/server-auth/sha1/tcp 2310s # slow test /gdbus/server-auth/sha1/tcp executed in 0.86 secs 2310s # End of sha1 tests 2310s # End of server-auth tests 2310s # End of gdbus tests 2310s PASS: glib/gdbus-server-auth.test 2310s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.1s; maxrss=5504 2311s autopkgtest [05:29:51]: test gdbus-server-auth: -----------------------] 2315s autopkgtest [05:29:55]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - - 2315s gdbus-server-auth PASS 2319s autopkgtest [05:29:59]: test gdbus-threading: preparing testbed 2321s Reading package lists... 2321s Building dependency tree... 2321s Reading state information... 2321s Starting pkgProblemResolver with broken count: 0 2321s Starting 2 pkgProblemResolver with broken count: 0 2321s Done 2322s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2330s autopkgtest [05:30:10]: test gdbus-threading: [----------------------- 2333s Running test: glib/gdbus-threading.test 2333s TAP version 14 2333s # random seed: R02S3420e0764fcad9dc1e0e59891478b1a6 2333s 1..3 2333s # Start of gdbus tests 2333s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/home 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/cache 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/system-config2 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/config 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/system-data2 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/data 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/state 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_6WHC22/gdbus/delivery-in-thread/.dirs/runtime 2333s ok 1 /gdbus/delivery-in-thread 2333s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/home 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/cache 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/system-config2 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/config 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/system-data2 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/data 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/state 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_6WHC22/gdbus/method-calls-in-thread/.dirs/runtime 2333s ok 2 /gdbus/method-calls-in-thread 2333s # slow test /gdbus/method-calls-in-thread executed in 0.85 secs 2333s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/home 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/cache 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/system-config2 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/config 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/system-data2 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/data 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/state 2333s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_6WHC22/gdbus/threaded-singleton/.dirs/runtime 2335s ok 3 /gdbus/threaded-singleton 2335s # slow test /gdbus/threaded-singleton executed in 1.33 secs 2335s # End of gdbus tests 2335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2335s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2335s PASS: glib/gdbus-threading.test 2335s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.4s; maxrss=4224 2335s autopkgtest [05:30:15]: test gdbus-threading: -----------------------] 2339s gdbus-threading PASS 2339s autopkgtest [05:30:19]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - - 2343s autopkgtest [05:30:23]: test gmenumodel: preparing testbed 2345s Reading package lists... 2345s Building dependency tree... 2345s Reading state information... 2346s Starting pkgProblemResolver with broken count: 0 2346s Starting 2 pkgProblemResolver with broken count: 0 2346s Done 2347s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2355s autopkgtest [05:30:35]: test gmenumodel: [----------------------- 2357s Running test: glib/gmenumodel.test 2357s TAP version 14 2357s # random seed: R02S784a731e5a7691c6add709384a788ab7 2357s 1..15 2357s # Start of gmenu tests 2358s ok 1 /gmenu/equality 2358s # slow test /gmenu/equality executed in 0.89 secs 2359s ok 2 /gmenu/random 2359s # slow test /gmenu/random executed in 1.20 secs 2359s ok 3 /gmenu/attributes 2359s ok 4 /gmenu/links 2359s ok 5 /gmenu/mutable 2359s ok 6 /gmenu/convenience 2359s ok 7 /gmenu/menuitem 2359s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861 2359s ok 8 /gmenu/input-validation 2359s # Start of dbus tests 2360s ok 9 /gmenu/dbus/roundtrip 2360s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs 2361s ok 10 /gmenu/dbus/subscriptions 2362s ok 11 /gmenu/dbus/threaded 2362s # slow test /gmenu/dbus/threaded executed in 1.16 secs 2362s # Start of peer tests 2362s Executing: glib/gmenumodel.test 2363s ok 12 /gmenu/dbus/peer/roundtrip 2363s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs 2363s ok 13 /gmenu/dbus/peer/subscriptions 2363s # End of peer tests 2363s # Start of export tests 2363s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works 2363s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366 2363s ok 14 /gmenu/dbus/export/error-handling 2363s # End of export tests 2363s # End of dbus tests 2363s # Start of attributes tests 2363s ok 15 /gmenu/attributes/iterate 2363s # End of attributes tests 2363s # End of gmenu tests 2363s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2363s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2363s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2363s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2363s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created 2363s PASS: glib/gmenumodel.test 2363s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=4.8s; system=1.1s; maxrss=12032 2364s autopkgtest [05:30:44]: test gmenumodel: -----------------------] 2368s gmenumodel PASS 2368s autopkgtest [05:30:48]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - - 2371s autopkgtest [05:30:51]: test mainloop: preparing testbed 2373s Reading package lists... 2374s Building dependency tree... 2374s Reading state information... 2374s Starting pkgProblemResolver with broken count: 0 2374s Starting 2 pkgProblemResolver with broken count: 0 2374s Done 2375s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2383s autopkgtest [05:31:03]: test mainloop: [----------------------- 2385s Running test: glib/mainloop.test 2385s TAP version 14 2385s # random seed: R02S85b489c7aca7a1edbee38885ea960314 2385s 1..45 2385s # Start of maincontext tests 2385s ok 1 /maincontext/basic 2385s # Add same-priority sources: 30 2385s # Find each source: 3 2385s # Remove in random order: 41 2385s ok 2 /maincontext/nsources_same_priority 2385s # Add different-priority sources: 37 2385s # Find each source: 3 2385s # Remove in random order: 44 2385s ok 3 /maincontext/nsources_different_priority 2386s # Add sources from threads: 99 2386s # Remove sources from threads: 102 2386s ok 4 /maincontext/nsources_threadpool 2386s ok 5 /maincontext/source_finalization 2386s # /maincontext/idle-once summary: Test g_idle_add_once() works 2386s ok 6 /maincontext/idle-once 2386s # /maincontext/timeout-once summary: Test g_timeout_add_once() works 2386s ok 7 /maincontext/timeout-once 2386s # Start of source_finalization_from_source tests 2386s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 8 /maincontext/source_finalization_from_source/0 2386s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 9 /maincontext/source_finalization_from_source/1 2386s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 10 /maincontext/source_finalization_from_source/2 2386s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 11 /maincontext/source_finalization_from_source/3 2386s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 12 /maincontext/source_finalization_from_source/4 2386s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 13 /maincontext/source_finalization_from_source/5 2386s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 14 /maincontext/source_finalization_from_source/6 2386s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 15 /maincontext/source_finalization_from_source/7 2386s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 16 /maincontext/source_finalization_from_source/8 2386s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works. 2386s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353 2386s ok 17 /maincontext/source_finalization_from_source/9 2386s # End of source_finalization_from_source tests 2386s # Start of source_finalization_from_dispatch tests 2386s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2386s ok 18 /maincontext/source_finalization_from_dispatch/0 2386s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2386s ok 19 /maincontext/source_finalization_from_dispatch/1 2386s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works. 2386s ok 20 /maincontext/source_finalization_from_dispatch/2 2386s # End of source_finalization_from_dispatch tests 2386s # End of maincontext tests 2386s # Start of mainloop tests 2386s ok 21 /mainloop/basic 2386s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test 2386s ok 23 /mainloop/priorities 2386s ok 24 /mainloop/invoke 2386s # slow test /mainloop/invoke executed in 0.50 secs 2387s ok 25 /mainloop/child_sources 2387s # slow test /mainloop/child_sources executed in 1.21 secs 2390s ok 26 /mainloop/recursive_child_sources 2390s # slow test /mainloop/recursive_child_sources executed in 2.24 secs 2390s ok 27 /mainloop/recursive_loop_child_sources 2390s ok 28 /mainloop/swapping_child_sources 2390s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283 2390s ok 29 /mainloop/blocked_child_sources 2390s Executing: glib/mainloop.test 2391s ok 30 /mainloop/source_time 2391s # slow test /mainloop/source_time executed in 1.00 secs 2391s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098 2391s ok 31 /mainloop/overflow 2391s ok 32 /mainloop/ready-time 2391s # slow test /mainloop/ready-time executed in 0.50 secs 2391s ok 33 /mainloop/wakeup 2391s ok 34 /mainloop/remove-invalid 2391s ok 35 /mainloop/unref-while-pending 2392s ok 36 /mainloop/unix-fd 2392s # slow test /mainloop/unix-fd executed in 0.96 secs 2392s ok 37 /mainloop/unix-fd-source 2392s ok 38 /mainloop/source-unix-fd-api 2392s ok 39 /mainloop/wait 2392s ok 40 /mainloop/unix-file-poll 2392s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592 2392s ok 41 /mainloop/unix-fd-priority 2392s ok 42 /mainloop/nfds 2392s ok 43 /mainloop/steal-fd 2392s # Start of ownerless-polling tests 2392s ok 44 /mainloop/ownerless-polling/attach-first 2392s ok 45 /mainloop/ownerless-polling/pop-first 2392s # End of ownerless-polling tests 2392s # End of mainloop tests 2392s PASS: glib/mainloop.test 2392s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=1.0s; system=1.2s; maxrss=9540 2393s autopkgtest [05:31:13]: test mainloop: -----------------------] 2397s autopkgtest [05:31:17]: test mainloop: - - - - - - - - - - results - - - - - - - - - - 2397s mainloop PASS 2401s autopkgtest [05:31:21]: test memory-monitor-dbus: preparing testbed 2403s Reading package lists... 2403s Building dependency tree... 2403s Reading state information... 2403s Starting pkgProblemResolver with broken count: 0 2403s Starting 2 pkgProblemResolver with broken count: 0 2403s Done 2404s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2412s autopkgtest [05:31:32]: test memory-monitor-dbus: [----------------------- 2414s Running test: glib/memory-monitor-dbus.test 2414s TAP version 13 2414s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal 2414s # Received memory warning signal, level 2414s # Received memory warning signal, level 2414s # Received memory warning signal, level 2414s 1..1 2414s PASS: glib/memory-monitor-dbus.test 2414s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=20516 2415s autopkgtest [05:31:35]: test memory-monitor-dbus: -----------------------] 2419s autopkgtest [05:31:39]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - - 2419s memory-monitor-dbus PASS 2423s autopkgtest [05:31:43]: test socket: preparing testbed 2425s Reading package lists... 2425s Building dependency tree... 2425s Reading state information... 2425s Starting pkgProblemResolver with broken count: 0 2426s Starting 2 pkgProblemResolver with broken count: 0 2426s Done 2426s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2435s autopkgtest [05:31:55]: test socket: [----------------------- 2437s Running test: glib/socket.test 2437s TAP version 14 2437s # random seed: R02S408f3635fc905bbb96449daabebbcfc9 2437s 1..28 2437s # Start of socket tests 2438s ok 1 /socket/ipv4_sync 2438s # slow test /socket/ipv4_sync executed in 1.00 secs 2439s ok 2 /socket/ipv4_async 2439s # slow test /socket/ipv4_async executed in 1.00 secs 2439s ok 3 /socket/ipv6_sync 2439s ok 4 /socket/ipv6_async 2439s ok 5 /socket/ipv6_v4mapped 2440s ok 6 /socket/close_graceful 2440s # slow test /socket/close_graceful executed in 1.00 secs 2440s ok 7 /socket/timed_wait # SKIP Not running timing heavy test 2440s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707 2440s ok 8 /socket/fd_reuse 2440s ok 9 /socket/address 2440s ok 10 /socket/unix-from-fd 2440s ok 11 /socket/unix-connection 2440s ok 12 /socket/unix-connection-ancillary-data 2440s ok 13 /socket/source-postmortem 2440s ok 14 /socket/read_write 2440s ok 15 /socket/read_writev 2440s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes() 2440s ok 16 /socket/receive_bytes 2440s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from() 2440s ok 17 /socket/receive_bytes_from 2440s # Start of ipv4_sync tests 2440s ok 18 /socket/ipv4_sync/datagram 2440s # Start of datagram tests 2441s ok 19 /socket/ipv4_sync/datagram/timeouts 2441s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs 2441s # End of datagram tests 2441s # End of ipv4_sync tests 2441s # Start of ipv6_sync tests 2441s ok 20 /socket/ipv6_sync/datagram 2441s # Start of datagram tests 2442s ok 21 /socket/ipv6_sync/datagram/timeouts 2442s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs 2442s # End of datagram tests 2442s # End of ipv6_sync tests 2442s # Start of reuse tests 2442s ok 22 /socket/reuse/tcp 2442s ok 23 /socket/reuse/udp 2442s # End of reuse tests 2442s # Start of get_available tests 2442s ok 24 /socket/get_available/datagram 2442s ok 25 /socket/get_available/stream 2442s # End of get_available tests 2442s # Start of credentials tests 2442s # Supported on this OS: GCredentials:linux-ucred:pid=0 2442s ok 26 /socket/credentials/tcp_client 2442s # Supported on this OS: GCredentials:linux-ucred:pid=0 2442s ok 27 /socket/credentials/tcp_server 2442s # Supported on this OS: GCredentials:linux-ucred:pid=17490,uid=1000,gid=1000 2442s ok 28 /socket/credentials/unix_socketpair 2442s # End of credentials tests 2442s # End of socket tests 2442s PASS: glib/socket.test 2442s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3968 2442s autopkgtest [05:32:02]: test socket: -----------------------] 2447s socket PASS 2447s autopkgtest [05:32:07]: test socket: - - - - - - - - - - results - - - - - - - - - - 2451s autopkgtest [05:32:11]: test testfilemonitor: preparing testbed 2453s Reading package lists... 2453s Building dependency tree... 2453s Reading state information... 2453s Starting pkgProblemResolver with broken count: 0 2454s Starting 2 pkgProblemResolver with broken count: 0 2454s Done 2455s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2463s autopkgtest [05:32:23]: test testfilemonitor: [----------------------- 2465s Running test: glib/testfilemonitor.test 2465s TAP version 14 2465s # random seed: R02S2468c2ac74dfa2de3e4ad660481fa48a 2465s 1..8 2465s # Start of monitor tests 2465s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs? 2465s # Using temporary directory: /tmp/gio-test-testfilemonitor_FHUD22 2465s # Using GFileMonitor GInotifyFileMonitor 2467s ok 1 /monitor/atomic-replace 2467s # slow test /monitor/atomic-replace executed in 2.00 secs 2467s # Using temporary directory: /tmp/gio-test-testfilemonitor_J6YE22 2467s # Using GFileMonitor GInotifyFileMonitor 2469s ok 2 /monitor/file-changes 2469s # slow test /monitor/file-changes executed in 2.50 secs 2469s # Using temporary directory: /tmp/gio-test-testfilemonitor_XYX212 2469s # Using GFileMonitor GInotifyFileMonitor 2470s Executing: glib/testfilemonitor.test 2473s ok 3 /monitor/dir-monitor 2473s # slow test /monitor/dir-monitor executed in 3.50 secs 2473s # Using temporary directory: /tmp/gio-test-testfilemonitor_ZGSE22 2473s # Using GFileMonitor GInotifyFileMonitor 2475s Executing: glib/testfilemonitor.test 2480s Executing: glib/testfilemonitor.test 2485s Executing: glib/testfilemonitor.test 2490s Executing: glib/testfilemonitor.test 2495s Executing: glib/testfilemonitor.test 2498s ok 4 /monitor/dir-not-existent 2498s # slow test /monitor/dir-not-existent executed in 25.02 secs 2498s # Using temporary directory: /tmp/gio-test-testfilemonitor_GALE22 2498s # Using GFileMonitor 0 GInotifyFileMonitor 2498s # Using GFileMonitor 1 GInotifyFileMonitor 2500s ok 5 /monitor/cross-dir-moves 2500s # slow test /monitor/cross-dir-moves executed in 2.00 secs 2500s # Using temporary directory: /tmp/gio-test-testfilemonitor_7YII22 2500s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock. 2500s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941 2500s ok 6 /monitor/finalize-in-callback 2500s # Using temporary directory: /tmp/gio-test-testfilemonitor_GRMI22 2500s # /monitor/root summary: Test that GFileMonitor can monitor the root directory. 2500s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241 2500s ok 7 /monitor/root 2500s # Start of file tests 2500s # Using temporary directory: /tmp/gio-test-testfilemonitor_EPMI22 2500s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721 2500s # Running with hard link tests 2500s # Using GFileMonitor GInotifyFileMonitor 2500s Executing: glib/testfilemonitor.test 2503s # Event 0 at expected index 7 skipped because it is marked as optional 2503s # Event 2 at expected index 11 skipped because it is marked as optional 2503s ok 8 /monitor/file/hard-links 2503s # slow test /monitor/file/hard-links executed in 3.50 secs 2503s # End of file tests 2503s # End of monitor tests 2503s PASS: glib/testfilemonitor.test 2503s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=4224 2504s autopkgtest [05:33:04]: test testfilemonitor: -----------------------] 2508s autopkgtest [05:33:08]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - - 2508s testfilemonitor PASS 2512s autopkgtest [05:33:12]: test thread-pool-slow: preparing testbed 2514s Reading package lists... 2514s Building dependency tree... 2514s Reading state information... 2514s Starting pkgProblemResolver with broken count: 0 2514s Starting 2 pkgProblemResolver with broken count: 0 2514s Done 2515s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2523s autopkgtest [05:33:23]: test thread-pool-slow: [----------------------- 2525s Running test: glib/thread-pool-slow.test 2525s TAP version 14 2525s # random seed: R02S48ec1f84806c663cc7c142146dab1a70 2525s 1..7 2525s # Start of threadpool tests 2525s ok 1 /threadpool/functions 2526s ok 2 /threadpool/stop-unused 2526s # slow test /threadpool/stop-unused executed in 0.52 secs 2526s ok 3 /threadpool/pools 2526s # [unsorted] ===> pushed new thread with id:42, number of threads:1, unprocessed:1 2526s # [unsorted] ===> pushed new thread with id:52, number of threads:2, unprocessed:2 2526s # [unsorted] ===> pushed new thread with id:63, number of threads:3, unprocessed:1 2526s # [unsorted] ===> pushed new thread with id:4, number of threads:4, unprocessed:2 2526s # [unsorted] ===> pushed new thread with id:68, number of threads:5, unprocessed:3 2526s # [unsorted] ===> pushed new thread with id:25, number of threads:6, unprocessed:4 2526s # [unsorted] ===> pushed new thread with id:2, number of threads:7, unprocessed:5 2526s # [unsorted] ===> pushed new thread with id:88, number of threads:8, unprocessed:5 2526s # [unsorted] ===> pushed new thread with id:49, number of threads:9, unprocessed:5 2526s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:6 2526s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:4 2526s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:4 2526s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:5 2526s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:5 2526s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:5 2526s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:6 2526s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:7 2526s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:8 2526s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:9 2526s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:10 2526s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:11 2526s # [unsorted] ===> pushed new thread with id:27, number of threads:10, unprocessed:12 2526s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:13 2526s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:14 2526s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:15 2526s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:16 2526s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:17 2526s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:18 2526s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:19 2526s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:20 2526s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:21 2526s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:22 2526s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:23 2526s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:24 2526s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:25 2526s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:26 2526s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:27 2526s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:28 2526s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:29 2526s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:30 2526s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:31 2526s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:32 2526s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:33 2526s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:34 2526s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:35 2526s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:36 2526s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:37 2526s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:38 2526s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:39 2526s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:40 2526s # [unsorted] ===> pushed new thread with id:66, number of threads:10, unprocessed:41 2526s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:42 2526s # [unsorted] ===> pushed new thread with id:12, number of threads:10, unprocessed:43 2526s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:44 2526s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:45 2526s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:46 2526s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:47 2526s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:48 2526s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:49 2526s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:50 2526s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:51 2526s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:52 2526s # [unsorted] ===> pushed new thread with id:30, number of threads:10, unprocessed:53 2526s # [unsorted] ===> pushed new thread with id:63, number of threads:10, unprocessed:54 2526s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:55 2526s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:56 2526s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:57 2526s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:58 2526s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:59 2526s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:60 2526s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:61 2526s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:62 2526s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:63 2526s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:64 2526s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:65 2526s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:66 2526s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:67 2526s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:68 2526s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:69 2526s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:70 2526s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:71 2526s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:72 2526s # [unsorted] ===> pushed new thread with id:73, number of threads:10, unprocessed:73 2526s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:74 2526s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:75 2526s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:76 2526s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:77 2526s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:78 2526s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:79 2526s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:80 2526s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:81 2526s # [unsorted] ===> pushed new thread with id:92, number of threads:10, unprocessed:82 2526s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:83 2526s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:84 2526s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:85 2526s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:86 2526s # [unsorted] ===> pushed new thread with id:57, number of threads:10, unprocessed:87 2526s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:88 2526s # [unsorted] ===> pushed new thread with id:56, number of threads:10, unprocessed:89 2526s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:90 2526s ok 4 /threadpool/no-sort 2526s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:1 2526s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:2 2526s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:3 2526s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:4 2526s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:5 2526s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:6 2526s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:7 2526s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:8 2526s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:9 2526s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:10 2526s # [ sorted] ===> pushed new thread with id:27, number of threads:0, unprocessed:11 2526s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:12 2526s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:13 2526s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:14 2526s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:15 2526s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:16 2526s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:17 2526s # [ sorted] ===> pushed new thread with id:65, number of threads:0, unprocessed:18 2526s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:19 2526s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:20 2526s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:21 2526s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:22 2526s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:23 2526s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:24 2526s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:25 2526s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:26 2526s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:27 2526s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:28 2526s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:29 2526s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:30 2526s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:31 2526s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:32 2526s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:33 2526s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:34 2526s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:35 2526s # [ sorted] ===> pushed new thread with id:43, number of threads:0, unprocessed:36 2526s # [ sorted] ===> pushed new thread with id:23, number of threads:0, unprocessed:37 2526s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:38 2526s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:39 2526s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:40 2526s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:41 2526s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:42 2526s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:43 2526s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:44 2526s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:45 2526s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:46 2526s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:47 2526s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:48 2526s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:49 2526s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:50 2526s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:51 2526s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:52 2526s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:53 2526s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:54 2526s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:55 2526s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:56 2526s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:57 2526s # [ sorted] ===> pushed new thread with id:42, number of threads:0, unprocessed:58 2526s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:59 2526s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:60 2526s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:61 2526s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:62 2526s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:63 2526s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:64 2526s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:65 2526s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:66 2526s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:67 2526s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:68 2526s # [ sorted] ===> pushed new thread with id:50, number of threads:0, unprocessed:69 2526s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:70 2526s # [ sorted] ===> pushed new thread with id:13, number of threads:0, unprocessed:71 2526s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:72 2526s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:73 2526s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:74 2526s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:75 2526s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:76 2526s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:77 2526s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:78 2526s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:79 2526s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:80 2526s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:81 2526s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:82 2526s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:83 2526s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:84 2526s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:85 2526s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:86 2526s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:87 2526s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:88 2526s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:89 2526s # [ sorted] ===> pushed new thread with id:86, number of threads:0, unprocessed:90 2526s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:91 2526s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:92 2526s # [ sorted] ===> pushed new thread with id:39, number of threads:0, unprocessed:93 2526s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:94 2526s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:95 2526s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:96 2526s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:97 2526s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:98 2526s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:99 2526s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:100 2526s # Starting thread pool processing 2526s ok 5 /threadpool/sort 2526s ok 6 /threadpool/stop-unused-multiple 2526s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs 2526s # Pool idle thread count: 0, unprocessed jobs: 43 2527s # Pool idle thread count: 0, unprocessed jobs: 0 2527s # Pool idle thread count: 0, unprocessed jobs: 0 2527s # Pool idle thread count: 10, unprocessed jobs: 0 2527s # Pool idle thread count: 10, unprocessed jobs: 0 2528s # Pool idle thread count: 10, unprocessed jobs: 0 2528s # Pool idle thread count: 10, unprocessed jobs: 0 2528s # Pool idle thread count: 10, unprocessed jobs: 0 2528s # Pool idle thread count: 10, unprocessed jobs: 0 2529s # Pool idle thread count: 10, unprocessed jobs: 0 2529s # Pool idle thread count: 10, unprocessed jobs: 0 2529s # Pool idle thread count: 10, unprocessed jobs: 0 2529s # Pool idle thread count: 10, unprocessed jobs: 0 2530s # Pool idle thread count: 10, unprocessed jobs: 0 2530s # Pool idle thread count: 10, unprocessed jobs: 0 2530s Executing: glib/thread-pool-slow.test 2530s # Pool idle thread count: 10, unprocessed jobs: 0 2530s # Pool idle thread count: 10, unprocessed jobs: 0 2531s # Pool idle thread count: 10, unprocessed jobs: 0 2531s # Pool idle thread count: 10, unprocessed jobs: 0 2531s # Pool idle thread count: 10, unprocessed jobs: 0 2531s # Pool idle thread count: 10, unprocessed jobs: 0 2532s # Pool idle thread count: 10, unprocessed jobs: 0 2532s # Pool idle thread count: 10, unprocessed jobs: 0 2532s # Pool idle thread count: 10, unprocessed jobs: 0 2532s # Pool idle thread count: 10, unprocessed jobs: 0 2533s # Pool idle thread count: 10, unprocessed jobs: 0 2533s # Pool idle thread count: 10, unprocessed jobs: 0 2533s # Pool idle thread count: 10, unprocessed jobs: 0 2533s # Pool idle thread count: 10, unprocessed jobs: 0 2534s # Pool idle thread count: 10, unprocessed jobs: 0 2534s # Pool idle thread count: 10, unprocessed jobs: 0 2534s # Pool idle thread count: 10, unprocessed jobs: 0 2534s # Pool idle thread count: 10, unprocessed jobs: 0 2535s # Pool idle thread count: 10, unprocessed jobs: 0 2535s # Pool idle thread count: 10, unprocessed jobs: 0 2535s Executing: glib/thread-pool-slow.test 2535s # Pool idle thread count: 10, unprocessed jobs: 2 2535s # Pool idle thread count: 8, unprocessed jobs: 0 2535s # Pool idle thread count: 8, unprocessed jobs: 0 2535s # Pool idle thread count: 8, unprocessed jobs: 0 2536s # Pool idle thread count: 10, unprocessed jobs: 0 2536s # Pool idle thread count: 10, unprocessed jobs: 0 2536s # Pool idle thread count: 10, unprocessed jobs: 0 2536s # Pool idle thread count: 10, unprocessed jobs: 0 2537s # Pool idle thread count: 10, unprocessed jobs: 0 2537s # Pool idle thread count: 10, unprocessed jobs: 0 2537s # Pool idle thread count: 2, unprocessed jobs: 0 2537s # Pool idle thread count: 2, unprocessed jobs: 0 2538s # Pool idle thread count: 2, unprocessed jobs: 0 2538s # Pool idle thread count: 2, unprocessed jobs: 0 2538s # Pool idle thread count: 2, unprocessed jobs: 0 2538s # Pool idle thread count: 2, unprocessed jobs: 0 2539s # Pool idle thread count: 2, unprocessed jobs: 0 2539s # Pool idle thread count: 2, unprocessed jobs: 0 2539s # Pool idle thread count: 2, unprocessed jobs: 0 2539s # Pool idle thread count: 2, unprocessed jobs: 0 2540s # Pool idle thread count: 2, unprocessed jobs: 0 2540s # Pool idle thread count: 2, unprocessed jobs: 0 2540s Executing: glib/thread-pool-slow.test 2540s # Pool idle thread count: 2, unprocessed jobs: 0 2540s # Pool idle thread count: 2, unprocessed jobs: 0 2541s # Pool idle thread count: 2, unprocessed jobs: 0 2541s # Pool idle thread count: 2, unprocessed jobs: 0 2541s # Pool idle thread count: 2, unprocessed jobs: 0 2541s # Pool idle thread count: 2, unprocessed jobs: 0 2542s # Pool idle thread count: 2, unprocessed jobs: 0 2542s # Pool idle thread count: 2, unprocessed jobs: 0 2542s # Pool idle thread count: 2, unprocessed jobs: 0 2542s # Pool idle thread count: 2, unprocessed jobs: 0 2543s # Pool idle thread count: 2, unprocessed jobs: 0 2543s # Pool idle thread count: 2, unprocessed jobs: 0 2543s # Pool idle thread count: 2, unprocessed jobs: 0 2543s # Pool idle thread count: 2, unprocessed jobs: 0 2544s # Pool idle thread count: 2, unprocessed jobs: 0 2544s # Pool idle thread count: 2, unprocessed jobs: 0 2544s # Pool idle thread count: 2, unprocessed jobs: 0 2544s # Pool idle thread count: 2, unprocessed jobs: 0 2545s # Pool idle thread count: 2, unprocessed jobs: 0 2545s # Pool idle thread count: 2, unprocessed jobs: 0 2545s Executing: glib/thread-pool-slow.test 2545s # Pool idle thread count: 2, unprocessed jobs: 0 2545s # Pool idle thread count: 2, unprocessed jobs: 0 2546s ok 7 /threadpool/idle-time 2546s # slow test /threadpool/idle-time executed in 19.53 secs 2546s # End of threadpool tests 2546s PASS: glib/thread-pool-slow.test 2546s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.5s; system=0.1s; maxrss=2432 2546s autopkgtest [05:33:46]: test thread-pool-slow: -----------------------] 2550s thread-pool-slow PASS 2550s autopkgtest [05:33:50]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - - 2554s autopkgtest [05:33:54]: test threadtests: preparing testbed 2556s Reading package lists... 2556s Building dependency tree... 2556s Reading state information... 2557s Starting pkgProblemResolver with broken count: 0 2557s Starting 2 pkgProblemResolver with broken count: 0 2557s Done 2558s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2565s autopkgtest [05:34:05]: test threadtests: [----------------------- 2567s Running test: glib/threadtests.test 2567s TAP version 14 2567s # random seed: R02Sf627ceaa7b920a07554829012949e08e 2567s 1..5 2567s # Start of GObject tests 2567s ok 1 /GObject/threaded-object-init 2568s ok 2 /GObject/threaded-weak-ref 2568s # slow test /GObject/threaded-weak-ref executed in 0.83 secs 2568s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394 2568s # /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 2573s Executing: glib/threadtests.test 2578s Executing: glib/threadtests.test 2583s Executing: glib/threadtests.test 2588s Executing: glib/threadtests.test 2593s Executing: glib/threadtests.test 2598s Executing: glib/threadtests.test 2603s Executing: glib/threadtests.test 2608s Executing: glib/threadtests.test 2613s Executing: glib/threadtests.test 2618s Executing: glib/threadtests.test 2623s Executing: glib/threadtests.test 2628s Executing: glib/threadtests.test 2633s Executing: glib/threadtests.test 2636s ok 3 /GObject/threaded-toggle-notify 2636s # slow test /GObject/threaded-toggle-notify executed in 67.33 secs 2636s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set 2636s # Start of threaded-weak-ref tests 2636s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390 2636s # /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. 2636s ok 5 /GObject/threaded-weak-ref/on-finalization 2636s # End of threaded-weak-ref tests 2636s # End of GObject tests 2636s PASS: glib/threadtests.test 2636s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=263.8s; system=0.7s; maxrss=2560 2636s autopkgtest [05:35:16]: test threadtests: -----------------------] 2640s autopkgtest [05:35:20]: test threadtests: - - - - - - - - - - results - - - - - - - - - - 2640s threadtests PASS 2644s autopkgtest [05:35:24]: test timeout: preparing testbed 2646s Reading package lists... 2646s Building dependency tree... 2646s Reading state information... 2646s Starting pkgProblemResolver with broken count: 0 2647s Starting 2 pkgProblemResolver with broken count: 0 2647s Done 2647s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2655s autopkgtest [05:35:35]: test timeout: [----------------------- 2657s Running test: glib/timeout.test 2657s TAP version 14 2657s # random seed: R02S9c6771219b012bba27060634c4f89f2c 2657s 1..5 2657s # Start of timeout tests 2657s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052 2659s ok 1 /timeout/seconds 2659s # slow test /timeout/seconds executed in 2.11 secs 2661s ok 2 /timeout/seconds-once 2661s # slow test /timeout/seconds-once executed in 2.10 secs 2661s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600 2662s Executing: glib/timeout.test 2664s ok 3 /timeout/weeks-overflow 2664s # slow test /timeout/weeks-overflow executed in 2.10 secs 2664s ok 4 /timeout/far-future-ready-time 2667s Executing: glib/timeout.test 2672s Executing: glib/timeout.test 2674s ok 5 /timeout/rounding 2674s # slow test /timeout/rounding executed in 10.62 secs 2674s # End of timeout tests 2674s PASS: glib/timeout.test 2674s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176 2675s autopkgtest [05:35:55]: test timeout: -----------------------] 2679s autopkgtest [05:35:59]: test timeout: - - - - - - - - - - results - - - - - - - - - - 2679s timeout PASS 2682s autopkgtest [05:36:02]: test timer: preparing testbed 2684s Reading package lists... 2685s Building dependency tree... 2685s Reading state information... 2685s Starting pkgProblemResolver with broken count: 0 2685s Starting 2 pkgProblemResolver with broken count: 0 2685s Done 2686s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 2695s autopkgtest [05:36:15]: test timer: [----------------------- 2697s Running test: glib/timer.test 2697s TAP version 14 2697s # random seed: R02S124be11dfbad1c2d6eed5f55355e1606 2697s 1..10 2697s # Start of timer tests 2697s ok 1 /timer/basic 2697s ok 2 /timer/stop 2697s ok 3 /timer/continue 2697s ok 4 /timer/reset 2697s ok 5 /timer/is_active 2697s # End of timer tests 2697s # Start of timeval tests 2697s ok 6 /timeval/add 2697s ok 7 /timeval/from-iso8601 2697s ok 8 /timeval/to-iso8601 2697s # Start of to-iso8601 tests 2697s ok 9 /timeval/to-iso8601/overflow # SKIP G_MAXINT == G_MAXLONG - we can't make g_time_val_to_iso8601() overflow. 2697s # End of to-iso8601 tests 2697s # End of timeval tests 2697s # Start of usleep tests 2697s ok 10 /usleep/with-zero-wait 2697s # End of usleep tests 2697s PASS: glib/timer.test 2697s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=2176 2697s autopkgtest [05:36:17]: test timer: -----------------------] 2701s timer PASS 2701s autopkgtest [05:36:21]: test timer: - - - - - - - - - - results - - - - - - - - - - 2705s autopkgtest [05:36:25]: test 1065022-futureproofing: preparing testbed 2756s autopkgtest [05:37:16]: testbed dpkg architecture: armhf 2758s autopkgtest [05:37:18]: testbed apt version: 2.9.14ubuntu1 2762s autopkgtest [05:37:22]: @@@@@@@@@@@@@@@@@@@@ test bed setup 2764s autopkgtest [05:37:24]: testbed release detected to be: plucky 2771s autopkgtest [05:37:31]: updating testbed package index (apt update) 2773s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [110 kB] 2773s Get:2 http://ftpmaster.internal/ubuntu plucky InRelease [249 kB] 2773s Get:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease [110 kB] 2773s Get:4 http://ftpmaster.internal/ubuntu plucky-security InRelease [110 kB] 2774s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [508 kB] 2774s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [3120 B] 2774s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.1 kB] 2774s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [13.5 kB] 2774s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Packages [125 kB] 2774s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf Components [26.6 kB] 2774s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Packages [760 B] 2774s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted armhf Components [216 B] 2774s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Packages [424 kB] 2774s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe armhf Components [213 kB] 2774s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Packages [1796 B] 2774s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse armhf Components [1076 B] 2774s Get:17 http://ftpmaster.internal/ubuntu plucky/restricted Sources [16.3 kB] 2774s Get:18 http://ftpmaster.internal/ubuntu plucky/main Sources [1384 kB] 2774s Get:19 http://ftpmaster.internal/ubuntu plucky/universe Sources [21.0 MB] 2774s Get:20 http://ftpmaster.internal/ubuntu plucky/multiverse Sources [298 kB] 2774s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf Packages [1370 kB] 2774s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf Components [401 kB] 2774s Get:23 http://ftpmaster.internal/ubuntu plucky/restricted armhf Packages [2900 B] 2774s Get:24 http://ftpmaster.internal/ubuntu plucky/restricted armhf Components [196 B] 2774s Get:25 http://ftpmaster.internal/ubuntu plucky/universe armhf Packages [15.1 MB] 2775s Get:26 http://ftpmaster.internal/ubuntu plucky/universe armhf Components [3953 kB] 2775s Get:27 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Packages [173 kB] 2775s Get:28 http://ftpmaster.internal/ubuntu plucky/multiverse armhf Components [39.8 kB] 2775s Get:29 http://ftpmaster.internal/ubuntu plucky-updates/main armhf Components [208 B] 2775s Get:30 http://ftpmaster.internal/ubuntu plucky-updates/restricted armhf Components [212 B] 2775s Get:31 http://ftpmaster.internal/ubuntu plucky-updates/universe armhf Components [212 B] 2775s Get:32 http://ftpmaster.internal/ubuntu plucky-updates/multiverse armhf Components [212 B] 2775s Get:33 http://ftpmaster.internal/ubuntu plucky-security/main armhf Components [204 B] 2775s Get:34 http://ftpmaster.internal/ubuntu plucky-security/restricted armhf Components [208 B] 2775s Get:35 http://ftpmaster.internal/ubuntu plucky-security/universe armhf Components [208 B] 2775s Get:36 http://ftpmaster.internal/ubuntu plucky-security/multiverse armhf Components [208 B] 2782s Fetched 45.7 MB in 6s (7157 kB/s) 2783s Reading package lists... 2788s autopkgtest [05:37:48]: upgrading testbed (apt dist-upgrade and autopurge) 2790s Reading package lists... 2791s Building dependency tree... 2791s Reading state information... 2791s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 2791s Starting 2 pkgProblemResolver with broken count: 0 2791s Done 2792s Entering ResolveByKeep 2792s 2794s The following packages were automatically installed and are no longer required: 2794s libapt-pkg6.0t64 libassuan0 libicu74 libnsl2 libpython3.12-minimal 2794s libpython3.12-stdlib libunwind8 linux-headers-6.11.0-8 2794s linux-headers-6.11.0-8-generic python3.12 python3.12-minimal 2794s Use 'apt autoremove' to remove them. 2794s The following NEW packages will be installed: 2794s gcc-15-base libapt-pkg7.0 libicu76 libjemalloc2 libpython3.13-minimal 2794s libpython3.13-stdlib linux-headers-6.12.0-15 linux-headers-6.12.0-15-generic 2794s login.defs openssl-provider-legacy python3-bcrypt python3.13 2794s python3.13-minimal 2794s The following packages will be upgraded: 2794s apparmor apport apport-core-dump-handler appstream apt apt-utils base-files 2794s base-passwd bash bash-completion bind9-dnsutils bind9-host bind9-libs 2794s binutils binutils-arm-linux-gnueabihf binutils-common bsdextrautils bsdutils 2794s btrfs-progs busybox-initramfs busybox-static ca-certificates cloud-init 2794s cloud-init-base console-setup console-setup-linux coreutils cron 2794s cron-daemon-common cryptsetup-bin curl dash dbus dbus-bin dbus-daemon 2794s dbus-session-bus-common dbus-system-bus-common dbus-user-session dhcpcd-base 2794s diffutils dirmngr distro-info dmsetup dpkg dpkg-dev dracut-install e2fsprogs 2794s e2fsprogs-l10n ed eject ethtool fdisk fwupd gcc-14-base gettext-base 2794s gir1.2-girepository-2.0 gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gnupg 2794s gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpgconf gpgsm gpgv 2794s groff-base gzip htop ibverbs-providers inetutils-telnet init 2794s init-system-helpers initramfs-tools initramfs-tools-bin initramfs-tools-core 2794s iproute2 iptables iputils-ping iputils-tracepath kbd keyboard-configuration 2794s keyboxd kpartx krb5-locales libapparmor1 libappstream5 libapt-pkg6.0t64 2794s libarchive13t64 libatomic1 libbinutils libblkid1 libblockdev-crypto3 2794s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3 2794s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3 libbpf1 2794s libc-bin libc6 libcap-ng0 libcbor0.10 libcom-err2 libcrypt1 libcryptsetup12 2794s libctf-nobfd0 libctf0 libcurl3t64-gnutls libcurl4t64 libdbus-1-3 2794s libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libedit2 libext2fs2t64 2794s libfdisk1 libffi8 libfribidi0 libftdi1-2 libfwupd3 libgcc-s1 2794s libgirepository-1.0-1 libglib2.0-0t64 libglib2.0-bin libglib2.0-data 2794s libgnutls30t64 libgpg-error-l10n libgpg-error0 libgpgme11t64 2794s libgssapi-krb5-2 libgstreamer1.0-0 libgudev-1.0-0 libhogweed6t64 libibverbs1 2794s libicu74 libip4tc2 libip6tc2 libjson-glib-1.0-0 libjson-glib-1.0-common 2794s libk5crypto3 libkrb5-3 libkrb5support0 libldap-common libldap2 liblsof0 2794s liblz4-1 libmaxminddb0 libmount1 libncurses6 libncursesw6 libnetplan1 2794s libnettle8t64 libnewt0.52 libnftables1 libnftnl11 libnpth0t64 libnspr4 2794s libnss-systemd libnss3 libnvme1t64 libp11-kit0 libpackagekit-glib2-18 2794s libpam-systemd libpcap0.8t64 libperl5.40 libplymouth5 libpng16-16t64 2794s libpolkit-agent-1-0 libpolkit-gobject-1-0 libprotobuf-c1 libpython3-stdlib 2794s libpython3.12-minimal libpython3.12-stdlib libqmi-glib5 libqmi-proxy 2794s libreadline8t64 libsasl2-2 libsasl2-modules libsasl2-modules-db libselinux1 2794s libsemanage-common libsemanage2 libsframe1 libsmartcols1 libss2 libssl3t64 2794s libstdc++6 libsystemd-shared libsystemd0 libtasn1-6 libtinfo6 libtraceevent1 2794s libtraceevent1-plugin libudev1 libudisks2-0 libunistring5 liburcu8t64 2794s libusb-1.0-0 libuuid1 libvolume-key1 libwrap0 libxdmcp6 libxkbcommon0 2794s libxml2 libxtables12 libxxhash0 libyaml-0-2 libzstd1 linux-headers-generic 2794s locales login logsave lshw lsof lto-disabled-list make mawk motd-news-config 2794s mount multipath-tools nano ncurses-base ncurses-bin ncurses-term 2794s netcat-openbsd netplan-generator netplan.io nftables openssl packagekit 2794s packagekit-tools passwd pci.ids perl perl-base perl-modules-5.40 2794s pinentry-curses plymouth plymouth-theme-ubuntu-text polkitd pollinate 2794s powermgmt-base psmisc publicsuffix python-apt-common python-babel-localedata 2794s python3 python3-apport python3-apt python3-attr python3-babel 2794s python3-certifi python3-chardet python3-cryptography python3-distro-info 2794s python3-gdbm python3-gi python3-idna python3-jinja2 python3-json-pointer 2794s python3-jsonpatch python3-jsonschema python3-jwt python3-launchpadlib 2794s python3-lazr.uri python3-minimal python3-more-itertools python3-netplan 2794s python3-newt python3-oauthlib python3-openssl python3-pkg-resources 2794s python3-problem-report python3-pygments python3-referencing python3-requests 2794s python3-rich python3-setuptools python3-software-properties python3-urllib3 2794s python3-wadllib python3.12 python3.12-gdbm python3.12-minimal 2794s python3.13-gdbm readline-common rsync rsyslog software-properties-common 2794s systemd systemd-cryptsetup systemd-resolved systemd-sysv systemd-timesyncd 2794s sysvinit-utils tar telnet tmux tzdata ubuntu-minimal ubuntu-pro-client 2794s ubuntu-pro-client-l10n ubuntu-standard ucf udev udisks2 ufw 2794s unattended-upgrades usb.ids util-linux uuid-runtime vim-common vim-tiny 2794s whiptail xauth xfsprogs xxd zstd 2794s 323 upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 2794s Need to get 148 MB of archives. 2794s After this operation, 204 MB of additional disk space will be used. 2794s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf motd-news-config all 13.6ubuntu1 [5168 B] 2794s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-15-base armhf 15-20250213-1ubuntu1 [53.2 kB] 2795s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf libgcc-s1 armhf 15-20250213-1ubuntu1 [40.6 kB] 2795s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf libc6 armhf 2.40-4ubuntu1 [2866 kB] 2796s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf libcrypt1 armhf 1:4.4.38-1 [91.7 kB] 2796s Get:6 http://ftpmaster.internal/ubuntu plucky/main armhf base-files armhf 13.6ubuntu1 [75.3 kB] 2796s Get:7 http://ftpmaster.internal/ubuntu plucky/main armhf bash armhf 5.2.37-1ubuntu1 [677 kB] 2796s Get:8 http://ftpmaster.internal/ubuntu plucky/main armhf bsdutils armhf 1:2.40.2-14ubuntu1 [110 kB] 2796s Get:9 http://ftpmaster.internal/ubuntu plucky/main armhf coreutils armhf 9.5-1ubuntu1 [1275 kB] 2796s Get:10 http://ftpmaster.internal/ubuntu plucky/main armhf dash armhf 0.5.12-12ubuntu1 [87.4 kB] 2796s Get:11 http://ftpmaster.internal/ubuntu plucky/main armhf diffutils armhf 1:3.10-2 [172 kB] 2796s Get:12 http://ftpmaster.internal/ubuntu plucky/main armhf libxxhash0 armhf 0.8.3-2 [30.8 kB] 2796s Get:13 http://ftpmaster.internal/ubuntu plucky/main armhf liblz4-1 armhf 1.10.0-3 [57.2 kB] 2796s Get:14 http://ftpmaster.internal/ubuntu plucky/main armhf openssl-provider-legacy armhf 3.4.1-1ubuntu1 [29.5 kB] 2796s Get:15 http://ftpmaster.internal/ubuntu plucky/main armhf libssl3t64 armhf 3.4.1-1ubuntu1 [1771 kB] 2796s Get:16 http://ftpmaster.internal/ubuntu plucky/main armhf libzstd1 armhf 1.5.6+dfsg-2 [266 kB] 2796s Get:17 http://ftpmaster.internal/ubuntu plucky/main armhf libstdc++6 armhf 15-20250213-1ubuntu1 [725 kB] 2797s Get:18 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-timesyncd armhf 257.2-3ubuntu1 [42.1 kB] 2797s Get:19 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-session-bus-common all 1.16.0-1ubuntu1 [53.1 kB] 2797s Get:20 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-sysv armhf 257.2-3ubuntu1 [11.9 kB] 2797s Get:21 http://ftpmaster.internal/ubuntu plucky/main armhf libpam-systemd armhf 257.2-3ubuntu1 [238 kB] 2797s Get:22 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-user-session armhf 1.16.0-1ubuntu1 [9684 B] 2797s Get:23 http://ftpmaster.internal/ubuntu plucky/main armhf libapparmor1 armhf 4.1.0~beta5-0ubuntu5 [48.7 kB] 2797s Get:24 http://ftpmaster.internal/ubuntu plucky/main armhf libcap-ng0 armhf 0.8.5-4 [13.8 kB] 2797s Get:25 http://ftpmaster.internal/ubuntu plucky/main armhf libselinux1 armhf 3.7-3ubuntu2 [73.2 kB] 2797s Get:26 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-system-bus-common all 1.16.0-1ubuntu1 [54.3 kB] 2797s Get:27 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-bin armhf 1.16.0-1ubuntu1 [37.9 kB] 2797s Get:28 http://ftpmaster.internal/ubuntu plucky/main armhf dbus armhf 1.16.0-1ubuntu1 [28.1 kB] 2797s Get:29 http://ftpmaster.internal/ubuntu plucky/main armhf dbus-daemon armhf 1.16.0-1ubuntu1 [111 kB] 2797s Get:30 http://ftpmaster.internal/ubuntu plucky/main armhf libdbus-1-3 armhf 1.16.0-1ubuntu1 [162 kB] 2797s Get:31 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-resolved armhf 257.2-3ubuntu1 [315 kB] 2797s Get:32 http://ftpmaster.internal/ubuntu plucky/main armhf libncurses6 armhf 6.5+20250125-2 [88.8 kB] 2797s Get:33 http://ftpmaster.internal/ubuntu plucky/main armhf libncursesw6 armhf 6.5+20250125-2 [118 kB] 2797s Get:34 http://ftpmaster.internal/ubuntu plucky/main armhf libtinfo6 armhf 6.5+20250125-2 [91.9 kB] 2797s Get:35 http://ftpmaster.internal/ubuntu plucky/main armhf bsdextrautils armhf 2.40.2-14ubuntu1 [94.2 kB] 2797s Get:36 http://ftpmaster.internal/ubuntu plucky/main armhf eject armhf 2.40.2-14ubuntu1 [63.4 kB] 2797s Get:37 http://ftpmaster.internal/ubuntu plucky/main armhf fdisk armhf 2.40.2-14ubuntu1 [157 kB] 2797s Get:38 http://ftpmaster.internal/ubuntu plucky/main armhf libblkid1 armhf 2.40.2-14ubuntu1 [169 kB] 2797s Get:39 http://ftpmaster.internal/ubuntu plucky/main armhf libmount1 armhf 2.40.2-14ubuntu1 [194 kB] 2797s Get:40 http://ftpmaster.internal/ubuntu plucky/main armhf libsmartcols1 armhf 2.40.2-14ubuntu1 [137 kB] 2797s Get:41 http://ftpmaster.internal/ubuntu plucky/main armhf libuuid1 armhf 2.40.2-14ubuntu1 [41.0 kB] 2797s Get:42 http://ftpmaster.internal/ubuntu plucky/main armhf util-linux armhf 2.40.2-14ubuntu1 [1190 kB] 2797s Get:43 http://ftpmaster.internal/ubuntu plucky/main armhf uuid-runtime armhf 2.40.2-14ubuntu1 [63.7 kB] 2797s Get:44 http://ftpmaster.internal/ubuntu plucky/main armhf libfdisk1 armhf 2.40.2-14ubuntu1 [217 kB] 2797s Get:45 http://ftpmaster.internal/ubuntu plucky/main armhf mount armhf 2.40.2-14ubuntu1 [158 kB] 2797s Get:46 http://ftpmaster.internal/ubuntu plucky/main armhf readline-common all 8.2-6 [56.5 kB] 2797s Get:47 http://ftpmaster.internal/ubuntu plucky/main armhf libreadline8t64 armhf 8.2-6 [131 kB] 2797s Get:48 http://ftpmaster.internal/ubuntu plucky/main armhf systemd-cryptsetup armhf 257.2-3ubuntu1 [126 kB] 2797s Get:49 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd-shared armhf 257.2-3ubuntu1 [2203 kB] 2797s Get:50 http://ftpmaster.internal/ubuntu plucky/main armhf libnss-systemd armhf 257.2-3ubuntu1 [164 kB] 2797s Get:51 http://ftpmaster.internal/ubuntu plucky/main armhf systemd armhf 257.2-3ubuntu1 [3028 kB] 2797s Get:52 http://ftpmaster.internal/ubuntu plucky/main armhf udev armhf 257.2-3ubuntu1 [1402 kB] 2798s Get:53 http://ftpmaster.internal/ubuntu plucky/main armhf libudev1 armhf 257.2-3ubuntu1 [193 kB] 2798s Get:54 http://ftpmaster.internal/ubuntu plucky/main armhf libdevmapper1.02.1 armhf 2:1.02.201-1ubuntu1 [137 kB] 2798s Get:55 http://ftpmaster.internal/ubuntu plucky/main armhf libcryptsetup12 armhf 2:2.7.5-1ubuntu2 [246 kB] 2798s Get:56 http://ftpmaster.internal/ubuntu plucky/main armhf libsystemd0 armhf 257.2-3ubuntu1 [494 kB] 2798s Get:57 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg6.0t64 armhf 2.9.29 [1086 kB] 2798s Get:58 http://ftpmaster.internal/ubuntu plucky/main armhf tar armhf 1.35+dfsg-3.1 [240 kB] 2798s Get:59 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg armhf 1.22.11ubuntu4 [1242 kB] 2798s Get:60 http://ftpmaster.internal/ubuntu plucky/main armhf gzip armhf 1.13-1ubuntu2 [98.1 kB] 2798s Get:61 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-bin armhf 6.5+20250125-2 [179 kB] 2798s Get:62 http://ftpmaster.internal/ubuntu plucky/main armhf perl-modules-5.40 all 5.40.1-2 [3217 kB] 2798s Get:63 http://ftpmaster.internal/ubuntu plucky/main armhf libperl5.40 armhf 5.40.1-2 [4135 kB] 2798s Get:64 http://ftpmaster.internal/ubuntu plucky/main armhf perl armhf 5.40.1-2 [262 kB] 2798s Get:65 http://ftpmaster.internal/ubuntu plucky/main armhf perl-base armhf 5.40.1-2 [1667 kB] 2798s Get:66 http://ftpmaster.internal/ubuntu plucky/main armhf libdebconfclient0 armhf 0.274ubuntu1 [11.2 kB] 2798s Get:67 http://ftpmaster.internal/ubuntu plucky/main armhf base-passwd armhf 3.6.6 [53.4 kB] 2798s Get:68 http://ftpmaster.internal/ubuntu plucky/main armhf init-system-helpers all 1.68 [39.0 kB] 2798s Get:69 http://ftpmaster.internal/ubuntu plucky/main armhf libc-bin armhf 2.40-4ubuntu1 [542 kB] 2798s Get:70 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-base all 6.5+20250125-2 [25.8 kB] 2798s Get:71 http://ftpmaster.internal/ubuntu plucky/main armhf ncurses-term all 6.5+20250125-2 [276 kB] 2798s Get:72 http://ftpmaster.internal/ubuntu plucky/main armhf kbd armhf 2.7.1-2ubuntu1 [214 kB] 2798s Get:73 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup-linux all 1.226ubuntu3 [1880 kB] 2798s Get:74 http://ftpmaster.internal/ubuntu plucky/main armhf console-setup all 1.226ubuntu3 [110 kB] 2798s Get:75 http://ftpmaster.internal/ubuntu plucky/main armhf keyboard-configuration all 1.226ubuntu3 [212 kB] 2798s Get:76 http://ftpmaster.internal/ubuntu plucky/main armhf sysvinit-utils armhf 3.14-1ubuntu1 [35.1 kB] 2798s Get:77 http://ftpmaster.internal/ubuntu plucky/main armhf libapt-pkg7.0 armhf 2.9.30ubuntu1 [1067 kB] 2798s Get:78 http://ftpmaster.internal/ubuntu plucky/main armhf apt armhf 2.9.30ubuntu1 [1392 kB] 2798s Get:79 http://ftpmaster.internal/ubuntu plucky/main armhf apt-utils armhf 2.9.30ubuntu1 [214 kB] 2798s Get:80 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error-l10n all 1.51-3 [8800 B] 2798s Get:81 http://ftpmaster.internal/ubuntu plucky/main armhf libgpg-error0 armhf 1.51-3 [64.8 kB] 2799s Get:82 http://ftpmaster.internal/ubuntu plucky/main armhf libnpth0t64 armhf 1.8-2 [7572 B] 2799s Get:83 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-wks-client armhf 2.4.4-2ubuntu22 [87.5 kB] 2799s Get:84 http://ftpmaster.internal/ubuntu plucky/main armhf dirmngr armhf 2.4.4-2ubuntu22 [347 kB] 2799s Get:85 http://ftpmaster.internal/ubuntu plucky/main armhf gpgsm armhf 2.4.4-2ubuntu22 [242 kB] 2799s Get:86 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-utils armhf 2.4.4-2ubuntu22 [159 kB] 2799s Get:87 http://ftpmaster.internal/ubuntu plucky/main armhf gpg-agent armhf 2.4.4-2ubuntu22 [237 kB] 2799s Get:88 http://ftpmaster.internal/ubuntu plucky/main armhf gpg armhf 2.4.4-2ubuntu22 [525 kB] 2799s Get:89 http://ftpmaster.internal/ubuntu plucky/main armhf gpgconf armhf 2.4.4-2ubuntu22 [116 kB] 2799s Get:90 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg all 2.4.4-2ubuntu22 [359 kB] 2799s Get:91 http://ftpmaster.internal/ubuntu plucky/main armhf keyboxd armhf 2.4.4-2ubuntu22 [111 kB] 2799s Get:92 http://ftpmaster.internal/ubuntu plucky/main armhf pinentry-curses armhf 1.3.1-2ubuntu2 [40.6 kB] 2799s Get:93 http://ftpmaster.internal/ubuntu plucky/main armhf libnettle8t64 armhf 3.10.1-1 [188 kB] 2799s Get:94 http://ftpmaster.internal/ubuntu plucky/main armhf libhogweed6t64 armhf 3.10.1-1 [188 kB] 2799s Get:95 http://ftpmaster.internal/ubuntu plucky/main armhf libffi8 armhf 3.4.7-1 [21.1 kB] 2799s Get:96 http://ftpmaster.internal/ubuntu plucky/main armhf libp11-kit0 armhf 0.25.5-2ubuntu3 [261 kB] 2799s Get:97 http://ftpmaster.internal/ubuntu plucky/main armhf libtasn1-6 armhf 4.20.0-2 [38.2 kB] 2799s Get:98 http://ftpmaster.internal/ubuntu plucky/main armhf libunistring5 armhf 1.3-1 [583 kB] 2799s Get:99 http://ftpmaster.internal/ubuntu plucky/main armhf libgnutls30t64 armhf 3.8.9-2ubuntu2 [961 kB] 2799s Get:100 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules-db armhf 2.1.28+dfsg1-8build1 [19.0 kB] 2799s Get:101 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-2 armhf 2.1.28+dfsg1-8build1 [49.9 kB] 2799s Get:102 http://ftpmaster.internal/ubuntu plucky/main armhf libldap-common all 2.6.9+dfsg-1~exp2ubuntu1 [33.2 kB] 2799s Get:103 http://ftpmaster.internal/ubuntu plucky/main armhf libldap2 armhf 2.6.9+dfsg-1~exp2ubuntu1 [177 kB] 2799s Get:104 http://ftpmaster.internal/ubuntu plucky/main armhf gpgv armhf 2.4.4-2ubuntu22 [225 kB] 2799s Get:105 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs-l10n all 1.47.2-1ubuntu1 [7030 B] 2799s Get:106 http://ftpmaster.internal/ubuntu plucky/main armhf logsave armhf 1.47.2-1ubuntu1 [25.7 kB] 2799s Get:107 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-minimal armhf 1.547 [11.4 kB] 2799s Get:108 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools all 0.145ubuntu2 [7948 B] 2799s Get:109 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-core all 0.145ubuntu2 [51.5 kB] 2799s Get:110 http://ftpmaster.internal/ubuntu plucky/main armhf libext2fs2t64 armhf 1.47.2-1ubuntu1 [207 kB] 2799s Get:111 http://ftpmaster.internal/ubuntu plucky/main armhf e2fsprogs armhf 1.47.2-1ubuntu1 [588 kB] 2799s Get:112 http://ftpmaster.internal/ubuntu plucky/main armhf dhcpcd-base armhf 1:10.1.0-7 [188 kB] 2799s Get:113 http://ftpmaster.internal/ubuntu plucky/main armhf init armhf 1.68 [6296 B] 2799s Get:114 http://ftpmaster.internal/ubuntu plucky/main armhf libbpf1 armhf 1:1.5.0-2 [158 kB] 2799s Get:115 http://ftpmaster.internal/ubuntu plucky/main armhf iptables armhf 1.8.11-2ubuntu1 [342 kB] 2799s Get:116 http://ftpmaster.internal/ubuntu plucky/main armhf libip4tc2 armhf 1.8.11-2ubuntu1 [21.7 kB] 2799s Get:117 http://ftpmaster.internal/ubuntu plucky/main armhf libip6tc2 armhf 1.8.11-2ubuntu1 [22.1 kB] 2799s Get:118 http://ftpmaster.internal/ubuntu plucky/main armhf libnftnl11 armhf 1.2.8-1 [53.3 kB] 2799s Get:119 http://ftpmaster.internal/ubuntu plucky/main armhf libxtables12 armhf 1.8.11-2ubuntu1 [33.0 kB] 2799s Get:120 http://ftpmaster.internal/ubuntu plucky/main armhf iproute2 armhf 6.13.0-1ubuntu1 [1096 kB] 2799s Get:121 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-ping armhf 3:20240905-1ubuntu1 [45.0 kB] 2799s Get:122 http://ftpmaster.internal/ubuntu plucky/main armhf locales all 2.40-4ubuntu1 [4224 kB] 2800s Get:123 http://ftpmaster.internal/ubuntu plucky/main armhf login.defs all 1:4.16.0-7ubuntu1 [38.5 kB] 2800s Get:124 http://ftpmaster.internal/ubuntu plucky/main armhf login armhf 1:4.16.0-2+really2.40.2-14ubuntu1 [85.0 kB] 2800s Get:125 http://ftpmaster.internal/ubuntu plucky/main armhf mawk armhf 1.3.4.20250131-1 [119 kB] 2800s Get:126 http://ftpmaster.internal/ubuntu plucky/main armhf netcat-openbsd armhf 1.228-1 [42.4 kB] 2800s Get:127 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-minimal armhf 3.13.2-1 [868 kB] 2800s Get:128 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-minimal armhf 3.13.2-1 [2012 kB] 2800s Get:129 http://ftpmaster.internal/ubuntu plucky/main armhf python3-cryptography armhf 43.0.0-1 [925 kB] 2800s Get:130 http://ftpmaster.internal/ubuntu plucky/main armhf python3-minimal armhf 3.13.1-1~exp2 [27.6 kB] 2800s Get:131 http://ftpmaster.internal/ubuntu plucky/main armhf python3 armhf 3.13.1-1~exp2 [23.9 kB] 2800s Get:132 http://ftpmaster.internal/ubuntu plucky/main armhf python3-bcrypt armhf 4.2.0-2.1 [239 kB] 2800s Get:133 http://ftpmaster.internal/ubuntu plucky/main armhf tzdata all 2025a-2ubuntu1 [198 kB] 2800s Get:134 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.13-stdlib armhf 3.13.2-1 [1969 kB] 2800s Get:135 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13 armhf 3.13.2-1 [734 kB] 2800s Get:136 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3-stdlib armhf 3.13.1-1~exp2 [10.2 kB] 2800s Get:137 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-girepository-2.0 armhf 1.82.0-4 [25.3 kB] 2800s Get:138 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf gir1.2-glib-2.0 armhf 2.83.4-1 [185 kB] 2800s Get:139 http://ftpmaster.internal/ubuntu plucky/main armhf libgirepository-1.0-1 armhf 1.82.0-4 [109 kB] 2800s Get:140 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-data all 2.83.4-1 [52.9 kB] 2800s Get:141 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-bin armhf 2.83.4-1 [92.7 kB] 2800s Get:142 http://ftpmaster.internal/ubuntu plucky/main armhf libatomic1 armhf 15-20250213-1ubuntu1 [7938 B] 2800s Get:143 http://ftpmaster.internal/ubuntu plucky-proposed/main armhf libglib2.0-0t64 armhf 2.83.4-1 [1453 kB] 2800s Get:144 http://ftpmaster.internal/ubuntu plucky/main armhf netplan-generator armhf 1.1.2-2ubuntu1 [60.8 kB] 2800s Get:145 http://ftpmaster.internal/ubuntu plucky/main armhf libyaml-0-2 armhf 0.2.5-2 [45.3 kB] 2800s Get:146 http://ftpmaster.internal/ubuntu plucky/main armhf python3-netplan armhf 1.1.2-2ubuntu1 [24.2 kB] 2800s Get:147 http://ftpmaster.internal/ubuntu plucky/main armhf netplan.io armhf 1.1.2-2ubuntu1 [67.7 kB] 2800s Get:148 http://ftpmaster.internal/ubuntu plucky/main armhf libnetplan1 armhf 1.1.2-2ubuntu1 [123 kB] 2800s Get:149 http://ftpmaster.internal/ubuntu plucky/main armhf ethtool armhf 1:6.11-1 [222 kB] 2800s Get:150 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage-common all 3.7-2.1 [7198 B] 2800s Get:151 http://ftpmaster.internal/ubuntu plucky/main armhf libsemanage2 armhf 3.7-2.1 [85.4 kB] 2800s Get:152 http://ftpmaster.internal/ubuntu plucky/main armhf passwd armhf 1:4.16.0-7ubuntu1 [1041 kB] 2800s Get:153 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client-l10n armhf 34.1.3 [18.3 kB] 2800s Get:154 http://ftpmaster.internal/ubuntu plucky/main armhf python-apt-common all 2.9.9 [21.2 kB] 2800s Get:155 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apt armhf 2.9.9 [173 kB] 2800s Get:156 http://ftpmaster.internal/ubuntu plucky/main armhf distro-info armhf 1.13 [19.1 kB] 2800s Get:157 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-pro-client armhf 34.1.3 [243 kB] 2800s Get:158 http://ftpmaster.internal/ubuntu plucky/main armhf vim-tiny armhf 2:9.1.0967-1ubuntu2 [696 kB] 2800s Get:159 http://ftpmaster.internal/ubuntu plucky/main armhf vim-common all 2:9.1.0967-1ubuntu2 [396 kB] 2800s Get:160 http://ftpmaster.internal/ubuntu plucky/main armhf python3-newt armhf 0.52.24-4ubuntu1 [20.1 kB] 2800s Get:161 http://ftpmaster.internal/ubuntu plucky/main armhf libnewt0.52 armhf 0.52.24-4ubuntu1 [39.7 kB] 2800s Get:162 http://ftpmaster.internal/ubuntu plucky/main armhf whiptail armhf 0.52.24-4ubuntu1 [17.3 kB] 2800s Get:163 http://ftpmaster.internal/ubuntu plucky/main armhf dracut-install armhf 106-2ubuntu1 [38.7 kB] 2800s Get:164 http://ftpmaster.internal/ubuntu plucky/main armhf initramfs-tools-bin armhf 0.145ubuntu2 [24.5 kB] 2800s Get:165 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-initramfs armhf 1:1.37.0-4ubuntu1 [188 kB] 2800s Get:166 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12 armhf 3.12.9-1 [671 kB] 2800s Get:167 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-stdlib armhf 3.12.9-1 [1946 kB] 2800s Get:168 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-minimal armhf 3.12.9-1 [2012 kB] 2801s Get:169 http://ftpmaster.internal/ubuntu plucky/main armhf libpython3.12-minimal armhf 3.12.9-1 [825 kB] 2801s Get:170 http://ftpmaster.internal/ubuntu plucky/main armhf cron armhf 3.0pl1-192ubuntu1 [84.2 kB] 2801s Get:171 http://ftpmaster.internal/ubuntu plucky/main armhf rsync armhf 3.4.1-0syncable1 [422 kB] 2801s Get:172 http://ftpmaster.internal/ubuntu plucky/main armhf python3-lazr.uri all 1.0.6-5 [13.6 kB] 2801s Get:173 http://ftpmaster.internal/ubuntu plucky/main armhf python3-launchpadlib all 2.1.0-1 [126 kB] 2801s Get:174 http://ftpmaster.internal/ubuntu plucky/main armhf python3-problem-report all 2.31.0+git20250220-0ubuntu1 [26.0 kB] 2801s Get:175 http://ftpmaster.internal/ubuntu plucky/main armhf python3-apport all 2.31.0+git20250220-0ubuntu1 [93.5 kB] 2801s Get:176 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gi armhf 3.50.0-4 [260 kB] 2801s Get:177 http://ftpmaster.internal/ubuntu plucky/main armhf apport-core-dump-handler all 2.31.0+git20250220-0ubuntu1 [18.7 kB] 2801s Get:178 http://ftpmaster.internal/ubuntu plucky/main armhf apport all 2.31.0+git20250220-0ubuntu1 [83.1 kB] 2801s Get:179 http://ftpmaster.internal/ubuntu plucky/main armhf gcc-14-base armhf 14.2.0-17ubuntu3 [53.6 kB] 2801s Get:180 http://ftpmaster.internal/ubuntu plucky/main armhf libcom-err2 armhf 1.47.2-1ubuntu1 [25.6 kB] 2801s Get:181 http://ftpmaster.internal/ubuntu plucky/main armhf libss2 armhf 1.47.2-1ubuntu1 [15.6 kB] 2801s Get:182 http://ftpmaster.internal/ubuntu plucky/main armhf openssl armhf 3.4.1-1ubuntu1 [1152 kB] 2801s Get:183 http://ftpmaster.internal/ubuntu plucky/main armhf ca-certificates all 20241223 [165 kB] 2801s Get:184 http://ftpmaster.internal/ubuntu plucky/main armhf krb5-locales all 1.21.3-4ubuntu1 [14.7 kB] 2801s Get:185 http://ftpmaster.internal/ubuntu plucky/main armhf libfribidi0 armhf 1.0.16-1 [24.3 kB] 2801s Get:186 http://ftpmaster.internal/ubuntu plucky/main armhf libgssapi-krb5-2 armhf 1.21.3-4ubuntu1 [121 kB] 2801s Get:187 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5-3 armhf 1.21.3-4ubuntu1 [314 kB] 2801s Get:188 http://ftpmaster.internal/ubuntu plucky/main armhf libkrb5support0 armhf 1.21.3-4ubuntu1 [31.8 kB] 2801s Get:189 http://ftpmaster.internal/ubuntu plucky/main armhf libk5crypto3 armhf 1.21.3-4ubuntu1 [78.6 kB] 2801s Get:190 http://ftpmaster.internal/ubuntu plucky/main armhf libicu74 armhf 74.2-1ubuntu6 [10.5 MB] 2801s Get:191 http://ftpmaster.internal/ubuntu plucky/main armhf libxml2 armhf 2.12.7+dfsg+really2.9.14-0.2ubuntu3 [599 kB] 2801s Get:192 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pygments all 2.18.0+dfsg-2 [835 kB] 2801s Get:193 http://ftpmaster.internal/ubuntu plucky/main armhf python3-rich all 13.9.4-1 [190 kB] 2801s Get:194 http://ftpmaster.internal/ubuntu plucky/main armhf ucf all 3.0050 [43.5 kB] 2801s Get:195 http://ftpmaster.internal/ubuntu plucky/main armhf rsyslog armhf 8.2412.0-2ubuntu1 [471 kB] 2801s Get:196 http://ftpmaster.internal/ubuntu plucky/main armhf xxd armhf 2:9.1.0967-1ubuntu2 [67.5 kB] 2801s Get:197 http://ftpmaster.internal/ubuntu plucky/main armhf apparmor armhf 4.1.0~beta5-0ubuntu5 [605 kB] 2801s Get:198 http://ftpmaster.internal/ubuntu plucky/main armhf bash-completion all 1:2.16.0-7 [214 kB] 2801s Get:199 http://ftpmaster.internal/ubuntu plucky/main armhf libjemalloc2 armhf 5.3.0-2build1 [200 kB] 2801s Get:200 http://ftpmaster.internal/ubuntu plucky/main armhf libmaxminddb0 armhf 1.12.2-1 [16.9 kB] 2801s Get:201 http://ftpmaster.internal/ubuntu plucky/main armhf liburcu8t64 armhf 0.15.1-1 [57.1 kB] 2801s Get:202 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-dnsutils armhf 1:9.20.4-3ubuntu1 [155 kB] 2801s Get:203 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-host armhf 1:9.20.4-3ubuntu1 [46.4 kB] 2802s Get:204 http://ftpmaster.internal/ubuntu plucky/main armhf bind9-libs armhf 1:9.20.4-3ubuntu1 [1186 kB] 2802s Get:205 http://ftpmaster.internal/ubuntu plucky/main armhf libedit2 armhf 3.1-20250104-1 [79.3 kB] 2802s Get:206 http://ftpmaster.internal/ubuntu plucky/main armhf busybox-static armhf 1:1.37.0-4ubuntu1 [857 kB] 2802s Get:207 http://ftpmaster.internal/ubuntu plucky/main armhf cron-daemon-common all 3.0pl1-192ubuntu1 [14.5 kB] 2802s Get:208 http://ftpmaster.internal/ubuntu plucky/main armhf dmsetup armhf 2:1.02.201-1ubuntu1 [80.4 kB] 2802s Get:209 http://ftpmaster.internal/ubuntu plucky/main armhf ed armhf 1.21-1 [52.8 kB] 2802s Get:210 http://ftpmaster.internal/ubuntu plucky/main armhf gettext-base armhf 0.23.1-1 [43.3 kB] 2802s Get:211 http://ftpmaster.internal/ubuntu plucky/main armhf groff-base armhf 1.23.0-7 [949 kB] 2802s Get:212 http://ftpmaster.internal/ubuntu plucky/main armhf libibverbs1 armhf 55.0-1ubuntu1 [58.5 kB] 2802s Get:213 http://ftpmaster.internal/ubuntu plucky/main armhf ibverbs-providers armhf 55.0-1ubuntu1 [27.6 kB] 2802s Get:214 http://ftpmaster.internal/ubuntu plucky/main armhf inetutils-telnet armhf 2:2.5-6ubuntu1 [94.7 kB] 2802s Get:215 http://ftpmaster.internal/ubuntu plucky/main armhf iputils-tracepath armhf 3:20240905-1ubuntu1 [13.3 kB] 2802s Get:216 http://ftpmaster.internal/ubuntu plucky/main armhf libcbor0.10 armhf 0.10.2-2ubuntu1 [22.0 kB] 2802s Get:217 http://ftpmaster.internal/ubuntu plucky/main armhf nftables armhf 1.1.1-1build1 [70.8 kB] 2802s Get:218 http://ftpmaster.internal/ubuntu plucky/main armhf libnftables1 armhf 1.1.1-1build1 [321 kB] 2802s Get:219 http://ftpmaster.internal/ubuntu plucky/main armhf libpcap0.8t64 armhf 1.10.5-2ubuntu1 [140 kB] 2802s Get:220 http://ftpmaster.internal/ubuntu plucky/main armhf libpng16-16t64 armhf 1.6.46-4 [171 kB] 2802s Get:221 http://ftpmaster.internal/ubuntu plucky/main armhf libxkbcommon0 armhf 1.7.0-2 [113 kB] 2802s Get:222 http://ftpmaster.internal/ubuntu plucky/main armhf libplymouth5 armhf 24.004.60-2ubuntu5 [142 kB] 2802s Get:223 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1-plugin armhf 1:1.8.4-2 [19.0 kB] 2802s Get:224 http://ftpmaster.internal/ubuntu plucky/main armhf libtraceevent1 armhf 1:1.8.4-2 [53.8 kB] 2802s Get:225 http://ftpmaster.internal/ubuntu plucky/main armhf libusb-1.0-0 armhf 2:1.0.27-2 [49.5 kB] 2802s Get:226 http://ftpmaster.internal/ubuntu plucky/main armhf libxdmcp6 armhf 1:1.1.5-1 [9060 B] 2802s Get:227 http://ftpmaster.internal/ubuntu plucky/main armhf lshw armhf 02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1 [311 kB] 2802s Get:228 http://ftpmaster.internal/ubuntu plucky/main armhf lsof armhf 4.99.4+dfsg-2 [239 kB] 2802s Get:229 http://ftpmaster.internal/ubuntu plucky/main armhf liblsof0 armhf 4.99.4+dfsg-2 [60.8 kB] 2802s Get:230 http://ftpmaster.internal/ubuntu plucky/main armhf nano armhf 8.3-1 [277 kB] 2802s Get:231 http://ftpmaster.internal/ubuntu plucky/main armhf pci.ids all 0.0~2025.02.12-1 [284 kB] 2802s Get:232 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth-theme-ubuntu-text armhf 24.004.60-2ubuntu5 [9914 B] 2802s Get:233 http://ftpmaster.internal/ubuntu plucky/main armhf libpackagekit-glib2-18 armhf 1.3.0-3build1 [109 kB] 2802s Get:234 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit-tools armhf 1.3.0-3build1 [28.0 kB] 2802s Get:235 http://ftpmaster.internal/ubuntu plucky/main armhf polkitd armhf 126-2 [92.5 kB] 2802s Get:236 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-agent-1-0 armhf 126-2 [15.1 kB] 2802s Get:237 http://ftpmaster.internal/ubuntu plucky/main armhf libpolkit-gobject-1-0 armhf 126-2 [45.0 kB] 2802s Get:238 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl3t64-gnutls armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [330 kB] 2802s Get:239 http://ftpmaster.internal/ubuntu plucky/main armhf libappstream5 armhf 1.0.4-1 [211 kB] 2802s Get:240 http://ftpmaster.internal/ubuntu plucky/main armhf libgstreamer1.0-0 armhf 1.25.50-1 [1164 kB] 2802s Get:241 http://ftpmaster.internal/ubuntu plucky/main armhf packagekit armhf 1.3.0-3build1 [431 kB] 2802s Get:242 http://ftpmaster.internal/ubuntu plucky/main armhf plymouth armhf 24.004.60-2ubuntu5 [143 kB] 2802s Get:243 http://ftpmaster.internal/ubuntu plucky/main armhf powermgmt-base all 1.38 [7378 B] 2802s Get:244 http://ftpmaster.internal/ubuntu plucky/main armhf psmisc armhf 23.7-2 [177 kB] 2802s Get:245 http://ftpmaster.internal/ubuntu plucky/main armhf publicsuffix all 20250108.1153-0.1 [134 kB] 2803s Get:246 http://ftpmaster.internal/ubuntu plucky/main armhf python3-distro-info all 1.13 [7798 B] 2803s Get:247 http://ftpmaster.internal/ubuntu plucky/main armhf python3.13-gdbm armhf 3.13.2-1 [30.2 kB] 2803s Get:248 http://ftpmaster.internal/ubuntu plucky/main armhf python3.12-gdbm armhf 3.12.9-1 [29.3 kB] 2803s Get:249 http://ftpmaster.internal/ubuntu plucky/main armhf python3-gdbm armhf 3.13.1-1 [8668 B] 2803s Get:250 http://ftpmaster.internal/ubuntu plucky/main armhf telnet all 0.17+2.5-6ubuntu1 [3694 B] 2803s Get:251 http://ftpmaster.internal/ubuntu plucky/main armhf ubuntu-standard armhf 1.547 [11.4 kB] 2803s Get:252 http://ftpmaster.internal/ubuntu plucky/main armhf ufw all 0.36.2-9 [170 kB] 2803s Get:253 http://ftpmaster.internal/ubuntu plucky/main armhf usb.ids all 2025.01.14-1 [223 kB] 2803s Get:254 http://ftpmaster.internal/ubuntu plucky/main armhf xauth armhf 1:1.1.2-1.1 [23.0 kB] 2803s Get:255 http://ftpmaster.internal/ubuntu plucky/main armhf appstream armhf 1.0.4-1 [67.3 kB] 2803s Get:256 http://ftpmaster.internal/ubuntu plucky/main armhf libctf0 armhf 2.44-2ubuntu1 [74.3 kB] 2803s Get:257 http://ftpmaster.internal/ubuntu plucky/main armhf libctf-nobfd0 armhf 2.44-2ubuntu1 [77.6 kB] 2803s Get:258 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-arm-linux-gnueabihf armhf 2.44-2ubuntu1 [995 kB] 2803s Get:259 http://ftpmaster.internal/ubuntu plucky/main armhf libbinutils armhf 2.44-2ubuntu1 [405 kB] 2803s Get:260 http://ftpmaster.internal/ubuntu plucky/main armhf binutils armhf 2.44-2ubuntu1 [3234 B] 2803s Get:261 http://ftpmaster.internal/ubuntu plucky/main armhf binutils-common armhf 2.44-2ubuntu1 [215 kB] 2803s Get:262 http://ftpmaster.internal/ubuntu plucky/main armhf libsframe1 armhf 2.44-2ubuntu1 [12.4 kB] 2803s Get:263 http://ftpmaster.internal/ubuntu plucky/main armhf btrfs-progs armhf 6.12-1build1 [884 kB] 2803s Get:264 http://ftpmaster.internal/ubuntu plucky/main armhf python3-certifi all 2025.1.31+ds-1 [9816 B] 2803s Get:265 http://ftpmaster.internal/ubuntu plucky/main armhf python3-chardet all 5.2.0+dfsg-2 [116 kB] 2803s Get:266 http://ftpmaster.internal/ubuntu plucky/main armhf python3-idna all 3.10-1 [47.4 kB] 2803s Get:267 http://ftpmaster.internal/ubuntu plucky/main armhf python3-urllib3 all 2.3.0-1 [94.0 kB] 2803s Get:268 http://ftpmaster.internal/ubuntu plucky/main armhf python3-requests all 2.32.3+dfsg-4ubuntu1 [52.9 kB] 2803s Get:269 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jinja2 all 3.1.5-2 [109 kB] 2803s Get:270 http://ftpmaster.internal/ubuntu plucky/main armhf python3-json-pointer all 2.4-3 [8444 B] 2803s Get:271 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonpatch all 1.32-5 [12.3 kB] 2803s Get:272 http://ftpmaster.internal/ubuntu plucky/main armhf python3-attr all 25.1.0-1 [50.4 kB] 2803s Get:273 http://ftpmaster.internal/ubuntu plucky/main armhf python3-referencing all 0.35.1-2ubuntu1 [21.9 kB] 2803s Get:274 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jsonschema all 4.19.2-6ubuntu1 [65.5 kB] 2803s Get:275 http://ftpmaster.internal/ubuntu plucky/main armhf python3-jwt all 2.10.1-2 [21.0 kB] 2803s Get:276 http://ftpmaster.internal/ubuntu plucky/main armhf python3-oauthlib all 3.2.2-3 [89.9 kB] 2803s Get:277 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init-base all 25.1-0ubuntu1 [616 kB] 2803s Get:278 http://ftpmaster.internal/ubuntu plucky/main armhf cryptsetup-bin armhf 2:2.7.5-1ubuntu2 [220 kB] 2803s Get:279 http://ftpmaster.internal/ubuntu plucky/main armhf curl armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [247 kB] 2803s Get:280 http://ftpmaster.internal/ubuntu plucky/main armhf libcurl4t64 armhf 8.12.0+git20250209.89ed161+ds-1ubuntu1 [335 kB] 2803s Get:281 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-dev all 1.22.11ubuntu4 [1088 kB] 2803s Get:282 http://ftpmaster.internal/ubuntu plucky/main armhf libdpkg-perl all 1.22.11ubuntu4 [279 kB] 2803s Get:283 http://ftpmaster.internal/ubuntu plucky/main armhf make armhf 4.4.1-1 [180 kB] 2803s Get:284 http://ftpmaster.internal/ubuntu plucky/main armhf lto-disabled-list all 56 [12.4 kB] 2803s Get:285 http://ftpmaster.internal/ubuntu plucky/main armhf libarchive13t64 armhf 3.7.7-0ubuntu1 [335 kB] 2803s Get:286 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-common all 1.10.6+ds-1 [5636 B] 2803s Get:287 http://ftpmaster.internal/ubuntu plucky/main armhf libjson-glib-1.0-0 armhf 1.10.6+ds-1 [59.5 kB] 2803s Get:288 http://ftpmaster.internal/ubuntu plucky/main armhf fwupd armhf 2.0.6-3 [5155 kB] 2803s Get:289 http://ftpmaster.internal/ubuntu plucky/main armhf libfwupd3 armhf 2.0.6-3 [125 kB] 2803s Get:290 http://ftpmaster.internal/ubuntu plucky/main armhf libprotobuf-c1 armhf 1.5.1-1ubuntu1 [18.1 kB] 2803s Get:291 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-proxy armhf 1.35.6-1 [5878 B] 2803s Get:292 http://ftpmaster.internal/ubuntu plucky/main armhf libqmi-glib5 armhf 1.35.6-1 [928 kB] 2803s Get:293 http://ftpmaster.internal/ubuntu plucky/main armhf gir1.2-packagekitglib-1.0 armhf 1.3.0-3build1 [25.5 kB] 2803s Get:294 http://ftpmaster.internal/ubuntu plucky/main armhf gnupg-l10n all 2.4.4-2ubuntu22 [66.4 kB] 2803s Get:295 http://ftpmaster.internal/ubuntu plucky/main armhf htop armhf 3.3.0-5 [140 kB] 2803s Get:296 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-utils3 armhf 3.3.0-1 [17.5 kB] 2803s Get:297 http://ftpmaster.internal/ubuntu plucky/main armhf libnspr4 armhf 2:4.36-1ubuntu1 [94.5 kB] 2803s Get:298 http://ftpmaster.internal/ubuntu plucky/main armhf libnss3 armhf 2:3.108-1ubuntu1 [1317 kB] 2803s Get:299 http://ftpmaster.internal/ubuntu plucky/main armhf libgpgme11t64 armhf 1.24.2-1ubuntu1 [125 kB] 2803s Get:300 http://ftpmaster.internal/ubuntu plucky/main armhf libvolume-key1 armhf 0.3.12-9 [39.1 kB] 2803s Get:301 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-crypto3 armhf 3.3.0-1 [22.4 kB] 2803s Get:302 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-fs3 armhf 3.3.0-1 [34.5 kB] 2804s Get:303 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-loop3 armhf 3.3.0-1 [6594 B] 2804s Get:304 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-mdraid3 armhf 3.3.0-1 [13.4 kB] 2804s Get:305 http://ftpmaster.internal/ubuntu plucky/main armhf libnvme1t64 armhf 1.11.1-2 [73.6 kB] 2804s Get:306 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-nvme3 armhf 3.3.0-1 [17.7 kB] 2804s Get:307 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-part3 armhf 3.3.0-1 [16.6 kB] 2804s Get:308 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev-swap3 armhf 3.3.0-1 [9010 B] 2804s Get:309 http://ftpmaster.internal/ubuntu plucky/main armhf libblockdev3 armhf 3.3.0-1 [44.4 kB] 2804s Get:310 http://ftpmaster.internal/ubuntu plucky/main armhf libftdi1-2 armhf 1.5-8 [26.3 kB] 2804s Get:311 http://ftpmaster.internal/ubuntu plucky/main armhf libgudev-1.0-0 armhf 1:238-6 [13.7 kB] 2804s Get:312 http://ftpmaster.internal/ubuntu plucky/main armhf libicu76 armhf 76.1-1ubuntu2 [10.8 MB] 2805s Get:313 http://ftpmaster.internal/ubuntu plucky/main armhf libsasl2-modules armhf 2.1.28+dfsg1-8build1 [62.7 kB] 2805s Get:314 http://ftpmaster.internal/ubuntu plucky/main armhf udisks2 armhf 2.10.1-11ubuntu2 [278 kB] 2805s Get:315 http://ftpmaster.internal/ubuntu plucky/main armhf libudisks2-0 armhf 2.10.1-11ubuntu2 [142 kB] 2805s Get:316 http://ftpmaster.internal/ubuntu plucky/main armhf libwrap0 armhf 7.6.q-35 [45.6 kB] 2805s Get:317 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15 all 6.12.0-15.15 [14.1 MB] 2805s Get:318 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-6.12.0-15-generic armhf 6.12.0-15.15 [1414 kB] 2805s Get:319 http://ftpmaster.internal/ubuntu plucky/main armhf linux-headers-generic armhf 6.12.0-15.15+1 [10.8 kB] 2805s Get:320 http://ftpmaster.internal/ubuntu plucky/main armhf pollinate all 4.33-4ubuntu2 [12.4 kB] 2805s Get:321 http://ftpmaster.internal/ubuntu plucky/main armhf python3-babel all 2.17.0-1 [101 kB] 2805s Get:322 http://ftpmaster.internal/ubuntu plucky/main armhf python-babel-localedata all 2.17.0-1 [6678 kB] 2805s Get:323 http://ftpmaster.internal/ubuntu plucky/main armhf python3-more-itertools all 10.6.0-1 [57.7 kB] 2805s Get:324 http://ftpmaster.internal/ubuntu plucky/main armhf python3-openssl all 25.0.0-1 [46.1 kB] 2805s Get:325 http://ftpmaster.internal/ubuntu plucky/main armhf python3-pkg-resources all 75.6.0-1 [144 kB] 2805s Get:326 http://ftpmaster.internal/ubuntu plucky/main armhf python3-setuptools all 75.6.0-1 [645 kB] 2805s Get:327 http://ftpmaster.internal/ubuntu plucky/main armhf software-properties-common all 0.109 [16.5 kB] 2805s Get:328 http://ftpmaster.internal/ubuntu plucky/main armhf python3-software-properties all 0.109 [31.0 kB] 2805s Get:329 http://ftpmaster.internal/ubuntu plucky/main armhf python3-wadllib all 2.0.0-2 [36.2 kB] 2805s Get:330 http://ftpmaster.internal/ubuntu plucky/main armhf tmux armhf 3.5a-3 [406 kB] 2806s Get:331 http://ftpmaster.internal/ubuntu plucky/main armhf unattended-upgrades all 2.12ubuntu4 [58.5 kB] 2806s Get:332 http://ftpmaster.internal/ubuntu plucky/main armhf xfsprogs armhf 6.12.0-1ubuntu1 [958 kB] 2806s Get:333 http://ftpmaster.internal/ubuntu plucky/main armhf zstd armhf 1.5.6+dfsg-2 [690 kB] 2806s Get:334 http://ftpmaster.internal/ubuntu plucky/main armhf cloud-init all 25.1-0ubuntu1 [2088 B] 2806s Get:335 http://ftpmaster.internal/ubuntu plucky/main armhf kpartx armhf 0.9.9-1ubuntu4 [35.0 kB] 2806s Get:336 http://ftpmaster.internal/ubuntu plucky/main armhf multipath-tools armhf 0.9.9-1ubuntu4 [294 kB] 2807s Preconfiguring packages ... 2809s Fetched 148 MB in 11s (13.0 MB/s) 2809s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59970 files and directories currently installed.) 2809s Preparing to unpack .../motd-news-config_13.6ubuntu1_all.deb ... 2809s Unpacking motd-news-config (13.6ubuntu1) over (13.5ubuntu3) ... 2809s Selecting previously unselected package gcc-15-base:armhf. 2809s Preparing to unpack .../gcc-15-base_15-20250213-1ubuntu1_armhf.deb ... 2809s Unpacking gcc-15-base:armhf (15-20250213-1ubuntu1) ... 2809s Setting up gcc-15-base:armhf (15-20250213-1ubuntu1) ... 2809s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 2809s Preparing to unpack .../libgcc-s1_15-20250213-1ubuntu1_armhf.deb ... 2809s Unpacking libgcc-s1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 2809s Setting up libgcc-s1:armhf (15-20250213-1ubuntu1) ... 2809s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59975 files and directories currently installed.) 2809s Preparing to unpack .../libc6_2.40-4ubuntu1_armhf.deb ... 2810s Unpacking libc6:armhf (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 2810s Setting up libc6:armhf (2.40-4ubuntu1) ... 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 ... 59975 files and directories currently installed.) 2810s Preparing to unpack .../libcrypt1_1%3a4.4.38-1_armhf.deb ... 2810s Unpacking libcrypt1:armhf (1:4.4.38-1) over (1:4.4.36-5) ... 2810s Setting up libcrypt1:armhf (1:4.4.38-1) ... 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 ... 59975 files and directories currently installed.) 2810s Preparing to unpack .../base-files_13.6ubuntu1_armhf.deb ... 2810s Unpacking base-files (13.6ubuntu1) over (13.5ubuntu3) ... 2810s Setting up base-files (13.6ubuntu1) ... 2810s Updating /root/.profile to current default. 2811s motd-news.service is a disabled or a static unit not running, not starting it. 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 ... 59975 files and directories currently installed.) 2811s Preparing to unpack .../bash_5.2.37-1ubuntu1_armhf.deb ... 2811s Unpacking bash (5.2.37-1ubuntu1) over (5.2.32-1ubuntu2) ... 2811s Setting up bash (5.2.37-1ubuntu1) ... 2811s update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode 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 ... 59975 files and directories currently installed.) 2811s Preparing to unpack .../bsdutils_1%3a2.40.2-14ubuntu1_armhf.deb ... 2811s Unpacking bsdutils (1:2.40.2-14ubuntu1) over (1:2.40.2-1ubuntu1) ... 2811s Setting up bsdutils (1:2.40.2-14ubuntu1) ... 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 ... 59975 files and directories currently installed.) 2811s Preparing to unpack .../coreutils_9.5-1ubuntu1_armhf.deb ... 2811s Unpacking coreutils (9.5-1ubuntu1) over (9.4-3.1ubuntu1) ... 2812s Setting up coreutils (9.5-1ubuntu1) ... 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 ... 59975 files and directories currently installed.) 2812s Preparing to unpack .../dash_0.5.12-12ubuntu1_armhf.deb ... 2812s Unpacking dash (0.5.12-12ubuntu1) over (0.5.12-9ubuntu1) ... 2812s Setting up dash (0.5.12-12ubuntu1) ... 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 ... 59975 files and directories currently installed.) 2812s Preparing to unpack .../diffutils_1%3a3.10-2_armhf.deb ... 2812s Unpacking diffutils (1:3.10-2) over (1:3.10-1build1) ... 2812s Setting up diffutils (1:3.10-2) ... 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 ... 59975 files and directories currently installed.) 2812s Preparing to unpack .../libxxhash0_0.8.3-2_armhf.deb ... 2812s Unpacking libxxhash0:armhf (0.8.3-2) over (0.8.2-2build1) ... 2812s Setting up libxxhash0:armhf (0.8.3-2) ... 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 ... 59975 files and directories currently installed.) 2812s Preparing to unpack .../liblz4-1_1.10.0-3_armhf.deb ... 2812s Unpacking liblz4-1:armhf (1.10.0-3) over (1.9.4-3) ... 2812s Setting up liblz4-1:armhf (1.10.0-3) ... 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 ... 59975 files and directories currently installed.) 2812s Preparing to unpack .../libssl3t64_3.4.1-1ubuntu1_armhf.deb ... 2812s Unpacking libssl3t64:armhf (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 2813s Selecting previously unselected package openssl-provider-legacy. 2813s Preparing to unpack .../openssl-provider-legacy_3.4.1-1ubuntu1_armhf.deb ... 2813s Unpacking openssl-provider-legacy (3.4.1-1ubuntu1) ... 2813s Setting up libssl3t64:armhf (3.4.1-1ubuntu1) ... 2813s Setting up openssl-provider-legacy (3.4.1-1ubuntu1) ... 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 ... 59977 files and directories currently installed.) 2813s Preparing to unpack .../libzstd1_1.5.6+dfsg-2_armhf.deb ... 2813s Unpacking libzstd1:armhf (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 2813s Setting up libzstd1:armhf (1.5.6+dfsg-2) ... 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 ... 59977 files and directories currently installed.) 2813s Preparing to unpack .../libstdc++6_15-20250213-1ubuntu1_armhf.deb ... 2813s Unpacking libstdc++6:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 2813s Setting up libstdc++6:armhf (15-20250213-1ubuntu1) ... 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 ... 59977 files and directories currently installed.) 2813s Preparing to unpack .../0-systemd-timesyncd_257.2-3ubuntu1_armhf.deb ... 2813s Unpacking systemd-timesyncd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2813s Preparing to unpack .../1-dbus-session-bus-common_1.16.0-1ubuntu1_all.deb ... 2813s Unpacking dbus-session-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 2813s Preparing to unpack .../2-systemd-sysv_257.2-3ubuntu1_armhf.deb ... 2813s Unpacking systemd-sysv (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2813s Preparing to unpack .../3-libpam-systemd_257.2-3ubuntu1_armhf.deb ... 2813s Unpacking libpam-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2813s Preparing to unpack .../4-dbus-user-session_1.16.0-1ubuntu1_armhf.deb ... 2813s Unpacking dbus-user-session (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 2813s Preparing to unpack .../5-libapparmor1_4.1.0~beta5-0ubuntu5_armhf.deb ... 2813s Unpacking libapparmor1:armhf (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 2813s Preparing to unpack .../6-libcap-ng0_0.8.5-4_armhf.deb ... 2813s Unpacking libcap-ng0:armhf (0.8.5-4) over (0.8.5-3build1) ... 2814s Setting up libcap-ng0:armhf (0.8.5-4) ... 2814s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 2814s Preparing to unpack .../libselinux1_3.7-3ubuntu2_armhf.deb ... 2814s Unpacking libselinux1:armhf (3.7-3ubuntu2) over (3.7-3ubuntu1) ... 2814s Setting up libselinux1:armhf (3.7-3ubuntu2) ... 2814s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 2814s Preparing to unpack .../0-dbus-system-bus-common_1.16.0-1ubuntu1_all.deb ... 2814s Unpacking dbus-system-bus-common (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 2814s Preparing to unpack .../1-dbus-bin_1.16.0-1ubuntu1_armhf.deb ... 2814s Unpacking dbus-bin (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 2814s Preparing to unpack .../2-dbus_1.16.0-1ubuntu1_armhf.deb ... 2814s Unpacking dbus (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 2814s Preparing to unpack .../3-dbus-daemon_1.16.0-1ubuntu1_armhf.deb ... 2814s Unpacking dbus-daemon (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 2814s Preparing to unpack .../4-libdbus-1-3_1.16.0-1ubuntu1_armhf.deb ... 2814s Unpacking libdbus-1-3:armhf (1.16.0-1ubuntu1) over (1.14.10-4ubuntu5) ... 2814s Preparing to unpack .../5-systemd-resolved_257.2-3ubuntu1_armhf.deb ... 2814s Unpacking systemd-resolved (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2814s Preparing to unpack .../6-libncurses6_6.5+20250125-2_armhf.deb ... 2814s Unpacking libncurses6:armhf (6.5+20250125-2) over (6.5-2) ... 2814s Preparing to unpack .../7-libncursesw6_6.5+20250125-2_armhf.deb ... 2814s Unpacking libncursesw6:armhf (6.5+20250125-2) over (6.5-2) ... 2814s Preparing to unpack .../8-libtinfo6_6.5+20250125-2_armhf.deb ... 2814s Unpacking libtinfo6:armhf (6.5+20250125-2) over (6.5-2) ... 2814s Setting up libtinfo6:armhf (6.5+20250125-2) ... 2814s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59978 files and directories currently installed.) 2814s Preparing to unpack .../bsdextrautils_2.40.2-14ubuntu1_armhf.deb ... 2814s Unpacking bsdextrautils (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2814s Preparing to unpack .../eject_2.40.2-14ubuntu1_armhf.deb ... 2814s Unpacking eject (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2814s Preparing to unpack .../fdisk_2.40.2-14ubuntu1_armhf.deb ... 2814s Unpacking fdisk (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2815s Preparing to unpack .../libblkid1_2.40.2-14ubuntu1_armhf.deb ... 2815s Unpacking libblkid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2815s Setting up libblkid1:armhf (2.40.2-14ubuntu1) ... 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 ... 59974 files and directories currently installed.) 2815s Preparing to unpack .../libmount1_2.40.2-14ubuntu1_armhf.deb ... 2815s Unpacking libmount1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2815s Setting up libmount1:armhf (2.40.2-14ubuntu1) ... 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 ... 59974 files and directories currently installed.) 2815s Preparing to unpack .../libsmartcols1_2.40.2-14ubuntu1_armhf.deb ... 2815s Unpacking libsmartcols1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2815s Setting up libsmartcols1:armhf (2.40.2-14ubuntu1) ... 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 ... 59974 files and directories currently installed.) 2815s Preparing to unpack .../libuuid1_2.40.2-14ubuntu1_armhf.deb ... 2815s Unpacking libuuid1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2815s Setting up libuuid1:armhf (2.40.2-14ubuntu1) ... 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 ... 59974 files and directories currently installed.) 2815s Preparing to unpack .../util-linux_2.40.2-14ubuntu1_armhf.deb ... 2815s Unpacking util-linux (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2816s Setting up util-linux (2.40.2-14ubuntu1) ... 2816s fstrim.service is a disabled or a static unit not running, not starting it. 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 ... 59967 files and directories currently installed.) 2816s Preparing to unpack .../0-uuid-runtime_2.40.2-14ubuntu1_armhf.deb ... 2816s Unpacking uuid-runtime (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2816s Preparing to unpack .../1-libfdisk1_2.40.2-14ubuntu1_armhf.deb ... 2816s Unpacking libfdisk1:armhf (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2816s Preparing to unpack .../2-mount_2.40.2-14ubuntu1_armhf.deb ... 2816s Unpacking mount (2.40.2-14ubuntu1) over (2.40.2-1ubuntu1) ... 2816s Preparing to unpack .../3-readline-common_8.2-6_all.deb ... 2816s Unpacking readline-common (8.2-6) over (8.2-5) ... 2816s Preparing to unpack .../4-libreadline8t64_8.2-6_armhf.deb ... 2816s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8 to /lib/arm-linux-gnueabihf/libhistory.so.8.usr-is-merged by libreadline8t64' 2816s Leaving 'diversion of /lib/arm-linux-gnueabihf/libhistory.so.8.2 to /lib/arm-linux-gnueabihf/libhistory.so.8.2.usr-is-merged by libreadline8t64' 2816s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8 to /lib/arm-linux-gnueabihf/libreadline.so.8.usr-is-merged by libreadline8t64' 2816s Leaving 'diversion of /lib/arm-linux-gnueabihf/libreadline.so.8.2 to /lib/arm-linux-gnueabihf/libreadline.so.8.2.usr-is-merged by libreadline8t64' 2816s Unpacking libreadline8t64:armhf (8.2-6) over (8.2-5) ... 2816s Preparing to unpack .../5-systemd-cryptsetup_257.2-3ubuntu1_armhf.deb ... 2816s Unpacking systemd-cryptsetup (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2816s Preparing to unpack .../6-libsystemd-shared_257.2-3ubuntu1_armhf.deb ... 2816s Unpacking libsystemd-shared:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2817s Preparing to unpack .../7-libnss-systemd_257.2-3ubuntu1_armhf.deb ... 2817s Unpacking libnss-systemd:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2817s Setting up libsystemd-shared:armhf (257.2-3ubuntu1) ... 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 ... 59967 files and directories currently installed.) 2817s Preparing to unpack .../systemd_257.2-3ubuntu1_armhf.deb ... 2817s Unpacking systemd (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2817s Preparing to unpack .../udev_257.2-3ubuntu1_armhf.deb ... 2817s Unpacking udev (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2817s Preparing to unpack .../libudev1_257.2-3ubuntu1_armhf.deb ... 2817s Unpacking libudev1:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2818s Setting up libudev1:armhf (257.2-3ubuntu1) ... 2818s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 2818s Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.201-1ubuntu1_armhf.deb ... 2818s Unpacking libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 2818s Preparing to unpack .../libcryptsetup12_2%3a2.7.5-1ubuntu2_armhf.deb ... 2818s Unpacking libcryptsetup12:armhf (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 2818s Preparing to unpack .../libsystemd0_257.2-3ubuntu1_armhf.deb ... 2818s Unpacking libsystemd0:armhf (257.2-3ubuntu1) over (256.5-2ubuntu4) ... 2818s Setting up libsystemd0:armhf (257.2-3ubuntu1) ... 2818s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 2818s Preparing to unpack .../libapt-pkg6.0t64_2.9.29_armhf.deb ... 2818s Unpacking libapt-pkg6.0t64:armhf (2.9.29) over (2.9.14ubuntu1) ... 2818s Setting up libapt-pkg6.0t64:armhf (2.9.29) ... 2818s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 2818s Preparing to unpack .../tar_1.35+dfsg-3.1_armhf.deb ... 2818s Unpacking tar (1.35+dfsg-3.1) over (1.35+dfsg-3build1) ... 2818s Setting up tar (1.35+dfsg-3.1) ... 2818s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 2818s Preparing to unpack .../dpkg_1.22.11ubuntu4_armhf.deb ... 2818s Unpacking dpkg (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 2818s Setting up dpkg (1.22.11ubuntu4) ... 2819s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 2819s Preparing to unpack .../gzip_1.13-1ubuntu2_armhf.deb ... 2819s Unpacking gzip (1.13-1ubuntu2) over (1.12-1.1ubuntu1) ... 2819s Setting up gzip (1.13-1ubuntu2) ... 2819s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 2819s Preparing to unpack .../ncurses-bin_6.5+20250125-2_armhf.deb ... 2819s Unpacking ncurses-bin (6.5+20250125-2) over (6.5-2) ... 2819s Setting up ncurses-bin (6.5+20250125-2) ... 2819s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59961 files and directories currently installed.) 2819s Preparing to unpack .../perl_5.40.1-2_armhf.deb ... 2819s Unpacking perl (5.40.1-2) over (5.40.0-8) ... 2819s Preparing to unpack .../perl-modules-5.40_5.40.1-2_all.deb ... 2819s Unpacking perl-modules-5.40 (5.40.1-2) over (5.40.0-8) ... 2820s Preparing to unpack .../libperl5.40_5.40.1-2_armhf.deb ... 2820s Unpacking libperl5.40:armhf (5.40.1-2) over (5.40.0-8) ... 2820s Preparing to unpack .../perl-base_5.40.1-2_armhf.deb ... 2820s Unpacking perl-base (5.40.1-2) over (5.40.0-8) ... 2821s Setting up perl-base (5.40.1-2) ... 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 ... 59961 files and directories currently installed.) 2821s Preparing to unpack .../libdebconfclient0_0.274ubuntu1_armhf.deb ... 2821s Unpacking libdebconfclient0:armhf (0.274ubuntu1) over (0.272ubuntu1) ... 2821s Setting up libdebconfclient0:armhf (0.274ubuntu1) ... 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 ... 59961 files and directories currently installed.) 2821s Preparing to unpack .../base-passwd_3.6.6_armhf.deb ... 2821s Unpacking base-passwd (3.6.6) over (3.6.5) ... 2821s Setting up base-passwd (3.6.6) ... 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 ... 59961 files and directories currently installed.) 2821s Preparing to unpack .../init-system-helpers_1.68_all.deb ... 2821s Unpacking init-system-helpers (1.68) over (1.67ubuntu1) ... 2821s Setting up init-system-helpers (1.68) ... 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 ... 59961 files and directories currently installed.) 2821s Preparing to unpack .../libc-bin_2.40-4ubuntu1_armhf.deb ... 2821s Unpacking libc-bin (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 2821s Setting up libc-bin (2.40-4ubuntu1) ... 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 ... 59961 files and directories currently installed.) 2821s Preparing to unpack .../ncurses-base_6.5+20250125-2_all.deb ... 2821s Unpacking ncurses-base (6.5+20250125-2) over (6.5-2) ... 2821s Setting up ncurses-base (6.5+20250125-2) ... 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 ... 59961 files and directories currently installed.) 2821s Preparing to unpack .../0-ncurses-term_6.5+20250125-2_all.deb ... 2821s Unpacking ncurses-term (6.5+20250125-2) over (6.5-2) ... 2822s Preparing to unpack .../1-kbd_2.7.1-2ubuntu1_armhf.deb ... 2822s Unpacking kbd (2.7.1-2ubuntu1) over (2.6.4-2ubuntu3) ... 2822s Preparing to unpack .../2-console-setup-linux_1.226ubuntu3_all.deb ... 2822s Unpacking console-setup-linux (1.226ubuntu3) over (1.226ubuntu2) ... 2822s Preparing to unpack .../3-console-setup_1.226ubuntu3_all.deb ... 2822s Unpacking console-setup (1.226ubuntu3) over (1.226ubuntu2) ... 2822s Preparing to unpack .../4-keyboard-configuration_1.226ubuntu3_all.deb ... 2822s Unpacking keyboard-configuration (1.226ubuntu3) over (1.226ubuntu2) ... 2822s Preparing to unpack .../5-sysvinit-utils_3.14-1ubuntu1_armhf.deb ... 2822s Unpacking sysvinit-utils (3.14-1ubuntu1) over (3.08-6ubuntu3) ... 2822s Setting up sysvinit-utils (3.14-1ubuntu1) ... 2822s Selecting previously unselected package libapt-pkg7.0: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 ... 59966 files and directories currently installed.) 2823s Preparing to unpack .../libapt-pkg7.0_2.9.30ubuntu1_armhf.deb ... 2823s Unpacking libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 2823s Setting up libapt-pkg7.0:armhf (2.9.30ubuntu1) ... 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 ... 60015 files and directories currently installed.) 2823s Preparing to unpack .../apt_2.9.30ubuntu1_armhf.deb ... 2823s Unpacking apt (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 2823s Setting up apt (2.9.30ubuntu1) ... 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 ... 60017 files and directories currently installed.) 2824s Preparing to unpack .../apt-utils_2.9.30ubuntu1_armhf.deb ... 2824s Unpacking apt-utils (2.9.30ubuntu1) over (2.9.14ubuntu1) ... 2824s Preparing to unpack .../libgpg-error-l10n_1.51-3_all.deb ... 2824s Unpacking libgpg-error-l10n (1.51-3) over (1.50-4) ... 2824s Preparing to unpack .../libgpg-error0_1.51-3_armhf.deb ... 2824s Unpacking libgpg-error0:armhf (1.51-3) over (1.50-4) ... 2824s Setting up libgpg-error0:armhf (1.51-3) ... 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 ... 60017 files and directories currently installed.) 2824s Preparing to unpack .../libnpth0t64_1.8-2_armhf.deb ... 2824s Unpacking libnpth0t64:armhf (1.8-2) over (1.6-3.1build1) ... 2824s Setting up libnpth0t64:armhf (1.8-2) ... 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 ... 60017 files and directories currently installed.) 2824s Preparing to unpack .../00-gpg-wks-client_2.4.4-2ubuntu22_armhf.deb ... 2824s Unpacking gpg-wks-client (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2824s Preparing to unpack .../01-dirmngr_2.4.4-2ubuntu22_armhf.deb ... 2824s Unpacking dirmngr (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2824s Preparing to unpack .../02-gpgsm_2.4.4-2ubuntu22_armhf.deb ... 2824s Unpacking gpgsm (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2824s Preparing to unpack .../03-gnupg-utils_2.4.4-2ubuntu22_armhf.deb ... 2824s Unpacking gnupg-utils (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2824s Preparing to unpack .../04-gpg-agent_2.4.4-2ubuntu22_armhf.deb ... 2824s Unpacking gpg-agent (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2824s Preparing to unpack .../05-gpg_2.4.4-2ubuntu22_armhf.deb ... 2824s Unpacking gpg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2825s Preparing to unpack .../06-gpgconf_2.4.4-2ubuntu22_armhf.deb ... 2825s Unpacking gpgconf (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2825s Preparing to unpack .../07-gnupg_2.4.4-2ubuntu22_all.deb ... 2825s Unpacking gnupg (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2825s Preparing to unpack .../08-keyboxd_2.4.4-2ubuntu22_armhf.deb ... 2825s Unpacking keyboxd (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2825s Preparing to unpack .../09-pinentry-curses_1.3.1-2ubuntu2_armhf.deb ... 2825s Unpacking pinentry-curses (1.3.1-2ubuntu2) over (1.3.1-0ubuntu2) ... 2825s Preparing to unpack .../10-libnettle8t64_3.10.1-1_armhf.deb ... 2825s Unpacking libnettle8t64:armhf (3.10.1-1) over (3.10-1) ... 2825s Setting up libnettle8t64:armhf (3.10.1-1) ... 2825s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 2825s Preparing to unpack .../libhogweed6t64_3.10.1-1_armhf.deb ... 2825s Unpacking libhogweed6t64:armhf (3.10.1-1) over (3.10-1) ... 2825s Setting up libhogweed6t64:armhf (3.10.1-1) ... 2825s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 2825s Preparing to unpack .../libffi8_3.4.7-1_armhf.deb ... 2825s Unpacking libffi8:armhf (3.4.7-1) over (3.4.6-1build1) ... 2825s Setting up libffi8:armhf (3.4.7-1) ... 2825s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 2825s Preparing to unpack .../libp11-kit0_0.25.5-2ubuntu3_armhf.deb ... 2825s Unpacking libp11-kit0:armhf (0.25.5-2ubuntu3) over (0.25.5-2ubuntu1) ... 2825s Setting up libp11-kit0:armhf (0.25.5-2ubuntu3) ... 2825s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 2825s Preparing to unpack .../libtasn1-6_4.20.0-2_armhf.deb ... 2825s Unpacking libtasn1-6:armhf (4.20.0-2) over (4.19.0-3build1) ... 2826s Setting up libtasn1-6:armhf (4.20.0-2) ... 2826s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 2826s Preparing to unpack .../libunistring5_1.3-1_armhf.deb ... 2826s Unpacking libunistring5:armhf (1.3-1) over (1.2-1) ... 2826s Setting up libunistring5:armhf (1.3-1) ... 2826s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 2826s Preparing to unpack .../libgnutls30t64_3.8.9-2ubuntu2_armhf.deb ... 2826s Unpacking libgnutls30t64:armhf (3.8.9-2ubuntu2) over (3.8.8-2ubuntu1) ... 2826s Setting up libgnutls30t64:armhf (3.8.9-2ubuntu2) ... 2826s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60017 files and directories currently installed.) 2826s Preparing to unpack .../libsasl2-modules-db_2.1.28+dfsg1-8build1_armhf.deb ... 2826s Unpacking libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 2826s Preparing to unpack .../libsasl2-2_2.1.28+dfsg1-8build1_armhf.deb ... 2826s Unpacking libsasl2-2:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 2826s Preparing to unpack .../libldap-common_2.6.9+dfsg-1~exp2ubuntu1_all.deb ... 2826s Unpacking libldap-common (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 2826s Preparing to unpack .../libldap2_2.6.9+dfsg-1~exp2ubuntu1_armhf.deb ... 2826s Unpacking libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) over (2.6.8+dfsg-1~exp4ubuntu3) ... 2826s Preparing to unpack .../gpgv_2.4.4-2ubuntu22_armhf.deb ... 2826s Unpacking gpgv (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2826s Setting up gpgv (2.4.4-2ubuntu22) ... 2826s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 2826s Preparing to unpack .../0-e2fsprogs-l10n_1.47.2-1ubuntu1_all.deb ... 2826s Unpacking e2fsprogs-l10n (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 2826s Preparing to unpack .../1-logsave_1.47.2-1ubuntu1_armhf.deb ... 2826s Unpacking logsave (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 2826s Preparing to unpack .../2-ubuntu-minimal_1.547_armhf.deb ... 2826s Unpacking ubuntu-minimal (1.547) over (1.544) ... 2826s Preparing to unpack .../3-initramfs-tools_0.145ubuntu2_all.deb ... 2826s Unpacking initramfs-tools (0.145ubuntu2) over (0.142ubuntu35) ... 2826s Preparing to unpack .../4-initramfs-tools-core_0.145ubuntu2_all.deb ... 2826s Unpacking initramfs-tools-core (0.145ubuntu2) over (0.142ubuntu35) ... 2826s Preparing to unpack .../5-libext2fs2t64_1.47.2-1ubuntu1_armhf.deb ... 2826s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2 to /lib/arm-linux-gnueabihf/libe2p.so.2.usr-is-merged by libext2fs2t64' 2826s Leaving 'diversion of /lib/arm-linux-gnueabihf/libe2p.so.2.3 to /lib/arm-linux-gnueabihf/libe2p.so.2.3.usr-is-merged by libext2fs2t64' 2826s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2 to /lib/arm-linux-gnueabihf/libext2fs.so.2.usr-is-merged by libext2fs2t64' 2826s Leaving 'diversion of /lib/arm-linux-gnueabihf/libext2fs.so.2.4 to /lib/arm-linux-gnueabihf/libext2fs.so.2.4.usr-is-merged by libext2fs2t64' 2826s Unpacking libext2fs2t64:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 2827s Setting up libext2fs2t64:armhf (1.47.2-1ubuntu1) ... 2827s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60016 files and directories currently installed.) 2827s Preparing to unpack .../e2fsprogs_1.47.2-1ubuntu1_armhf.deb ... 2827s Unpacking e2fsprogs (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 2827s Preparing to unpack .../dhcpcd-base_1%3a10.1.0-7_armhf.deb ... 2827s Unpacking dhcpcd-base (1:10.1.0-7) over (1:10.1.0-2) ... 2827s Setting up libapparmor1:armhf (4.1.0~beta5-0ubuntu5) ... 2827s Setting up mount (2.40.2-14ubuntu1) ... 2827s Setting up systemd (257.2-3ubuntu1) ... 2827s Installing new version of config file /etc/systemd/logind.conf ... 2827s Installing new version of config file /etc/systemd/sleep.conf ... 2827s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 2827s Created symlink '/run/systemd/system/tmp.mount' → '/dev/null'. 2827s /usr/lib/tmpfiles.d/legacy.conf:14: Duplicate line for path "/run/lock", ignoring. 2828s Setting up systemd-sysv (257.2-3ubuntu1) ... 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 ... 60015 files and directories currently installed.) 2828s Preparing to unpack .../00-init_1.68_armhf.deb ... 2828s Unpacking init (1.68) over (1.67ubuntu1) ... 2828s Preparing to unpack .../01-libbpf1_1%3a1.5.0-2_armhf.deb ... 2828s Unpacking libbpf1:armhf (1:1.5.0-2) over (1:1.5.0-1) ... 2828s Preparing to unpack .../02-iptables_1.8.11-2ubuntu1_armhf.deb ... 2828s Unpacking iptables (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 2828s Preparing to unpack .../03-libip4tc2_1.8.11-2ubuntu1_armhf.deb ... 2828s Unpacking libip4tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 2828s Preparing to unpack .../04-libip6tc2_1.8.11-2ubuntu1_armhf.deb ... 2828s Unpacking libip6tc2:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 2828s Preparing to unpack .../05-libnftnl11_1.2.8-1_armhf.deb ... 2828s Unpacking libnftnl11:armhf (1.2.8-1) over (1.2.7-1) ... 2828s Preparing to unpack .../06-libxtables12_1.8.11-2ubuntu1_armhf.deb ... 2828s Unpacking libxtables12:armhf (1.8.11-2ubuntu1) over (1.8.10-3ubuntu2) ... 2828s Preparing to unpack .../07-iproute2_6.13.0-1ubuntu1_armhf.deb ... 2828s Unpacking iproute2 (6.13.0-1ubuntu1) over (6.10.0-2ubuntu1) ... 2829s Preparing to unpack .../08-iputils-ping_3%3a20240905-1ubuntu1_armhf.deb ... 2829s Unpacking iputils-ping (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 2829s Preparing to unpack .../09-locales_2.40-4ubuntu1_all.deb ... 2829s Unpacking locales (2.40-4ubuntu1) over (2.40-1ubuntu3) ... 2829s Selecting previously unselected package login.defs. 2829s Preparing to unpack .../10-login.defs_1%3a4.16.0-7ubuntu1_all.deb ... 2829s Unpacking login.defs (1:4.16.0-7ubuntu1) ... 2829s Replacing files in old package login (1:4.15.3-3ubuntu2) ... 2829s Setting up login.defs (1:4.16.0-7ubuntu1) ... 2829s Installing new version of config file /etc/login.defs ... 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 ... 60022 files and directories currently installed.) 2829s Preparing to unpack .../0-login_1%3a4.16.0-2+really2.40.2-14ubuntu1_armhf.deb ... 2829s Unpacking login (1:4.16.0-2+really2.40.2-14ubuntu1) over (1:4.15.3-3ubuntu2) ... 2829s Preparing to unpack .../1-mawk_1.3.4.20250131-1_armhf.deb ... 2829s Unpacking mawk (1.3.4.20250131-1) over (1.3.4.20240905-1) ... 2829s Preparing to unpack .../2-netcat-openbsd_1.228-1_armhf.deb ... 2829s Unpacking netcat-openbsd (1.228-1) over (1.226-1.1) ... 2829s Selecting previously unselected package libpython3.13-minimal:armhf. 2829s Preparing to unpack .../3-libpython3.13-minimal_3.13.2-1_armhf.deb ... 2829s Unpacking libpython3.13-minimal:armhf (3.13.2-1) ... 2829s Selecting previously unselected package python3.13-minimal. 2829s Preparing to unpack .../4-python3.13-minimal_3.13.2-1_armhf.deb ... 2829s Unpacking python3.13-minimal (3.13.2-1) ... 2829s Preparing to unpack .../5-python3-cryptography_43.0.0-1_armhf.deb ... 2830s Unpacking python3-cryptography (43.0.0-1) over (42.0.5-2build1) ... 2830s Setting up libpython3.13-minimal:armhf (3.13.2-1) ... 2830s Setting up python3.13-minimal (3.13.2-1) ... 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 ... 60304 files and directories currently installed.) 2831s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_armhf.deb ... 2831s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 2831s Setting up python3-minimal (3.13.1-1~exp2) ... 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 ... 60304 files and directories currently installed.) 2832s Preparing to unpack .../00-python3_3.13.1-1~exp2_armhf.deb ... 2832s Unpacking python3 (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 2832s Selecting previously unselected package python3-bcrypt. 2832s Preparing to unpack .../01-python3-bcrypt_4.2.0-2.1_armhf.deb ... 2832s Unpacking python3-bcrypt (4.2.0-2.1) ... 2832s Preparing to unpack .../02-tzdata_2025a-2ubuntu1_all.deb ... 2832s Unpacking tzdata (2025a-2ubuntu1) over (2024b-1ubuntu2) ... 2832s Selecting previously unselected package libpython3.13-stdlib:armhf. 2832s Preparing to unpack .../03-libpython3.13-stdlib_3.13.2-1_armhf.deb ... 2832s Unpacking libpython3.13-stdlib:armhf (3.13.2-1) ... 2832s Selecting previously unselected package python3.13. 2832s Preparing to unpack .../04-python3.13_3.13.2-1_armhf.deb ... 2832s Unpacking python3.13 (3.13.2-1) ... 2832s Preparing to unpack .../05-libpython3-stdlib_3.13.1-1~exp2_armhf.deb ... 2832s Unpacking libpython3-stdlib:armhf (3.13.1-1~exp2) over (3.12.6-0ubuntu1) ... 2832s Preparing to unpack .../06-gir1.2-girepository-2.0_1.82.0-4_armhf.deb ... 2832s Unpacking gir1.2-girepository-2.0:armhf (1.82.0-4) over (1.82.0-2) ... 2832s Preparing to unpack .../07-gir1.2-glib-2.0_2.83.4-1_armhf.deb ... 2832s Unpacking gir1.2-glib-2.0:armhf (2.83.4-1) over (2.82.2-3) ... 2832s Preparing to unpack .../08-libgirepository-1.0-1_1.82.0-4_armhf.deb ... 2832s Unpacking libgirepository-1.0-1:armhf (1.82.0-4) over (1.82.0-2) ... 2833s Preparing to unpack .../09-libglib2.0-data_2.83.4-1_all.deb ... 2833s Unpacking libglib2.0-data (2.83.4-1) over (2.82.2-3) ... 2833s Preparing to unpack .../10-libglib2.0-bin_2.83.4-1_armhf.deb ... 2833s Unpacking libglib2.0-bin (2.83.4-1) over (2.82.2-3) ... 2833s Preparing to unpack .../11-libatomic1_15-20250213-1ubuntu1_armhf.deb ... 2833s Unpacking libatomic1:armhf (15-20250213-1ubuntu1) over (14.2.0-8ubuntu1) ... 2833s Preparing to unpack .../12-libglib2.0-0t64_2.83.4-1_armhf.deb ... 2833s Unpacking libglib2.0-0t64:armhf (2.83.4-1) over (2.82.2-3) ... 2833s Preparing to unpack .../13-netplan-generator_1.1.2-2ubuntu1_armhf.deb ... 2833s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 2833s Unpacking netplan-generator (1.1.2-2ubuntu1) over (1.1.1-1) ... 2833s Preparing to unpack .../14-libyaml-0-2_0.2.5-2_armhf.deb ... 2833s Unpacking libyaml-0-2:armhf (0.2.5-2) over (0.2.5-1build1) ... 2833s Preparing to unpack .../15-python3-netplan_1.1.2-2ubuntu1_armhf.deb ... 2833s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2833s for fn in glob1(directory, "%s.*" % fname): 2833s Unpacking python3-netplan (1.1.2-2ubuntu1) over (1.1.1-1) ... 2833s Preparing to unpack .../16-netplan.io_1.1.2-2ubuntu1_armhf.deb ... 2833s Unpacking netplan.io (1.1.2-2ubuntu1) over (1.1.1-1) ... 2833s Preparing to unpack .../17-libnetplan1_1.1.2-2ubuntu1_armhf.deb ... 2833s Unpacking libnetplan1:armhf (1.1.2-2ubuntu1) over (1.1.1-1) ... 2833s Preparing to unpack .../18-ethtool_1%3a6.11-1_armhf.deb ... 2833s Unpacking ethtool (1:6.11-1) over (1:6.10-1) ... 2833s Preparing to unpack .../19-libsemanage-common_3.7-2.1_all.deb ... 2833s Unpacking libsemanage-common (3.7-2.1) over (3.7-2build1) ... 2833s Setting up libsemanage-common (3.7-2.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 ... 60727 files and directories currently installed.) 2833s Preparing to unpack .../libsemanage2_3.7-2.1_armhf.deb ... 2833s Unpacking libsemanage2:armhf (3.7-2.1) over (3.7-2build1) ... 2833s Setting up libsemanage2:armhf (3.7-2.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 ... 60727 files and directories currently installed.) 2833s Preparing to unpack .../passwd_1%3a4.16.0-7ubuntu1_armhf.deb ... 2833s Unpacking passwd (1:4.16.0-7ubuntu1) over (1:4.15.3-3ubuntu2) ... 2834s Setting up passwd (1:4.16.0-7ubuntu1) ... 2834s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60762 files and directories currently installed.) 2834s Preparing to unpack .../000-ubuntu-pro-client-l10n_34.1.3_armhf.deb ... 2834s Unpacking ubuntu-pro-client-l10n (34.1.3) over (34.1.2) ... 2834s Preparing to unpack .../001-python-apt-common_2.9.9_all.deb ... 2834s Unpacking python-apt-common (2.9.9) over (2.9.0ubuntu2) ... 2834s Preparing to unpack .../002-python3-apt_2.9.9_armhf.deb ... 2834s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2834s for fn in glob1(directory, "%s.*" % fname): 2834s Unpacking python3-apt (2.9.9) over (2.9.0ubuntu2) ... 2834s Preparing to unpack .../003-distro-info_1.13_armhf.deb ... 2834s Unpacking distro-info (1.13) over (1.12) ... 2834s Preparing to unpack .../004-ubuntu-pro-client_34.1.3_armhf.deb ... 2834s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2834s for fn in glob1(directory, "%s.*" % fname): 2834s Unpacking ubuntu-pro-client (34.1.3) over (34.1.2) ... 2834s Preparing to unpack .../005-vim-tiny_2%3a9.1.0967-1ubuntu2_armhf.deb ... 2834s Unpacking vim-tiny (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 2834s Preparing to unpack .../006-vim-common_2%3a9.1.0967-1ubuntu2_all.deb ... 2834s Unpacking vim-common (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 2835s Preparing to unpack .../007-python3-newt_0.52.24-4ubuntu1_armhf.deb ... 2835s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2835s for fn in glob1(directory, "%s.*" % fname): 2835s Unpacking python3-newt:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 2835s Preparing to unpack .../008-libnewt0.52_0.52.24-4ubuntu1_armhf.deb ... 2835s Unpacking libnewt0.52:armhf (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 2835s Preparing to unpack .../009-whiptail_0.52.24-4ubuntu1_armhf.deb ... 2835s Unpacking whiptail (0.52.24-4ubuntu1) over (0.52.24-2ubuntu4) ... 2835s Preparing to unpack .../010-dracut-install_106-2ubuntu1_armhf.deb ... 2835s Unpacking dracut-install (106-2ubuntu1) over (105-2ubuntu3) ... 2835s Preparing to unpack .../011-initramfs-tools-bin_0.145ubuntu2_armhf.deb ... 2835s Unpacking initramfs-tools-bin (0.145ubuntu2) over (0.142ubuntu35) ... 2835s Preparing to unpack .../012-busybox-initramfs_1%3a1.37.0-4ubuntu1_armhf.deb ... 2835s Unpacking busybox-initramfs (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 2835s Preparing to unpack .../013-python3.12_3.12.9-1_armhf.deb ... 2835s Unpacking python3.12 (3.12.9-1) over (3.12.7-3) ... 2835s Preparing to unpack .../014-libpython3.12-stdlib_3.12.9-1_armhf.deb ... 2835s Unpacking libpython3.12-stdlib:armhf (3.12.9-1) over (3.12.7-3) ... 2835s Preparing to unpack .../015-python3.12-minimal_3.12.9-1_armhf.deb ... 2835s Unpacking python3.12-minimal (3.12.9-1) over (3.12.7-3) ... 2835s Preparing to unpack .../016-libpython3.12-minimal_3.12.9-1_armhf.deb ... 2835s Unpacking libpython3.12-minimal:armhf (3.12.9-1) over (3.12.7-3) ... 2835s Preparing to unpack .../017-cron_3.0pl1-192ubuntu1_armhf.deb ... 2836s Unpacking cron (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 2836s Preparing to unpack .../018-rsync_3.4.1-0syncable1_armhf.deb ... 2836s Unpacking rsync (3.4.1-0syncable1) over (3.3.0-1) ... 2836s Preparing to unpack .../019-python3-lazr.uri_1.0.6-5_all.deb ... 2836s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2836s for fn in glob1(directory, "%s.*" % fname): 2836s Unpacking python3-lazr.uri (1.0.6-5) over (1.0.6-4) ... 2836s Preparing to unpack .../020-python3-launchpadlib_2.1.0-1_all.deb ... 2836s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2836s for fn in glob1(directory, "%s.*" % fname): 2836s Unpacking python3-launchpadlib (2.1.0-1) over (2.0.0-1) ... 2836s Preparing to unpack .../021-python3-problem-report_2.31.0+git20250220-0ubuntu1_all.deb ... 2836s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2836s for fn in glob1(directory, "%s.*" % fname): 2836s Unpacking python3-problem-report (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 2836s Preparing to unpack .../022-python3-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 2836s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2836s for fn in glob1(directory, "%s.*" % fname): 2836s Unpacking python3-apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 2836s Preparing to unpack .../023-python3-gi_3.50.0-4_armhf.deb ... 2836s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2836s for fn in glob1(directory, "%s.*" % fname): 2836s Unpacking python3-gi (3.50.0-4) over (3.50.0-3build1) ... 2836s Preparing to unpack .../024-apport-core-dump-handler_2.31.0+git20250220-0ubuntu1_all.deb ... 2836s Unpacking apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 2836s Preparing to unpack .../025-apport_2.31.0+git20250220-0ubuntu1_all.deb ... 2836s Unpacking apport (2.31.0+git20250220-0ubuntu1) over (2.30.0-0ubuntu5) ... 2836s Preparing to unpack .../026-gcc-14-base_14.2.0-17ubuntu3_armhf.deb ... 2836s Unpacking gcc-14-base:armhf (14.2.0-17ubuntu3) over (14.2.0-8ubuntu1) ... 2836s Preparing to unpack .../027-libcom-err2_1.47.2-1ubuntu1_armhf.deb ... 2836s Unpacking libcom-err2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 2836s Preparing to unpack .../028-libss2_1.47.2-1ubuntu1_armhf.deb ... 2836s Unpacking libss2:armhf (1.47.2-1ubuntu1) over (1.47.1-1ubuntu1) ... 2837s Preparing to unpack .../029-openssl_3.4.1-1ubuntu1_armhf.deb ... 2837s Unpacking openssl (3.4.1-1ubuntu1) over (3.3.1-2ubuntu2) ... 2837s Preparing to unpack .../030-ca-certificates_20241223_all.deb ... 2837s Unpacking ca-certificates (20241223) over (20240203) ... 2837s Preparing to unpack .../031-krb5-locales_1.21.3-4ubuntu1_all.deb ... 2837s Unpacking krb5-locales (1.21.3-4ubuntu1) over (1.21.3-3) ... 2837s Preparing to unpack .../032-libfribidi0_1.0.16-1_armhf.deb ... 2837s Unpacking libfribidi0:armhf (1.0.16-1) over (1.0.15-1) ... 2837s Preparing to unpack .../033-libgssapi-krb5-2_1.21.3-4ubuntu1_armhf.deb ... 2837s Unpacking libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 2837s Preparing to unpack .../034-libkrb5-3_1.21.3-4ubuntu1_armhf.deb ... 2837s Unpacking libkrb5-3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 2837s Preparing to unpack .../035-libkrb5support0_1.21.3-4ubuntu1_armhf.deb ... 2837s Unpacking libkrb5support0:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 2837s Preparing to unpack .../036-libk5crypto3_1.21.3-4ubuntu1_armhf.deb ... 2837s Unpacking libk5crypto3:armhf (1.21.3-4ubuntu1) over (1.21.3-3) ... 2837s Preparing to unpack .../037-libicu74_74.2-1ubuntu6_armhf.deb ... 2837s Unpacking libicu74:armhf (74.2-1ubuntu6) over (74.2-1ubuntu4) ... 2837s Preparing to unpack .../038-libxml2_2.12.7+dfsg+really2.9.14-0.2ubuntu3_armhf.deb ... 2837s Unpacking libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) over (2.12.7+dfsg-3) ... 2837s Preparing to unpack .../039-python3-pygments_2.18.0+dfsg-2_all.deb ... 2837s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2837s for fn in glob1(directory, "%s.*" % fname): 2838s Unpacking python3-pygments (2.18.0+dfsg-2) over (2.18.0+dfsg-1ubuntu1) ... 2838s Preparing to unpack .../040-python3-rich_13.9.4-1_all.deb ... 2838s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2838s for fn in glob1(directory, "%s.*" % fname): 2838s Unpacking python3-rich (13.9.4-1) over (13.7.1-1) ... 2838s Preparing to unpack .../041-ucf_3.0050_all.deb ... 2838s Unpacking ucf (3.0050) over (3.0043+nmu1) ... 2838s Preparing to unpack .../042-rsyslog_8.2412.0-2ubuntu1_armhf.deb ... 2838s Unpacking rsyslog (8.2412.0-2ubuntu1) over (8.2406.0-1ubuntu2) ... 2838s Preparing to unpack .../043-xxd_2%3a9.1.0967-1ubuntu2_armhf.deb ... 2838s Unpacking xxd (2:9.1.0967-1ubuntu2) over (2:9.1.0861-1ubuntu1) ... 2838s Preparing to unpack .../044-apparmor_4.1.0~beta5-0ubuntu5_armhf.deb ... 2839s Unpacking apparmor (4.1.0~beta5-0ubuntu5) over (4.1.0~beta1-0ubuntu4) ... 2840s dpkg: warning: unable to delete old directory '/lib/apparmor': Directory not empty 2840s Preparing to unpack .../045-bash-completion_1%3a2.16.0-7_all.deb ... 2840s Unpacking bash-completion (1:2.16.0-7) over (1:2.14.0-2) ... 2840s Selecting previously unselected package libjemalloc2:armhf. 2840s Preparing to unpack .../046-libjemalloc2_5.3.0-2build1_armhf.deb ... 2840s Unpacking libjemalloc2:armhf (5.3.0-2build1) ... 2840s Preparing to unpack .../047-libmaxminddb0_1.12.2-1_armhf.deb ... 2840s Unpacking libmaxminddb0:armhf (1.12.2-1) over (1.11.0-1) ... 2840s Preparing to unpack .../048-liburcu8t64_0.15.1-1_armhf.deb ... 2840s Unpacking liburcu8t64:armhf (0.15.1-1) over (0.14.1-1) ... 2840s Preparing to unpack .../049-bind9-dnsutils_1%3a9.20.4-3ubuntu1_armhf.deb ... 2840s Unpacking bind9-dnsutils (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 2840s Preparing to unpack .../050-bind9-host_1%3a9.20.4-3ubuntu1_armhf.deb ... 2840s Unpacking bind9-host (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 2840s Preparing to unpack .../051-bind9-libs_1%3a9.20.4-3ubuntu1_armhf.deb ... 2840s Unpacking bind9-libs:armhf (1:9.20.4-3ubuntu1) over (1:9.20.0-2ubuntu3) ... 2840s Preparing to unpack .../052-libedit2_3.1-20250104-1_armhf.deb ... 2840s Unpacking libedit2:armhf (3.1-20250104-1) over (3.1-20240808-1) ... 2840s Preparing to unpack .../053-busybox-static_1%3a1.37.0-4ubuntu1_armhf.deb ... 2840s Unpacking busybox-static (1:1.37.0-4ubuntu1) over (1:1.36.1-9ubuntu1) ... 2840s Preparing to unpack .../054-cron-daemon-common_3.0pl1-192ubuntu1_all.deb ... 2840s Unpacking cron-daemon-common (3.0pl1-192ubuntu1) over (3.0pl1-189ubuntu1) ... 2840s Preparing to unpack .../055-dmsetup_2%3a1.02.201-1ubuntu1_armhf.deb ... 2840s Unpacking dmsetup (2:1.02.201-1ubuntu1) over (2:1.02.196-1ubuntu2) ... 2840s Preparing to unpack .../056-ed_1.21-1_armhf.deb ... 2840s Unpacking ed (1.21-1) over (1.20.2-2) ... 2840s Preparing to unpack .../057-gettext-base_0.23.1-1_armhf.deb ... 2840s Unpacking gettext-base (0.23.1-1) over (0.22.5-2) ... 2841s Preparing to unpack .../058-groff-base_1.23.0-7_armhf.deb ... 2841s Unpacking groff-base (1.23.0-7) over (1.23.0-5) ... 2841s Preparing to unpack .../059-libibverbs1_55.0-1ubuntu1_armhf.deb ... 2841s Unpacking libibverbs1:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 2841s Preparing to unpack .../060-ibverbs-providers_55.0-1ubuntu1_armhf.deb ... 2841s Unpacking ibverbs-providers:armhf (55.0-1ubuntu1) over (52.0-2ubuntu1) ... 2841s Preparing to unpack .../061-inetutils-telnet_2%3a2.5-6ubuntu1_armhf.deb ... 2841s Unpacking inetutils-telnet (2:2.5-6ubuntu1) over (2:2.5-5ubuntu1) ... 2841s Preparing to unpack .../062-iputils-tracepath_3%3a20240905-1ubuntu1_armhf.deb ... 2841s Unpacking iputils-tracepath (3:20240905-1ubuntu1) over (3:20240117-1build1) ... 2841s Preparing to unpack .../063-libcbor0.10_0.10.2-2ubuntu1_armhf.deb ... 2841s Unpacking libcbor0.10:armhf (0.10.2-2ubuntu1) over (0.10.2-1.2ubuntu2) ... 2841s Preparing to unpack .../064-nftables_1.1.1-1build1_armhf.deb ... 2841s Unpacking nftables (1.1.1-1build1) over (1.1.0-2) ... 2841s Preparing to unpack .../065-libnftables1_1.1.1-1build1_armhf.deb ... 2841s Unpacking libnftables1:armhf (1.1.1-1build1) over (1.1.0-2) ... 2841s Preparing to unpack .../066-libpcap0.8t64_1.10.5-2ubuntu1_armhf.deb ... 2841s Unpacking libpcap0.8t64:armhf (1.10.5-2ubuntu1) over (1.10.5-1ubuntu1) ... 2841s Preparing to unpack .../067-libpng16-16t64_1.6.46-4_armhf.deb ... 2841s Unpacking libpng16-16t64:armhf (1.6.46-4) over (1.6.44-2) ... 2841s Preparing to unpack .../068-libxkbcommon0_1.7.0-2_armhf.deb ... 2841s Unpacking libxkbcommon0:armhf (1.7.0-2) over (1.7.0-1) ... 2841s Preparing to unpack .../069-libplymouth5_24.004.60-2ubuntu5_armhf.deb ... 2841s Unpacking libplymouth5:armhf (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 2841s Preparing to unpack .../070-libtraceevent1-plugin_1%3a1.8.4-2_armhf.deb ... 2841s Unpacking libtraceevent1-plugin:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 2842s Preparing to unpack .../071-libtraceevent1_1%3a1.8.4-2_armhf.deb ... 2842s Unpacking libtraceevent1:armhf (1:1.8.4-2) over (1:1.8.4-1) ... 2842s Preparing to unpack .../072-libusb-1.0-0_2%3a1.0.27-2_armhf.deb ... 2842s Unpacking libusb-1.0-0:armhf (2:1.0.27-2) over (2:1.0.27-1) ... 2842s Preparing to unpack .../073-libxdmcp6_1%3a1.1.5-1_armhf.deb ... 2842s Unpacking libxdmcp6:armhf (1:1.1.5-1) over (1:1.1.3-0ubuntu6) ... 2842s Preparing to unpack .../074-lshw_02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1_armhf.deb ... 2842s Unpacking lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) over (02.19.git.2021.06.19.996aaad9c7-2ubuntu2) ... 2842s Preparing to unpack .../075-lsof_4.99.4+dfsg-2_armhf.deb ... 2842s Unpacking lsof (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 2842s Preparing to unpack .../076-liblsof0_4.99.4+dfsg-2_armhf.deb ... 2842s Unpacking liblsof0 (4.99.4+dfsg-2) over (4.99.3+dfsg-2) ... 2842s Preparing to unpack .../077-nano_8.3-1_armhf.deb ... 2842s Unpacking nano (8.3-1) over (8.2-1) ... 2842s Preparing to unpack .../078-pci.ids_0.0~2025.02.12-1_all.deb ... 2842s Unpacking pci.ids (0.0~2025.02.12-1) over (0.0~2024.10.24-1) ... 2842s Preparing to unpack .../079-plymouth-theme-ubuntu-text_24.004.60-2ubuntu5_armhf.deb ... 2842s Unpacking plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 2842s Preparing to unpack .../080-libpackagekit-glib2-18_1.3.0-3build1_armhf.deb ... 2842s Unpacking libpackagekit-glib2-18:armhf (1.3.0-3build1) over (1.3.0-2) ... 2842s Preparing to unpack .../081-packagekit-tools_1.3.0-3build1_armhf.deb ... 2842s Unpacking packagekit-tools (1.3.0-3build1) over (1.3.0-2) ... 2842s Preparing to unpack .../082-polkitd_126-2_armhf.deb ... 2843s Unpacking polkitd (126-2) over (125-2ubuntu1) ... 2843s Preparing to unpack .../083-libpolkit-agent-1-0_126-2_armhf.deb ... 2843s Unpacking libpolkit-agent-1-0:armhf (126-2) over (125-2ubuntu1) ... 2843s Preparing to unpack .../084-libpolkit-gobject-1-0_126-2_armhf.deb ... 2843s Unpacking libpolkit-gobject-1-0:armhf (126-2) over (125-2ubuntu1) ... 2843s Preparing to unpack .../085-libcurl3t64-gnutls_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 2843s Unpacking libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 2843s Preparing to unpack .../086-libappstream5_1.0.4-1_armhf.deb ... 2843s Unpacking libappstream5:armhf (1.0.4-1) over (1.0.3-1) ... 2843s Preparing to unpack .../087-libgstreamer1.0-0_1.25.50-1_armhf.deb ... 2843s Unpacking libgstreamer1.0-0:armhf (1.25.50-1) over (1.24.9-1) ... 2843s Preparing to unpack .../088-packagekit_1.3.0-3build1_armhf.deb ... 2843s Unpacking packagekit (1.3.0-3build1) over (1.3.0-2) ... 2843s Preparing to unpack .../089-plymouth_24.004.60-2ubuntu5_armhf.deb ... 2843s Unpacking plymouth (24.004.60-2ubuntu5) over (24.004.60-2ubuntu4) ... 2844s Preparing to unpack .../090-powermgmt-base_1.38_all.deb ... 2844s Unpacking powermgmt-base (1.38) over (1.37+nmu1ubuntu1) ... 2844s Preparing to unpack .../091-psmisc_23.7-2_armhf.deb ... 2844s Unpacking psmisc (23.7-2) over (23.7-1build1) ... 2844s Preparing to unpack .../092-publicsuffix_20250108.1153-0.1_all.deb ... 2844s Unpacking publicsuffix (20250108.1153-0.1) over (20231001.0357-0.1) ... 2844s Preparing to unpack .../093-python3-distro-info_1.13_all.deb ... 2844s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2844s for fn in glob1(directory, "%s.*" % fname): 2844s Unpacking python3-distro-info (1.13) over (1.12) ... 2844s Preparing to unpack .../094-python3.13-gdbm_3.13.2-1_armhf.deb ... 2844s Unpacking python3.13-gdbm (3.13.2-1) over (3.13.0-2) ... 2844s Preparing to unpack .../095-python3.12-gdbm_3.12.9-1_armhf.deb ... 2844s Unpacking python3.12-gdbm (3.12.9-1) over (3.12.7-3) ... 2844s Preparing to unpack .../096-python3-gdbm_3.13.1-1_armhf.deb ... 2844s Unpacking python3-gdbm:armhf (3.13.1-1) over (3.12.7-1) ... 2844s Preparing to unpack .../097-telnet_0.17+2.5-6ubuntu1_all.deb ... 2844s Unpacking telnet (0.17+2.5-6ubuntu1) over (0.17+2.5-5ubuntu1) ... 2844s Preparing to unpack .../098-ubuntu-standard_1.547_armhf.deb ... 2844s Unpacking ubuntu-standard (1.547) over (1.544) ... 2844s Preparing to unpack .../099-ufw_0.36.2-9_all.deb ... 2844s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2844s for fn in glob1(directory, "%s.*" % fname): 2844s Unpacking ufw (0.36.2-9) over (0.36.2-8) ... 2844s Preparing to unpack .../100-usb.ids_2025.01.14-1_all.deb ... 2844s Unpacking usb.ids (2025.01.14-1) over (2024.07.04-1) ... 2844s Preparing to unpack .../101-xauth_1%3a1.1.2-1.1_armhf.deb ... 2844s Unpacking xauth (1:1.1.2-1.1) over (1:1.1.2-1build1) ... 2844s Preparing to unpack .../102-appstream_1.0.4-1_armhf.deb ... 2844s Unpacking appstream (1.0.4-1) over (1.0.3-1) ... 2844s Preparing to unpack .../103-libctf0_2.44-2ubuntu1_armhf.deb ... 2844s Unpacking libctf0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 2844s Preparing to unpack .../104-libctf-nobfd0_2.44-2ubuntu1_armhf.deb ... 2844s Unpacking libctf-nobfd0:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 2844s Preparing to unpack .../105-binutils-arm-linux-gnueabihf_2.44-2ubuntu1_armhf.deb ... 2844s Unpacking binutils-arm-linux-gnueabihf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 2845s Preparing to unpack .../106-libbinutils_2.44-2ubuntu1_armhf.deb ... 2845s Unpacking libbinutils:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 2845s Preparing to unpack .../107-binutils_2.44-2ubuntu1_armhf.deb ... 2845s Unpacking binutils (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 2845s Preparing to unpack .../108-binutils-common_2.44-2ubuntu1_armhf.deb ... 2845s Unpacking binutils-common:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 2845s Preparing to unpack .../109-libsframe1_2.44-2ubuntu1_armhf.deb ... 2845s Unpacking libsframe1:armhf (2.44-2ubuntu1) over (2.43.1-4ubuntu1) ... 2845s Preparing to unpack .../110-btrfs-progs_6.12-1build1_armhf.deb ... 2845s Unpacking btrfs-progs (6.12-1build1) over (6.6.3-1.2) ... 2845s Preparing to unpack .../111-python3-certifi_2025.1.31+ds-1_all.deb ... 2845s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2845s for fn in glob1(directory, "%s.*" % fname): 2845s Unpacking python3-certifi (2025.1.31+ds-1) over (2024.8.30+dfsg-1) ... 2845s Preparing to unpack .../112-python3-chardet_5.2.0+dfsg-2_all.deb ... 2845s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2845s for fn in glob1(directory, "%s.*" % fname): 2845s Unpacking python3-chardet (5.2.0+dfsg-2) over (5.2.0+dfsg-1) ... 2845s Preparing to unpack .../113-python3-idna_3.10-1_all.deb ... 2845s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2845s for fn in glob1(directory, "%s.*" % fname): 2845s Unpacking python3-idna (3.10-1) over (3.8-2) ... 2845s Preparing to unpack .../114-python3-urllib3_2.3.0-1_all.deb ... 2845s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2845s for fn in glob1(directory, "%s.*" % fname): 2845s Unpacking python3-urllib3 (2.3.0-1) over (2.0.7-2ubuntu0.1) ... 2845s Preparing to unpack .../115-python3-requests_2.32.3+dfsg-4ubuntu1_all.deb ... 2845s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2845s for fn in glob1(directory, "%s.*" % fname): 2846s Unpacking python3-requests (2.32.3+dfsg-4ubuntu1) over (2.32.3+dfsg-1ubuntu1) ... 2846s Preparing to unpack .../116-python3-jinja2_3.1.5-2_all.deb ... 2846s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2846s for fn in glob1(directory, "%s.*" % fname): 2846s Unpacking python3-jinja2 (3.1.5-2) over (3.1.3-1ubuntu1) ... 2846s Preparing to unpack .../117-python3-json-pointer_2.4-3_all.deb ... 2846s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2846s for fn in glob1(directory, "%s.*" % fname): 2846s Unpacking python3-json-pointer (2.4-3) over (2.4-2) ... 2846s Preparing to unpack .../118-python3-jsonpatch_1.32-5_all.deb ... 2846s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2846s for fn in glob1(directory, "%s.*" % fname): 2846s Unpacking python3-jsonpatch (1.32-5) over (1.32-4) ... 2846s Preparing to unpack .../119-python3-attr_25.1.0-1_all.deb ... 2846s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2846s for fn in glob1(directory, "%s.*" % fname): 2846s Unpacking python3-attr (25.1.0-1) over (23.2.0-2) ... 2846s Preparing to unpack .../120-python3-referencing_0.35.1-2ubuntu1_all.deb ... 2846s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2846s for fn in glob1(directory, "%s.*" % fname): 2846s Unpacking python3-referencing (0.35.1-2ubuntu1) over (0.35.1-1ubuntu1) ... 2846s Preparing to unpack .../121-python3-jsonschema_4.19.2-6ubuntu1_all.deb ... 2846s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2846s for fn in glob1(directory, "%s.*" % fname): 2846s Unpacking python3-jsonschema (4.19.2-6ubuntu1) over (4.19.2-3ubuntu1) ... 2846s Preparing to unpack .../122-python3-jwt_2.10.1-2_all.deb ... 2846s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2846s for fn in glob1(directory, "%s.*" % fname): 2847s Unpacking python3-jwt (2.10.1-2) over (2.7.0-1) ... 2847s Preparing to unpack .../123-python3-oauthlib_3.2.2-3_all.deb ... 2847s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2847s for fn in glob1(directory, "%s.*" % fname): 2847s Unpacking python3-oauthlib (3.2.2-3) over (3.2.2-2) ... 2847s Preparing to unpack .../124-cloud-init-base_25.1-0ubuntu1_all.deb ... 2847s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2847s for fn in glob1(directory, "%s.*" % fname): 2847s Unpacking cloud-init-base (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 2847s dpkg: warning: unable to delete old directory '/lib/systemd/system/sshd-keygen@.service.d': Directory not empty 2847s Preparing to unpack .../125-cryptsetup-bin_2%3a2.7.5-1ubuntu2_armhf.deb ... 2847s Unpacking cryptsetup-bin (2:2.7.5-1ubuntu2) over (2:2.7.2-2ubuntu1) ... 2847s Preparing to unpack .../126-curl_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 2847s Unpacking curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 2847s Preparing to unpack .../127-libcurl4t64_8.12.0+git20250209.89ed161+ds-1ubuntu1_armhf.deb ... 2847s Unpacking libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) over (8.11.0-1ubuntu2) ... 2848s Preparing to unpack .../128-dpkg-dev_1.22.11ubuntu4_all.deb ... 2848s Unpacking dpkg-dev (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 2848s Preparing to unpack .../129-libdpkg-perl_1.22.11ubuntu4_all.deb ... 2848s Unpacking libdpkg-perl (1.22.11ubuntu4) over (1.22.11ubuntu3) ... 2848s Preparing to unpack .../130-make_4.4.1-1_armhf.deb ... 2848s Unpacking make (4.4.1-1) over (4.3-4.1build2) ... 2848s Preparing to unpack .../131-lto-disabled-list_56_all.deb ... 2848s Unpacking lto-disabled-list (56) over (54) ... 2848s Preparing to unpack .../132-libarchive13t64_3.7.7-0ubuntu1_armhf.deb ... 2848s Unpacking libarchive13t64:armhf (3.7.7-0ubuntu1) over (3.7.4-1.1) ... 2848s Preparing to unpack .../133-libjson-glib-1.0-common_1.10.6+ds-1_all.deb ... 2848s Unpacking libjson-glib-1.0-common (1.10.6+ds-1) over (1.10.0+ds-3) ... 2848s Preparing to unpack .../134-libjson-glib-1.0-0_1.10.6+ds-1_armhf.deb ... 2848s Unpacking libjson-glib-1.0-0:armhf (1.10.6+ds-1) over (1.10.0+ds-3) ... 2848s Preparing to unpack .../135-fwupd_2.0.6-3_armhf.deb ... 2848s Unpacking fwupd (2.0.6-3) over (2.0.2-1) ... 2848s Preparing to unpack .../136-libfwupd3_2.0.6-3_armhf.deb ... 2848s Unpacking libfwupd3:armhf (2.0.6-3) over (2.0.2-1) ... 2848s Preparing to unpack .../137-libprotobuf-c1_1.5.1-1ubuntu1_armhf.deb ... 2848s Unpacking libprotobuf-c1:armhf (1.5.1-1ubuntu1) over (1.4.1-1ubuntu4) ... 2849s Preparing to unpack .../138-libqmi-proxy_1.35.6-1_armhf.deb ... 2849s Unpacking libqmi-proxy (1.35.6-1) over (1.35.2-0ubuntu2) ... 2849s Preparing to unpack .../139-libqmi-glib5_1.35.6-1_armhf.deb ... 2849s Unpacking libqmi-glib5:armhf (1.35.6-1) over (1.35.2-0ubuntu2) ... 2849s Preparing to unpack .../140-gir1.2-packagekitglib-1.0_1.3.0-3build1_armhf.deb ... 2849s Unpacking gir1.2-packagekitglib-1.0 (1.3.0-3build1) over (1.3.0-2) ... 2849s Preparing to unpack .../141-gnupg-l10n_2.4.4-2ubuntu22_all.deb ... 2849s Unpacking gnupg-l10n (2.4.4-2ubuntu22) over (2.4.4-2ubuntu18) ... 2849s Preparing to unpack .../142-htop_3.3.0-5_armhf.deb ... 2849s Unpacking htop (3.3.0-5) over (3.3.0-4build1) ... 2849s Preparing to unpack .../143-libblockdev-utils3_3.3.0-1_armhf.deb ... 2849s Unpacking libblockdev-utils3:armhf (3.3.0-1) over (3.2.1-1) ... 2849s Preparing to unpack .../144-libnspr4_2%3a4.36-1ubuntu1_armhf.deb ... 2849s Unpacking libnspr4:armhf (2:4.36-1ubuntu1) over (2:4.35-1.1ubuntu2) ... 2849s Preparing to unpack .../145-libnss3_2%3a3.108-1ubuntu1_armhf.deb ... 2849s Unpacking libnss3:armhf (2:3.108-1ubuntu1) over (2:3.103-1) ... 2849s Preparing to unpack .../146-libgpgme11t64_1.24.2-1ubuntu1_armhf.deb ... 2849s Unpacking libgpgme11t64:armhf (1.24.2-1ubuntu1) over (1.24.0-2ubuntu1) ... 2849s Preparing to unpack .../147-libvolume-key1_0.3.12-9_armhf.deb ... 2849s Unpacking libvolume-key1:armhf (0.3.12-9) over (0.3.12-8) ... 2849s Preparing to unpack .../148-libblockdev-crypto3_3.3.0-1_armhf.deb ... 2849s Unpacking libblockdev-crypto3:armhf (3.3.0-1) over (3.2.1-1) ... 2849s Preparing to unpack .../149-libblockdev-fs3_3.3.0-1_armhf.deb ... 2849s Unpacking libblockdev-fs3:armhf (3.3.0-1) over (3.2.1-1) ... 2849s Preparing to unpack .../150-libblockdev-loop3_3.3.0-1_armhf.deb ... 2849s Unpacking libblockdev-loop3:armhf (3.3.0-1) over (3.2.1-1) ... 2849s Preparing to unpack .../151-libblockdev-mdraid3_3.3.0-1_armhf.deb ... 2849s Unpacking libblockdev-mdraid3:armhf (3.3.0-1) over (3.2.1-1) ... 2849s Preparing to unpack .../152-libnvme1t64_1.11.1-2_armhf.deb ... 2849s Unpacking libnvme1t64 (1.11.1-2) over (1.11.1-1) ... 2849s Preparing to unpack .../153-libblockdev-nvme3_3.3.0-1_armhf.deb ... 2849s Unpacking libblockdev-nvme3:armhf (3.3.0-1) over (3.2.1-1) ... 2849s Preparing to unpack .../154-libblockdev-part3_3.3.0-1_armhf.deb ... 2849s Unpacking libblockdev-part3:armhf (3.3.0-1) over (3.2.1-1) ... 2849s Preparing to unpack .../155-libblockdev-swap3_3.3.0-1_armhf.deb ... 2849s Unpacking libblockdev-swap3:armhf (3.3.0-1) over (3.2.1-1) ... 2849s Preparing to unpack .../156-libblockdev3_3.3.0-1_armhf.deb ... 2849s Unpacking libblockdev3:armhf (3.3.0-1) over (3.2.1-1) ... 2849s Preparing to unpack .../157-libftdi1-2_1.5-8_armhf.deb ... 2849s Unpacking libftdi1-2:armhf (1.5-8) over (1.5-7build1) ... 2849s Preparing to unpack .../158-libgudev-1.0-0_1%3a238-6_armhf.deb ... 2849s Unpacking libgudev-1.0-0:armhf (1:238-6) over (1:238-5ubuntu1) ... 2849s Selecting previously unselected package libicu76:armhf. 2849s Preparing to unpack .../159-libicu76_76.1-1ubuntu2_armhf.deb ... 2849s Unpacking libicu76:armhf (76.1-1ubuntu2) ... 2850s Preparing to unpack .../160-libsasl2-modules_2.1.28+dfsg1-8build1_armhf.deb ... 2850s Unpacking libsasl2-modules:armhf (2.1.28+dfsg1-8build1) over (2.1.28+dfsg1-8) ... 2850s Preparing to unpack .../161-udisks2_2.10.1-11ubuntu2_armhf.deb ... 2850s Unpacking udisks2 (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 2850s Preparing to unpack .../162-libudisks2-0_2.10.1-11ubuntu2_armhf.deb ... 2850s Unpacking libudisks2-0:armhf (2.10.1-11ubuntu2) over (2.10.1-11ubuntu1) ... 2850s Preparing to unpack .../163-libwrap0_7.6.q-35_armhf.deb ... 2850s Unpacking libwrap0:armhf (7.6.q-35) over (7.6.q-33) ... 2850s Selecting previously unselected package linux-headers-6.12.0-15. 2850s Preparing to unpack .../164-linux-headers-6.12.0-15_6.12.0-15.15_all.deb ... 2850s Unpacking linux-headers-6.12.0-15 (6.12.0-15.15) ... 2853s Selecting previously unselected package linux-headers-6.12.0-15-generic. 2853s Preparing to unpack .../165-linux-headers-6.12.0-15-generic_6.12.0-15.15_armhf.deb ... 2853s Unpacking linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 2855s Preparing to unpack .../166-linux-headers-generic_6.12.0-15.15+1_armhf.deb ... 2855s Unpacking linux-headers-generic (6.12.0-15.15+1) over (6.11.0-8.8) ... 2855s Preparing to unpack .../167-pollinate_4.33-4ubuntu2_all.deb ... 2855s Unpacking pollinate (4.33-4ubuntu2) over (4.33-4ubuntu1) ... 2855s Preparing to unpack .../168-python3-babel_2.17.0-1_all.deb ... 2855s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2855s for fn in glob1(directory, "%s.*" % fname): 2855s Unpacking python3-babel (2.17.0-1) over (2.16.0-1) ... 2855s Preparing to unpack .../169-python-babel-localedata_2.17.0-1_all.deb ... 2855s Unpacking python-babel-localedata (2.17.0-1) over (2.16.0-1) ... 2855s Preparing to unpack .../170-python3-more-itertools_10.6.0-1_all.deb ... 2856s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2856s for fn in glob1(directory, "%s.*" % fname): 2856s Unpacking python3-more-itertools (10.6.0-1) over (10.5.0-1) ... 2856s Preparing to unpack .../171-python3-openssl_25.0.0-1_all.deb ... 2856s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2856s for fn in glob1(directory, "%s.*" % fname): 2856s Unpacking python3-openssl (25.0.0-1) over (24.2.1-1) ... 2856s Preparing to unpack .../172-python3-pkg-resources_75.6.0-1_all.deb ... 2856s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2856s for fn in glob1(directory, "%s.*" % fname): 2856s Unpacking python3-pkg-resources (75.6.0-1) over (75.2.0-1) ... 2856s Preparing to unpack .../173-python3-setuptools_75.6.0-1_all.deb ... 2856s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2856s for fn in glob1(directory, "%s.*" % fname): 2856s Unpacking python3-setuptools (75.6.0-1) over (75.2.0-1) ... 2856s Preparing to unpack .../174-software-properties-common_0.109_all.deb ... 2856s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2856s for fn in glob1(directory, "%s.*" % fname): 2856s Unpacking software-properties-common (0.109) over (0.105) ... 2856s Preparing to unpack .../175-python3-software-properties_0.109_all.deb ... 2857s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2857s for fn in glob1(directory, "%s.*" % fname): 2857s Unpacking python3-software-properties (0.109) over (0.105) ... 2857s Preparing to unpack .../176-python3-wadllib_2.0.0-2_all.deb ... 2857s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2857s for fn in glob1(directory, "%s.*" % fname): 2857s Unpacking python3-wadllib (2.0.0-2) over (2.0.0-1) ... 2857s Preparing to unpack .../177-tmux_3.5a-3_armhf.deb ... 2857s Unpacking tmux (3.5a-3) over (3.4-7) ... 2857s Preparing to unpack .../178-unattended-upgrades_2.12ubuntu4_all.deb ... 2857s Unpacking unattended-upgrades (2.12ubuntu4) over (2.9.1+nmu4ubuntu1) ... 2857s dpkg: warning: unable to delete old directory '/lib/systemd/system-sleep': Directory not empty 2857s Preparing to unpack .../179-xfsprogs_6.12.0-1ubuntu1_armhf.deb ... 2857s Unpacking xfsprogs (6.12.0-1ubuntu1) over (6.8.0-2.2ubuntu2) ... 2857s Preparing to unpack .../180-zstd_1.5.6+dfsg-2_armhf.deb ... 2857s Unpacking zstd (1.5.6+dfsg-2) over (1.5.6+dfsg-1) ... 2857s Preparing to unpack .../181-cloud-init_25.1-0ubuntu1_all.deb ... 2857s Unpacking cloud-init (25.1-0ubuntu1) over (24.4-0ubuntu1) ... 2857s Preparing to unpack .../182-kpartx_0.9.9-1ubuntu4_armhf.deb ... 2857s Unpacking kpartx (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 2857s Preparing to unpack .../183-multipath-tools_0.9.9-1ubuntu4_armhf.deb ... 2857s Unpacking multipath-tools (0.9.9-1ubuntu4) over (0.9.9-1ubuntu3) ... 2857s Setting up libip4tc2:armhf (1.8.11-2ubuntu1) ... 2857s Setting up powermgmt-base (1.38) ... 2857s Setting up motd-news-config (13.6ubuntu1) ... 2857s Setting up distro-info (1.13) ... 2857s Setting up liburcu8t64:armhf (0.15.1-1) ... 2857s Setting up libibverbs1:armhf (55.0-1ubuntu1) ... 2857s Setting up libxdmcp6:armhf (1:1.1.5-1) ... 2857s Setting up lto-disabled-list (56) ... 2857s Setting up pci.ids (0.0~2025.02.12-1) ... 2857s Setting up libnewt0.52:armhf (0.52.24-4ubuntu1) ... 2857s Setting up apt-utils (2.9.30ubuntu1) ... 2857s Setting up bsdextrautils (2.40.2-14ubuntu1) ... 2857s Setting up init (1.68) ... 2857s Setting up ibverbs-providers:armhf (55.0-1ubuntu1) ... 2857s Setting up gcc-14-base:armhf (14.2.0-17ubuntu3) ... 2857s Setting up psmisc (23.7-2) ... 2857s Setting up libcbor0.10:armhf (0.10.2-2ubuntu1) ... 2857s Setting up libyaml-0-2:armhf (0.2.5-2) ... 2857s Setting up libip6tc2:armhf (1.8.11-2ubuntu1) ... 2857s Setting up liblsof0 (4.99.4+dfsg-2) ... 2857s Setting up libmaxminddb0:armhf (1.12.2-1) ... 2857s Setting up python3.12-gdbm (3.12.9-1) ... 2857s Setting up libedit2:armhf (3.1-20250104-1) ... 2857s Setting up libsasl2-modules:armhf (2.1.28+dfsg1-8build1) ... 2857s Setting up netcat-openbsd (1.228-1) ... 2857s Setting up libpython3.12-minimal:armhf (3.12.9-1) ... 2857s Setting up binutils-common:armhf (2.44-2ubuntu1) ... 2857s Setting up libctf-nobfd0:armhf (2.44-2ubuntu1) ... 2857s Setting up gettext-base (0.23.1-1) ... 2857s Setting up libnss-systemd:armhf (257.2-3ubuntu1) ... 2857s Setting up libnftnl11:armhf (1.2.8-1) ... 2857s Setting up krb5-locales (1.21.3-4ubuntu1) ... 2857s Setting up libcom-err2:armhf (1.47.2-1ubuntu1) ... 2857s Setting up libjemalloc2:armhf (5.3.0-2build1) ... 2857s Setting up lshw (02.19.git.2021.06.19.996aaad9c7-2.1ubuntu1) ... 2857s Setting up locales (2.40-4ubuntu1) ... 2858s Generating locales (this might take a while)... 2860s en_US.UTF-8... done 2860s Generation complete. 2860s Setting up libldap-common (2.6.9+dfsg-1~exp2ubuntu1) ... 2860s Installing new version of config file /etc/ldap/ldap.conf ... 2860s Setting up libprotobuf-c1:armhf (1.5.1-1ubuntu1) ... 2860s Setting up xxd (2:9.1.0967-1ubuntu2) ... 2860s Setting up libsframe1:armhf (2.44-2ubuntu1) ... 2860s Setting up python-babel-localedata (2.17.0-1) ... 2860s Setting up libkrb5support0:armhf (1.21.3-4ubuntu1) ... 2860s Setting up libsasl2-modules-db:armhf (2.1.28+dfsg1-8build1) ... 2860s Setting up tzdata (2025a-2ubuntu1) ... 2861s 2861s Current default time zone: 'Etc/UTC' 2861s Local time is now: Sat Feb 22 05:39:01 UTC 2025. 2861s Universal Time is now: Sat Feb 22 05:39:01 UTC 2025. 2861s Run 'dpkg-reconfigure tzdata' if you wish to change it. 2861s 2861s Setting up eject (2.40.2-14ubuntu1) ... 2861s Setting up apparmor (4.1.0~beta5-0ubuntu5) ... 2861s Installing new version of config file /etc/apparmor.d/abstractions/dconf ... 2861s Installing new version of config file /etc/apparmor.d/abstractions/mesa ... 2861s Installing new version of config file /etc/apparmor.d/abstractions/nameservice ... 2861s Installing new version of config file /etc/apparmor.d/abstractions/php ... 2861s Installing new version of config file /etc/apparmor.d/abstractions/python ... 2861s Installing new version of config file /etc/apparmor.d/sbuild ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-abort ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-adduser ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-apt ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-checkpackages ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-clean ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-createchroot ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-destroychroot ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-distupgrade ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-hold ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-shell ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-unhold ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-update ... 2861s Installing new version of config file /etc/apparmor.d/sbuild-upgrade ... 2861s Installing new version of config file /etc/apparmor.d/slirp4netns ... 2861s Installing new version of config file /etc/apparmor.d/toybox ... 2861s Installing new version of config file /etc/apparmor.d/transmission ... 2861s Installing new version of config file /etc/apparmor.d/tunables/global ... 2861s apparmor_parser: Unable to replace "lsb_release". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2861s 2861s apparmor_parser: Unable to replace "kmod". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2861s 2861s apparmor_parser: Unable to replace "nvidia_modprobe". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2861s 2862s Reloading AppArmor profiles 2862s /sbin/apparmor_parser: Unable to replace "1password". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "MongoDB Compass". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "Discord". /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "balena-etcher". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "brave". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "buildah". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "busybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "cam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ch-checkns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ch-run". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "bwrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "chrome". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "chromium". /sbin/apparmor_parser: Unable to replace "vscode". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "babeld". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "crun". /sbin/apparmor_parser: Unable to replace "bfdd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "devhelp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "element-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "epiphany". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "evolution". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "bgpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "alsamixer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "firefox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "flatpak". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "foliate". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "geary". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "github-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "goldendict". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "dnstracer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ipa_verify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "kchmviewer". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "eigrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "fusermount3". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "keybase". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lc-compliance". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "fabricd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "libcamerify". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "iotop-c". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "linux-sandbox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "Xorg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "loupe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "isisd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lxc-attach". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lxc-destroy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lxc-create". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lxc-execute". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lxc-stop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lxc-unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lxc-usernsexec". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "mmdebstrap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "msedge". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lsblk". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "nautilus". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ldpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "notepadqq". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lsusb". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "obsidian". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "lsb_release". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "opam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "opera". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "mbsync". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "mosquitto". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "irssi". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "nhrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "pageedit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "nc.openbsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ospfd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "pathd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "kmod". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "nvidia_modprobe". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "podman". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "pbrd". /sbin/apparmor_parser: Unable to replace "polypane". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ospf6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "privacybrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "qcam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "qmapshack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "qutebrowser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "rootlesskit". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "pim6d". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "rpm". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "QtWebEngineProcess". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "plasmashell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "pimd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "runc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "rssguard". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-abort". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "openvpn". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-adduser". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-apt". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-checkpackages". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ripngd". /sbin/apparmor_parser: Unable to replace "sbuild-clean". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-destroychroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-distupgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ripd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-createchroot". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-shell". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-hold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "scide". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-update". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-unhold". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "slack". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "signal-desktop". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "sbuild-upgrade". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "slirp4netns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "surfshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "systemd-coredump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "stress-ng". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "steam". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "thunderbird". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "toybox". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "trinity". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "tup". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "tuxedo-control-center". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "tinyproxy". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "staticd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "mx-extract". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "rygel". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "unprivileged_userns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "unix-chkpwd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_apt_news". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "unpriv_unshare". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "userbindmount". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "cmds". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "tnftp". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "rsyslogd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "uwsgi-core". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "vdens". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "virtiofsd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "vivaldi-bin". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "vpnns". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "/usr/bin/man". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "wg". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "vrrpd". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "wike". /sbin/apparmor_parser: Unable to replace "wpcom". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "tcpdump". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ip". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "wg-quick". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "znc". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "dumpcap". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "tshark". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "apt_methods". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "transmission-cli". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s /sbin/apparmor_parser: Unable to replace "remmina". /sbin/apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2862s 2862s Error: At least one profile failed to load 2862s Setting up libglib2.0-data (2.83.4-1) ... 2862s Setting up vim-common (2:9.1.0967-1ubuntu2) ... 2862s Setting up busybox-static (1:1.37.0-4ubuntu1) ... 2862s Setting up libwrap0:armhf (7.6.q-35) ... 2862s Setting up libnvme1t64 (1.11.1-2) ... 2862s Setting up make (4.4.1-1) ... 2862s Setting up libnspr4:armhf (2:4.36-1ubuntu1) ... 2862s Setting up gnupg-l10n (2.4.4-2ubuntu22) ... 2862s Setting up ed (1.21-1) ... 2862s Setting up bash-completion (1:2.16.0-7) ... 2862s Setting up libncurses6:armhf (6.5+20250125-2) ... 2862s Setting up libdbus-1-3:armhf (1.16.0-1ubuntu1) ... 2862s Setting up libfribidi0:armhf (1.0.16-1) ... 2862s Setting up libpng16-16t64:armhf (1.6.46-4) ... 2862s Setting up systemd-timesyncd (257.2-3ubuntu1) ... 2863s systemd-time-wait-sync.service is a disabled or a static unit not running, not starting it. 2863s Setting up libatomic1:armhf (15-20250213-1ubuntu1) ... 2863s Setting up udev (257.2-3ubuntu1) ... 2864s Setting up libss2:armhf (1.47.2-1ubuntu1) ... 2864s Setting up usb.ids (2025.01.14-1) ... 2864s Setting up dhcpcd-base (1:10.1.0-7) ... 2864s Installing new version of config file /etc/dhcpcd.conf ... 2864s Setting up ucf (3.0050) ... 2864s Installing new version of config file /etc/ucf.conf ... 2864s Setting up libncursesw6:armhf (6.5+20250125-2) ... 2864s Setting up libk5crypto3:armhf (1.21.3-4ubuntu1) ... 2864s Setting up busybox-initramfs (1:1.37.0-4ubuntu1) ... 2864s Setting up libxtables12:armhf (1.8.11-2ubuntu1) ... 2864s Setting up logsave (1.47.2-1ubuntu1) ... 2864s Setting up libsasl2-2:armhf (2.1.28+dfsg1-8build1) ... 2864s Setting up lsof (4.99.4+dfsg-2) ... 2864s Setting up libfdisk1:armhf (2.40.2-14ubuntu1) ... 2864s Setting up libicu74:armhf (74.2-1ubuntu6) ... 2864s Setting up nano (8.3-1) ... 2864s Installing new version of config file /etc/nanorc ... 2864s Setting up libdevmapper1.02.1:armhf (2:1.02.201-1ubuntu1) ... 2864s Setting up whiptail (0.52.24-4ubuntu1) ... 2864s Setting up python-apt-common (2.9.9) ... 2864s Setting up dracut-install (106-2ubuntu1) ... 2864s Setting up perl-modules-5.40 (5.40.1-2) ... 2864s Setting up dmsetup (2:1.02.201-1ubuntu1) ... 2864s Setting up uuid-runtime (2.40.2-14ubuntu1) ... 2865s uuidd.service is a disabled or a static unit not running, not starting it. 2865s Setting up xauth (1:1.1.2-1.1) ... 2865s Setting up groff-base (1.23.0-7) ... 2865s Setting up libtraceevent1:armhf (1:1.8.4-2) ... 2865s Setting up dbus-session-bus-common (1.16.0-1ubuntu1) ... 2865s Setting up kpartx (0.9.9-1ubuntu4) ... 2865s Setting up libpcap0.8t64:armhf (1.10.5-2ubuntu1) ... 2865s Setting up libcryptsetup12:armhf (2:2.7.5-1ubuntu2) ... 2865s Setting up libjson-glib-1.0-common (1.10.6+ds-1) ... 2865s Setting up mawk (1.3.4.20250131-1) ... 2865s Setting up libkrb5-3:armhf (1.21.3-4ubuntu1) ... 2865s Setting up libusb-1.0-0:armhf (2:1.0.27-2) ... 2865s Setting up libicu76:armhf (76.1-1ubuntu2) ... 2865s Setting up linux-headers-6.12.0-15 (6.12.0-15.15) ... 2865s Setting up keyboard-configuration (1.226ubuntu3) ... 2866s Your console font configuration will be updated the next time your system 2866s boots. If you want to update it now, run 'setupcon' from a virtual console. 2866s update-initramfs: deferring update (trigger activated) 2866s Setting up libbinutils:armhf (2.44-2ubuntu1) ... 2866s Setting up dbus-system-bus-common (1.16.0-1ubuntu1) ... 2866s Setting up openssl (3.4.1-1ubuntu1) ... 2866s Installing new version of config file /etc/ssl/openssl.cnf ... 2866s Setting up libgpg-error-l10n (1.51-3) ... 2866s Setting up iputils-ping (3:20240905-1ubuntu1) ... 2866s Setting up readline-common (8.2-6) ... 2866s Setting up publicsuffix (20250108.1153-0.1) ... 2866s Setting up libxml2:armhf (2.12.7+dfsg+really2.9.14-0.2ubuntu3) ... 2866s Setting up tmux (3.5a-3) ... 2866s Setting up zstd (1.5.6+dfsg-2) ... 2866s Setting up libldap2:armhf (2.6.9+dfsg-1~exp2ubuntu1) ... 2866s Setting up dbus-bin (1.16.0-1ubuntu1) ... 2866s Setting up libbpf1:armhf (1:1.5.0-2) ... 2866s Setting up iputils-tracepath (3:20240905-1ubuntu1) ... 2866s Setting up rsync (3.4.1-0syncable1) ... 2867s rsync.service is a disabled or a static unit not running, not starting it. 2867s Setting up python3.13-gdbm (3.13.2-1) ... 2867s Setting up ethtool (1:6.11-1) ... 2867s Setting up gnupg-utils (2.4.4-2ubuntu22) ... 2867s Setting up initramfs-tools-bin (0.145ubuntu2) ... 2867s Setting up ncurses-term (6.5+20250125-2) ... 2867s Setting up login (1:4.16.0-2+really2.40.2-14ubuntu1) ... 2867s Setting up cron-daemon-common (3.0pl1-192ubuntu1) ... 2867s Setting up libxkbcommon0:armhf (1.7.0-2) ... 2867s Setting up libctf0:armhf (2.44-2ubuntu1) ... 2867s Setting up cryptsetup-bin (2:2.7.5-1ubuntu2) ... 2867s Setting up pinentry-curses (1.3.1-2ubuntu2) ... 2867s Setting up python3.12-minimal (3.12.9-1) ... 2868s Setting up libnftables1:armhf (1.1.1-1build1) ... 2868s Setting up nftables (1.1.1-1build1) ... 2868s Setting up iptables (1.8.11-2ubuntu1) ... 2868s Setting up htop (3.3.0-5) ... 2868s Setting up iproute2 (6.13.0-1ubuntu1) ... 2869s Setting up btrfs-progs (6.12-1build1) ... 2869s Setting up cron (3.0pl1-192ubuntu1) ... 2869s Setting up rsyslog (8.2412.0-2ubuntu1) ... 2869s Installing new version of config file /etc/apparmor.d/usr.sbin.rsyslogd ... 2869s info: The user `syslog' is already a member of `adm'. 2870s apparmor_parser: Unable to replace "rsyslogd". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2870s 2871s Setting up inetutils-telnet (2:2.5-6ubuntu1) ... 2871s Setting up e2fsprogs (1.47.2-1ubuntu1) ... 2871s update-initramfs: deferring update (trigger activated) 2871s Setting up libnss3:armhf (2:3.108-1ubuntu1) ... 2871s Setting up dbus-daemon (1.16.0-1ubuntu1) ... 2871s Setting up vim-tiny (2:9.1.0967-1ubuntu2) ... 2871s Setting up multipath-tools (0.9.9-1ubuntu4) ... 2872s Setting up libperl5.40:armhf (5.40.1-2) ... 2872s Setting up libftdi1-2:armhf (1.5-8) ... 2872s Setting up ca-certificates (20241223) ... 2875s Updating certificates in /etc/ssl/certs... 2877s rehash: warning: skipping ca-certificates.crt, it does not contain exactly one certificate or CRL 2877s 7 added, 1 removed; done. 2877s Setting up perl (5.40.1-2) ... 2877s Setting up libglib2.0-0t64:armhf (2.83.4-1) ... 2877s No schema files found: doing nothing. 2877s Setting up systemd-cryptsetup (257.2-3ubuntu1) ... 2877s Setting up dbus (1.16.0-1ubuntu1) ... 2877s A reboot is required to replace the running dbus-daemon. 2877s Please reboot the system when convenient. 2878s Setting up libblockdev-utils3:armhf (3.3.0-1) ... 2878s Setting up linux-headers-6.12.0-15-generic (6.12.0-15.15) ... 2878s Setting up libgssapi-krb5-2:armhf (1.21.3-4ubuntu1) ... 2878s Setting up gir1.2-glib-2.0:armhf (2.83.4-1) ... 2878s Setting up libdpkg-perl (1.22.11ubuntu4) ... 2878s Setting up libreadline8t64:armhf (8.2-6) ... 2878s Setting up libblockdev-nvme3:armhf (3.3.0-1) ... 2878s Setting up libblockdev-fs3:armhf (3.3.0-1) ... 2878s Setting up libtraceevent1-plugin:armhf (1:1.8.4-2) ... 2878s Setting up libplymouth5:armhf (24.004.60-2ubuntu5) ... 2878s Setting up gpgconf (2.4.4-2ubuntu22) ... 2878s Setting up libpam-systemd:armhf (257.2-3ubuntu1) ... 2878s Setting up libgirepository-1.0-1:armhf (1.82.0-4) ... 2878s Setting up initramfs-tools-core (0.145ubuntu2) ... 2878s Setting up binutils-arm-linux-gnueabihf (2.44-2ubuntu1) ... 2878s Setting up libarchive13t64:armhf (3.7.7-0ubuntu1) ... 2878s Setting up libpython3.13-stdlib:armhf (3.13.2-1) ... 2878s Setting up gpg (2.4.4-2ubuntu22) ... 2878s Setting up libgudev-1.0-0:armhf (1:238-6) ... 2878s Setting up libpolkit-gobject-1-0:armhf (126-2) ... 2878s Setting up libgstreamer1.0-0:armhf (1.25.50-1) ... 2878s Setcap worked! gst-ptp-helper is not suid! 2878s Setting up libudisks2-0:armhf (2.10.1-11ubuntu2) ... 2878s Setting up libpython3-stdlib:armhf (3.13.1-1~exp2) ... 2878s Setting up systemd-resolved (257.2-3ubuntu1) ... 2879s Setting up gpg-agent (2.4.4-2ubuntu22) ... 2879s Setting up telnet (0.17+2.5-6ubuntu1) ... 2879s Setting up libpython3.12-stdlib:armhf (3.12.9-1) ... 2879s Setting up initramfs-tools (0.145ubuntu2) ... 2879s update-initramfs: deferring update (trigger activated) 2879s Setting up libblockdev-mdraid3:armhf (3.3.0-1) ... 2879s Setting up libcurl4t64:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 2879s Setting up bind9-libs:armhf (1:9.20.4-3ubuntu1) ... 2879s Setting up e2fsprogs-l10n (1.47.2-1ubuntu1) ... 2879s Setting up python3.13 (3.13.2-1) ... 2881s Setting up libblockdev-swap3:armhf (3.3.0-1) ... 2881s Setting up plymouth (24.004.60-2ubuntu5) ... 2881s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 2881s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 2881s Setting up python3.12 (3.12.9-1) ... 2883s Setting up libblockdev-loop3:armhf (3.3.0-1) ... 2883s Setting up gpgsm (2.4.4-2ubuntu22) ... 2883s Setting up libcurl3t64-gnutls:armhf (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 2883s Setting up libglib2.0-bin (2.83.4-1) ... 2883s Setting up libpackagekit-glib2-18:armhf (1.3.0-3build1) ... 2883s Setting up libappstream5:armhf (1.0.4-1) ... 2883s Setting up libqmi-glib5:armhf (1.35.6-1) ... 2883s Setting up python3 (3.13.1-1~exp2) ... 2883s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2883s for fn in glob1(directory, "%s.*" % fname): 2883s Setting up linux-headers-generic (6.12.0-15.15+1) ... 2883s Setting up binutils (2.44-2ubuntu1) ... 2883s Setting up libnetplan1:armhf (1.1.2-2ubuntu1) ... 2883s Setting up python3-newt:armhf (0.52.24-4ubuntu1) ... 2883s Setting up libblockdev3:armhf (3.3.0-1) ... 2883s Setting up fdisk (2.40.2-14ubuntu1) ... 2883s Setting up dpkg-dev (1.22.11ubuntu4) ... 2883s Setting up libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 2883s Setting up libblockdev-part3:armhf (3.3.0-1) ... 2883s Setting up dirmngr (2.4.4-2ubuntu22) ... 2883s Setting up gir1.2-packagekitglib-1.0 (1.3.0-3build1) ... 2883s Setting up dbus-user-session (1.16.0-1ubuntu1) ... 2883s Setting up python3-jinja2 (3.1.5-2) ... 2884s Setting up python3-pygments (2.18.0+dfsg-2) ... 2886s Setting up python3-chardet (5.2.0+dfsg-2) ... 2887s Setting up appstream (1.0.4-1) ... 2889s ✔ Metadata cache was updated successfully. 2889s Setting up python3-certifi (2025.1.31+ds-1) ... 2889s Setting up gir1.2-girepository-2.0:armhf (1.82.0-4) ... 2889s Setting up python3-gi (3.50.0-4) ... 2890s Setting up python3-idna (3.10-1) ... 2890s Setting up xfsprogs (6.12.0-1ubuntu1) ... 2890s update-initramfs: deferring update (trigger activated) 2891s Setting up keyboxd (2.4.4-2ubuntu22) ... 2891s Setting up python3-urllib3 (2.3.0-1) ... 2891s Setting up python3-json-pointer (2.4-3) ... 2892s Setting up gnupg (2.4.4-2ubuntu22) ... 2892s Setting up python3-netplan (1.1.2-2ubuntu1) ... 2892s Setting up libpolkit-agent-1-0:armhf (126-2) ... 2892s Setting up libgpgme11t64:armhf (1.24.2-1ubuntu1) ... 2892s Setting up curl (8.12.0+git20250209.89ed161+ds-1ubuntu1) ... 2892s Setting up libvolume-key1:armhf (0.3.12-9) ... 2892s Setting up netplan-generator (1.1.2-2ubuntu1) ... 2892s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 2892s Setting up bind9-host (1:9.20.4-3ubuntu1) ... 2892s Setting up python3-distro-info (1.13) ... 2892s Setting up polkitd (126-2) ... 2893s Setting up python3-more-itertools (10.6.0-1) ... 2893s Setting up python3-attr (25.1.0-1) ... 2893s Setting up gpg-wks-client (2.4.4-2ubuntu22) ... 2893s Setting up libblockdev-crypto3:armhf (3.3.0-1) ... 2893s Setting up python3-jwt (2.10.1-2) ... 2894s Setting up python3-babel (2.17.0-1) ... 2894s Setting up python3-rich (13.9.4-1) ... 2895s Setting up python3-gdbm:armhf (3.13.1-1) ... 2895s Setting up python3-problem-report (2.31.0+git20250220-0ubuntu1) ... 2895s Setting up python3-apt (2.9.9) ... 2895s Setting up python3-jsonpatch (1.32-5) ... 2896s Setting up python3-bcrypt (4.2.0-2.1) ... 2896s Setting up libqmi-proxy (1.35.6-1) ... 2896s Setting up libfwupd3:armhf (2.0.6-3) ... 2896s Setting up ufw (0.36.2-9) ... 2897s Setting up python3-lazr.uri (1.0.6-5) ... 2897s Setting up netplan.io (1.1.2-2ubuntu1) ... 2897s Setting up unattended-upgrades (2.12ubuntu4) ... 2897s Replacing config file /etc/apt/apt.conf.d/50unattended-upgrades with new version 2898s Setting up pollinate (4.33-4ubuntu2) ... 2898s Setting up python3-cryptography (43.0.0-1) ... 2899s Setting up python3-wadllib (2.0.0-2) ... 2899s Setting up python3-requests (2.32.3+dfsg-4ubuntu1) ... 2899s Setting up bind9-dnsutils (1:9.20.4-3ubuntu1) ... 2899s Setting up ubuntu-pro-client (34.1.3) ... 2900s apparmor_parser: Unable to replace "ubuntu_pro_apt_news". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2900s 2900s apparmor_parser: Unable to replace "apt_methods". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2900s 2900s apparmor_parser: Unable to replace "ubuntu_pro_esm_cache". apparmor_parser: Access denied. You need policy admin privileges to manage profiles. 2900s 2902s Setting up fwupd (2.0.6-3) ... 2902s fwupd-refresh.service is a disabled or a static unit not running, not starting it. 2902s fwupd.service is a disabled or a static unit not running, not starting it. 2902s Setting up python3-referencing (0.35.1-2ubuntu1) ... 2903s Setting up python3-pkg-resources (75.6.0-1) ... 2903s Setting up ubuntu-pro-client-l10n (34.1.3) ... 2903s Setting up udisks2 (2.10.1-11ubuntu2) ... 2903s vda: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/uevent': Permission denied 2903s vda1: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda1/uevent': Permission denied 2903s vda15: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda15/uevent': Permission denied 2903s vda2: Failed to write 'change' to '/sys/devices/pci0000:00/0000:00:01.3/0000:04:00.0/virtio2/block/vda/vda2/uevent': Permission denied 2903s loop0: Failed to write 'change' to '/sys/devices/virtual/block/loop0/uevent': Permission denied 2903s loop1: Failed to write 'change' to '/sys/devices/virtual/block/loop1/uevent': Permission denied 2903s loop2: Failed to write 'change' to '/sys/devices/virtual/block/loop2/uevent': Permission denied 2903s loop3: Failed to write 'change' to '/sys/devices/virtual/block/loop3/uevent': Permission denied 2903s loop4: Failed to write 'change' to '/sys/devices/virtual/block/loop4/uevent': Permission denied 2903s loop5: Failed to write 'change' to '/sys/devices/virtual/block/loop5/uevent': Permission denied 2903s loop6: Failed to write 'change' to '/sys/devices/virtual/block/loop6/uevent': Permission denied 2903s loop7: Failed to write 'change' to '/sys/devices/virtual/block/loop7/uevent': Permission denied 2903s loop8: Failed to write 'change' to '/sys/devices/virtual/block/loop8/uevent': Permission denied 2904s Setting up python3-setuptools (75.6.0-1) ... 2905s Setting up python3-openssl (25.0.0-1) ... 2905s Setting up python3-launchpadlib (2.1.0-1) ... 2906s Setting up ubuntu-standard (1.547) ... 2906s Setting up python3-apport (2.31.0+git20250220-0ubuntu1) ... 2906s Setting up python3-oauthlib (3.2.2-3) ... 2907s Setting up python3-software-properties (0.109) ... 2907s Setting up python3-jsonschema (4.19.2-6ubuntu1) ... 2907s Setting up cloud-init-base (25.1-0ubuntu1) ... 2907s Installing new version of config file /etc/cloud/templates/sources.list.debian.deb822.tmpl ... 2907s Installing new version of config file /etc/cloud/templates/sources.list.ubuntu.deb822.tmpl ... 2909s Setting up cloud-init (25.1-0ubuntu1) ... 2909s Setting up apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ... 2910s Setting up apport (2.31.0+git20250220-0ubuntu1) ... 2911s apport-autoreport.service is a disabled or a static unit not running, not starting it. 2911s Setting up kbd (2.7.1-2ubuntu1) ... 2911s Setting up console-setup-linux (1.226ubuntu3) ... 2913s Setting up console-setup (1.226ubuntu3) ... 2913s update-initramfs: deferring update (trigger activated) 2913s Setting up ubuntu-minimal (1.547) ... 2913s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2914s Processing triggers for systemd (257.2-3ubuntu1) ... 2914s Processing triggers for man-db (2.13.0-1) ... 2915s Processing triggers for shared-mime-info (2.4-5) ... 2915s Warning: program compiled against libxml 212 using older 209 2916s Processing triggers for sgml-base (1.31) ... 2916s Processing triggers for debianutils (5.21) ... 2916s Processing triggers for install-info (7.1.1-1) ... 2916s Setting up packagekit (1.3.0-3build1) ... 2917s Setting up packagekit-tools (1.3.0-3build1) ... 2917s Setting up software-properties-common (0.109) ... 2917s Processing triggers for initramfs-tools (0.145ubuntu2) ... 2917s Setting up plymouth-theme-ubuntu-text (24.004.60-2ubuntu5) ... 2917s Processing triggers for ca-certificates (20241223) ... 2917s Updating certificates in /etc/ssl/certs... 2918s 0 added, 0 removed; done. 2918s Running hooks in /etc/ca-certificates/update.d... 2918s done. 2918s Processing triggers for initramfs-tools (0.145ubuntu2) ... 2922s Reading package lists... 2922s Building dependency tree... 2922s Reading state information... 2922s Starting pkgProblemResolver with broken count: 0 2922s Starting 2 pkgProblemResolver with broken count: 0 2922s Done 2923s Solving dependencies... 2923s The following packages will be REMOVED: 2923s libapt-pkg6.0t64* libassuan0* libicu74* libnsl2* libpython3.12-minimal* 2923s libpython3.12-stdlib* libunwind8* linux-headers-6.11.0-8* 2923s linux-headers-6.11.0-8-generic* python3.12* python3.12-minimal* 2924s 0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded. 2924s After this operation, 154 MB disk space will be freed. 2924s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 92815 files and directories currently installed.) 2924s Removing libapt-pkg6.0t64:armhf (2.9.29) ... 2924s Removing libassuan0:armhf (2.5.6-1build1) ... 2924s Removing libicu74:armhf (74.2-1ubuntu6) ... 2924s Removing python3.12 (3.12.9-1) ... 2924s Removing libpython3.12-stdlib:armhf (3.12.9-1) ... 2924s Removing libnsl2:armhf (1.3.0-3build3) ... 2924s Removing python3.12-minimal (3.12.9-1) ... 2924s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 2924s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 2925s Removing libpython3.12-minimal:armhf (3.12.9-1) ... 2925s Removing libunwind8:armhf (1.6.2-3.1) ... 2925s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 2925s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 2926s Processing triggers for systemd (257.2-3ubuntu1) ... 2926s Processing triggers for man-db (2.13.0-1) ... 2927s Processing triggers for libc-bin (2.40-4ubuntu1) ... 2927s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60309 files and directories currently installed.) 2927s Purging configuration files for python3.12-minimal (3.12.9-1) ... 2927s Purging configuration files for libpython3.12-minimal:armhf (3.12.9-1) ... 2929s autopkgtest [05:40:09]: rebooting testbed after setup commands that affected boot 2993s Reading package lists... 2993s Building dependency tree... 2993s Reading state information... 2994s Starting pkgProblemResolver with broken count: 0 2994s Starting 2 pkgProblemResolver with broken count: 0 2994s Done 2995s The following NEW packages will be installed: 2995s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas 2995s libdconf1 2996s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 2996s Need to get 138 kB of archives. 2996s After this operation, 633 kB of additional disk space will be used. 2996s Get:1 http://ftpmaster.internal/ubuntu plucky/main armhf libdconf1 armhf 0.40.0-5 [38.4 kB] 2996s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-service armhf 0.40.0-5 [27.6 kB] 2996s Get:3 http://ftpmaster.internal/ubuntu plucky/main armhf dconf-gsettings-backend armhf 0.40.0-5 [23.8 kB] 2996s Get:4 http://ftpmaster.internal/ubuntu plucky/main armhf dpkg-repack all 1.54 [11.2 kB] 2996s Get:5 http://ftpmaster.internal/ubuntu plucky/main armhf gsettings-desktop-schemas all 48~beta-1ubuntu1 [37.4 kB] 2997s Fetched 138 kB in 0s (367 kB/s) 2997s Selecting previously unselected package libdconf1:armhf. 2997s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60307 files and directories currently installed.) 2997s Preparing to unpack .../libdconf1_0.40.0-5_armhf.deb ... 2997s Unpacking libdconf1:armhf (0.40.0-5) ... 2997s Selecting previously unselected package dconf-service. 2997s Preparing to unpack .../dconf-service_0.40.0-5_armhf.deb ... 2997s Unpacking dconf-service (0.40.0-5) ... 2997s Selecting previously unselected package dconf-gsettings-backend:armhf. 2997s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_armhf.deb ... 2997s Unpacking dconf-gsettings-backend:armhf (0.40.0-5) ... 2997s Selecting previously unselected package dpkg-repack. 2997s Preparing to unpack .../dpkg-repack_1.54_all.deb ... 2997s Unpacking dpkg-repack (1.54) ... 2997s Selecting previously unselected package gsettings-desktop-schemas. 2997s Preparing to unpack .../gsettings-desktop-schemas_48~beta-1ubuntu1_all.deb ... 2997s Unpacking gsettings-desktop-schemas (48~beta-1ubuntu1) ... 2997s Setting up dpkg-repack (1.54) ... 2997s Setting up libdconf1:armhf (0.40.0-5) ... 2997s Setting up dconf-service (0.40.0-5) ... 2997s Setting up dconf-gsettings-backend:armhf (0.40.0-5) ... 2997s Setting up gsettings-desktop-schemas (48~beta-1ubuntu1) ... 2997s Processing triggers for man-db (2.13.0-1) ... 2998s Processing triggers for libglib2.0-0t64:armhf (2.83.4-1) ... 2998s Processing triggers for libc-bin (2.40-4ubuntu1) ... 3014s autopkgtest [05:41:34]: test 1065022-futureproofing: [----------------------- 3016s + export DEBIAN_FRONTEND=noninteractive 3016s + n=0 3016s + failed=0 3016s + binary_package=libglib2.0-0t64 3016s + future_binary_package=libglib2.0-0xyz 3016s + pwd 3016s + srcdir=/tmp/autopkgtest.v8E5kR/build.0gq/src 3016s + mktemp -d 3016s + tmpdir=/tmp/tmp.x71Rp0C2Cl 3016s + cd /tmp/tmp.x71Rp0C2Cl 3016s + [ -e /tmp/autopkgtest.v8E5kR/build.0gq/src/debian/tests/manual/local-1065022.sources ] 3016s + dpkg-query -W dpkg-repack 3016s dpkg-repack 1.54 3016s + dpkg-repack --generate libglib2.0-0t64 3016s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file 3016s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.3OFVZx for libglib2.0-0t64 3016s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.3OFVZx ." 3016s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.3OFVZx/DEBIAN/control 3016s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.3OFVZx/DEBIAN/control 3016s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.3OFVZx/DEBIAN/control 3016s + 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.3OFVZx/DEBIAN/control 3016s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.3OFVZx libglib2.0-0xyz.deb 3016s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'. 3018s + apt-get -y install ./libglib2.0-0xyz.deb 3018s Reading package lists... 3018s Building dependency tree... 3018s Reading state information... 3018s Solving dependencies... 3018s The following packages were automatically installed and are no longer required: 3018s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 3018s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 3018s libgpgme11t64 libicu76 libinih1 libjq1 libjson-glib-1.0-common libnspr4 3018s libnss3 libnvme1t64 libonig5 libprotobuf-c1 libstemmer0d python3-apport 3018s python3-certifi python3-chardet python3-configobj python3-debconf 3018s python3-distro-info python3-markdown-it python3-mdurl python3-openssl 3018s python3-problem-report python3-pygments python3-requests python3-rich 3018s python3-systemd python3-urllib3 sgml-base xml-core 3018s Use 'apt autoremove' to remove them. 3018s The following additional packages will be installed: 3018s xdg-user-dirs 3018s Suggested packages: 3018s low-memory-monitor 3018s Recommended packages: 3018s shared-mime-info 3019s The following packages will be REMOVED: 3019s apport apport-core-dump-handler appstream bolt cloud-init cloud-init-base 3019s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0 3019s gir1.2-glib-2.0 gir1.2-packagekitglib-1.0 gsettings-desktop-schemas 3019s libappstream5 libblockdev-crypto3 libblockdev-fs3 libblockdev-loop3 3019s libblockdev-mdraid3 libblockdev-nvme3 libblockdev-part3 libblockdev-swap3 3019s libblockdev-utils3 libblockdev3 libdconf1 libfwupd3 libgirepository-1.0-1 3019s libglib2.0-0t64 libglib2.0-bin libgstreamer1.0-0 libgudev-1.0-0 libjcat1 3019s libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0 libnetplan1 3019s libpackagekit-glib2-18 libpolkit-agent-1-0 libpolkit-gobject-1-0 3019s libqmi-glib5 libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2 3019s netplan-generator netplan.io networkd-dispatcher packagekit packagekit-tools 3019s polkitd python3-dbus python3-gi python3-netplan python3-software-properties 3019s shared-mime-info software-properties-common ubuntu-minimal udisks2 3019s unattended-upgrades xfsprogs 3019s The following NEW packages will be installed: 3019s libglib2.0-0xyz xdg-user-dirs 3019s 0 upgraded, 2 newly installed, 61 to remove and 0 not upgraded. 3019s Need to get 17.4 kB/1470 kB of archives. 3019s After this operation, 40.1 MB disk space will be freed. 3019s Get:1 /tmp/tmp.x71Rp0C2Cl/libglib2.0-0xyz.deb libglib2.0-0xyz armhf 2.83.4-1 [1453 kB] 3019s Get:2 http://ftpmaster.internal/ubuntu plucky/main armhf xdg-user-dirs armhf 0.18-2 [17.4 kB] 3019s Fetched 17.4 kB in 0s (76.9 kB/s) 3019s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 60376 files and directories currently installed.) 3019s Removing appstream (1.0.4-1) ... 3019s Removing bolt (0.9.8-1) ... 3020s Removing cloud-init (25.1-0ubuntu1) ... 3020s Removing cloud-init-base (25.1-0ubuntu1) ... 3020s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 3020s for fn in glob1(directory, "%s.*" % fname): 3020s Removing gsettings-desktop-schemas (48~beta-1ubuntu1) ... 3020s Removing dconf-gsettings-backend:armhf (0.40.0-5) ... 3020s Removing dconf-service (0.40.0-5) ... 3020s Removing fwupd (2.0.6-3) ... 3021s Removing software-properties-common (0.109) ... 3021s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 3021s for fn in glob1(directory, "%s.*" % fname): 3021s Removing python3-software-properties (0.109) ... 3021s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 3021s for fn in glob1(directory, "%s.*" % fname): 3021s Removing networkd-dispatcher (2.2.4-1.1) ... 3021s Removing gir1.2-packagekitglib-1.0 (1.3.0-3build1) ... 3021s Removing packagekit-tools (1.3.0-3build1) ... 3021s Removing packagekit (1.3.0-3build1) ... 3022s Removing libappstream5:armhf (1.0.4-1) ... 3022s Removing udisks2 (2.10.1-11ubuntu2) ... 3022s Removing libblockdev-crypto3:armhf (3.3.0-1) ... 3022s Removing libblockdev-fs3:armhf (3.3.0-1) ... 3022s Removing libblockdev-loop3:armhf (3.3.0-1) ... 3022s Removing libblockdev-mdraid3:armhf (3.3.0-1) ... 3022s Removing libblockdev-nvme3:armhf (3.3.0-1) ... 3022s Removing libblockdev-part3:armhf (3.3.0-1) ... 3023s Removing libblockdev-swap3:armhf (3.3.0-1) ... 3023s Removing libblockdev3:armhf (3.3.0-1) ... 3023s Removing libblockdev-utils3:armhf (3.3.0-1) ... 3023s Removing libdconf1:armhf (0.40.0-5) ... 3023s Removing libfwupd3:armhf (2.0.6-3) ... 3023s Removing shared-mime-info (2.4-5) ... 3023s Removing xfsprogs (6.12.0-1ubuntu1) ... 3023s Removing libglib2.0-bin (2.83.4-1) ... 3023s Removing libgstreamer1.0-0:armhf (1.25.50-1) ... 3023s Removing libgudev-1.0-0:armhf (1:238-6) ... 3023s Removing libjcat1:armhf (0.2.0-2build3) ... 3023s Removing libjson-glib-1.0-0:armhf (1.10.6+ds-1) ... 3023s Removing libqmi-proxy (1.35.6-1) ... 3023s Removing libqmi-glib5:armhf (1.35.6-1) ... 3023s Removing libmbim-proxy (1.31.2-0ubuntu4) ... 3023s Removing libmbim-glib4:armhf (1.31.2-0ubuntu4) ... 3023s Removing libmm-glib0:armhf (1.23.4-0ubuntu2) ... 3023s Removing ubuntu-minimal (1.547) ... 3023s Removing netplan.io (1.1.2-2ubuntu1) ... 3023s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed 3023s Removing python3-netplan (1.1.2-2ubuntu1) ... 3023s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 3023s for fn in glob1(directory, "%s.*" % fname): 3023s Removing netplan-generator (1.1.2-2ubuntu1) ... 3023s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed 3023s Removing libnetplan1:armhf (1.1.2-2ubuntu1) ... 3023s Removing libpackagekit-glib2-18:armhf (1.3.0-3build1) ... 3023s Removing polkitd (126-2) ... 3024s Removing libpolkit-agent-1-0:armhf (126-2) ... 3024s Removing libpolkit-gobject-1-0:armhf (126-2) ... 3024s Removing libqrtr-glib0:armhf (1.2.2-1ubuntu4) ... 3024s Removing libudisks2-0:armhf (2.10.1-11ubuntu2) ... 3024s Removing libvolume-key1:armhf (0.3.12-9) ... 3024s Removing libxmlb2:armhf (0.3.21-1) ... 3024s Removing unattended-upgrades (2.12ubuntu4) ... 3024s Removing python3-dbus (1.3.2-5build4) ... 3024s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 3024s for fn in glob1(directory, "%s.*" % fname): 3024s Removing apport (2.31.0+git20250220-0ubuntu1) ... 3025s Removing apport-core-dump-handler (2.31.0+git20250220-0ubuntu1) ... 3025s Removing python3-gi (3.50.0-4) ... 3025s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 3025s for fn in glob1(directory, "%s.*" % fname): 3025s Removing gir1.2-girepository-2.0:armhf (1.82.0-4) ... 3025s Removing gir1.2-glib-2.0:armhf (2.83.4-1) ... 3025s Removing libgirepository-1.0-1:armhf (1.82.0-4) ... 3025s Removing libglib2.0-0t64:armhf (2.83.4-1) ... 3025s Selecting previously unselected package libglib2.0-0xyz:armhf. 3025s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 58999 files and directories currently installed.) 3025s Preparing to unpack .../libglib2.0-0xyz.deb ... 3025s Unpacking libglib2.0-0xyz:armhf (2.83.4-1) ... 3025s Selecting previously unselected package xdg-user-dirs. 3025s Preparing to unpack .../xdg-user-dirs_0.18-2_armhf.deb ... 3025s Unpacking xdg-user-dirs (0.18-2) ... 3026s Setting up xdg-user-dirs (0.18-2) ... 3026s Setting up libglib2.0-0xyz:armhf (2.83.4-1) ... 3026s No schema files found: removed existing output file. 3026s Processing triggers for dbus (1.16.0-1ubuntu1) ... 3026s Processing triggers for sgml-base (1.31) ... 3026s Processing triggers for initramfs-tools (0.145ubuntu2) ... 3026s Processing triggers for libc-bin (2.40-4ubuntu1) ... 3026s Processing triggers for man-db (2.13.0-1) ... 3027s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3027s + n=1 3027s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3027s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 3027s + failed=1 3027s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 3027s + n=2 3027s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 3027s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 3027s + failed=1 3027s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 3027s + n=3 3027s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 3027s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3027s + failed=1 3027s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 3027s + n=4 3027s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 3027s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3027s + failed=1 3027s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 3027s + n=5 3027s + test -e /usr/lib/*/gio/modules/giomodule.cache 3027s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 3027s + failed=1 3027s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 3027s + n=6 3027s + test -s /usr/lib/*/gio/modules/giomodule.cache 3027s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 3027s + failed=1 3027s + apt-get -y purge libglib2.0-0t64 3027s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 3027s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 3027s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3027s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3027s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 3027s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 3027s Reading package lists... 3027s Building dependency tree... 3027s Reading state information... 3028s The following packages were automatically installed and are no longer required: 3028s apport-symptoms jq libatasmart4 libbytesize-common libbytesize1 3028s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 3028s libgpgme11t64 libicu76 libinih1 libjq1 libjson-glib-1.0-common libnspr4 3028s libnss3 libnvme1t64 libonig5 libprotobuf-c1 libstemmer0d python3-apport 3028s python3-certifi python3-chardet python3-configobj python3-debconf 3028s python3-distro-info python3-markdown-it python3-mdurl python3-openssl 3028s python3-problem-report python3-pygments python3-requests python3-rich 3028s python3-systemd python3-urllib3 sgml-base xml-core 3028s Use 'apt autoremove' to remove them. 3028s The following packages will be REMOVED: 3028s libglib2.0-0t64* 3028s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 3028s After this operation, 0 B of additional disk space will be used. 3028s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59034 files and directories currently installed.) 3028s Purging configuration files for libglib2.0-0t64:armhf (2.83.4-1) ... 3028s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3028s + n=7 3028s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3028s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 3028s + failed=1 3028s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled 3028s + n=8 3028s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled 3028s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 3028s + failed=1 3028s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so 3028s + n=9 3028s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 3028s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3028s + failed=1 3028s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so 3028s + n=10 3028s + test -s /usr/lib/*/gio/modules/libdconfsettings.so 3028s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3028s + failed=1 3028s + assert test -e /usr/lib/*/gio/modules/giomodule.cache 3028s + n=11 3028s + test -e /usr/lib/*/gio/modules/giomodule.cache 3028s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 3028s + failed=1 3028s + assert test -s /usr/lib/*/gio/modules/giomodule.cache 3028s + n=12 3028s + test -s /usr/lib/*/gio/modules/giomodule.cache 3028s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 3028s + failed=1 3028s + apt-get -y purge libglib2.0-0xyz 3028s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1 3028s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1 3028s not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3028s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1 3028s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1 3028s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1 3028s Reading package lists... 3029s Building dependency tree... 3029s Reading state information... 3029s The following packages were automatically installed and are no longer required: 3029s apport-symptoms jq libatasmart4 libatomic1 libbytesize-common libbytesize1 3029s libcurl3t64-gnutls libdrm-amdgpu1 libduktape207 libflashrom1 libftdi1-2 3029s libglib2.0-data libgpgme11t64 libicu76 libinih1 libjq1 3029s libjson-glib-1.0-common libnspr4 libnss3 libnvme1t64 libonig5 libprotobuf-c1 3029s libstemmer0d python3-apport python3-certifi python3-chardet 3029s python3-configobj python3-debconf python3-distro-info python3-markdown-it 3029s python3-mdurl python3-openssl python3-problem-report python3-pygments 3029s python3-requests python3-rich python3-systemd python3-urllib3 sgml-base 3029s xdg-user-dirs xml-core 3029s Use 'apt autoremove' to remove them. 3029s The following packages will be REMOVED: 3029s libglib2.0-0xyz* 3030s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. 3030s After this operation, 3453 kB disk space will be freed. 3030s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59034 files and directories currently installed.) 3030s Removing libglib2.0-0xyz:armhf (2.83.4-1) ... 3030s Processing triggers for libc-bin (2.40-4ubuntu1) ... 3030s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 59009 files and directories currently installed.) 3030s Purging configuration files for libglib2.0-0xyz:armhf (2.83.4-1) ... 3030s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3030s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 3030s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3030s + n=13 3030s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3030s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml 3030s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled 3030s + n=14 3030s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled 3030s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled 3030s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 3030s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 3030s 1..16 3030s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so 3030s + n=15 3030s + test -e /usr/lib/*/gio/modules/libdconfsettings.so 3030s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so 3030s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache 3030s + n=16 3030s + test -e /usr/lib/*/gio/modules/giomodule.cache 3030s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache 3030s + echo 1..16 3030s + exit 1 3031s autopkgtest [05:41:51]: test 1065022-futureproofing: -----------------------] 3035s 1065022-futureproofing FLAKY non-zero exit status 1 3035s autopkgtest [05:41:55]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - - 3038s autopkgtest [05:41:58]: @@@@@@@@@@@@@@@@@@@@ summary 3038s build PASS (superficial) 3038s build-static PASS (superficial) 3038s girepository-tools PASS (superficial) 3038s libgio-2.0-dev-bin PASS (superficial) 3038s libglib2.0-dev PASS (superficial) 3038s installed-tests PASS 3038s closure-refcount PASS 3038s debugcontroller PASS 3038s gdbus-server-auth PASS 3038s gdbus-threading PASS 3038s gmenumodel PASS 3038s mainloop PASS 3038s memory-monitor-dbus PASS 3038s socket PASS 3038s testfilemonitor PASS 3038s thread-pool-slow PASS 3038s threadtests PASS 3038s timeout PASS 3038s timer PASS 3038s 1065022-futureproofing FLAKY non-zero exit status 1